@Deprecated public interface HibernateServiceMBean
HibernateService
Modifier and Type | Method and Description |
---|---|
void |
addMapResource(String mapResource)
Deprecated.
Add a mapping file
|
void |
createSchema()
Deprecated.
Export the CREATE DDL to the database
|
void |
dropSchema()
Deprecated.
Export the DROP DDL to the database
|
String |
getAutoCloseSessionEnabled()
Deprecated.
Is automatic Session closing enabled?
|
String |
getBatchVersionedDataEnabled()
Deprecated.
Is JDBC batch update for versioned entities enabled?
|
String |
getCacheProviderConfig()
Deprecated.
For cache providers which support this setting, get the
provider's specific configuration resource.
|
String |
getCacheRegionFactory()
Deprecated.
Get the second-level cache provider class name
|
String |
getCacheRegionPrefix()
Deprecated.
Get the cache region prefix
|
String |
getCommentsEnabled()
Deprecated.
Are SQL comments enabled?
|
String |
getDatasource()
Deprecated.
The JNDI name of the datasource to use in this SessionFactory
|
String |
getDefaultCatalog()
Deprecated.
Get the default catalog
|
String |
getDefaultSchema()
Deprecated.
Get the default schema
|
String |
getDialect()
Deprecated.
The JNDI name of the dialect class to use in this SessionFactory
|
String |
getFlushBeforeCompletionEnabled()
Deprecated.
Is automatic Session flusing enabled?
|
String |
getGetGeneratedKeysEnabled()
Deprecated.
Is use of JDBC3 getGeneratedKeys() enabled?
|
String |
getJdbcBatchSize()
Deprecated.
Get the maximum JDBC batch size
|
String |
getJdbcFetchSize()
Deprecated.
Get the JDBC fetch size
|
String |
getJdbcScrollableResultSetEnabled()
Deprecated.
Is use of scrollable resultsets enabled?
|
String |
getJndiName()
Deprecated.
The JNDI name to bind to the SessionFactory
|
String |
getJtaPlatformName()
Deprecated.
Get the name of the
JtaPlatform implementation to use. |
String |
getMapResources()
Deprecated.
The Hibernate mapping files (might be overridden by subclasses
that want to specify the mapping files by some other mechanism)
|
String |
getMaximumFetchDepth()
Deprecated.
Get the maximum outer join fetch depth
|
String |
getMinimalPutsEnabled()
Deprecated.
Is the second-level cache optimized for miminal puts?
|
String |
getPassword()
Deprecated.
Log into the database with this password
|
String |
getProperty(String property)
Deprecated.
Get a property
|
String |
getPropertyList()
Deprecated.
Display the properties
|
String |
getQueryCacheEnabled()
Deprecated.
Is the query cache enabled?
|
String |
getQuerySubstitutions()
Deprecated.
Get the query language substitutions
|
String |
getSecondLevelCacheEnabled()
Deprecated.
Is the second-level cache enabled?
|
String |
getShowSqlEnabled()
Deprecated.
Is SQL logging enabled?
|
String |
getTransactionStrategy()
Deprecated.
The fully qualified class name of the Hibernate
TransactionFactory
implementation to use |
String |
getUserName()
Deprecated.
Log into the database with this name
|
String |
getUserTransactionName()
Deprecated.
The JNDI name of the JTA UserTransaction object (used only be JtaTransaction).
|
void |
setAutoCloseSessionEnabled(String enabled)
Deprecated.
Enable automatic closing of Session when JTA transaction ends.
|
void |
setBatchVersionedDataEnabled(String enabled)
Deprecated.
Enable or disable the use of batch updates for
versioned entities
|
void |
setCacheProviderConfig(String cacheProviderConfig)
Deprecated.
For cache providers which support this setting, specify the
provider's specific configuration resource.
|
void |
setCacheRegionFactory(String cacheRegionFactory)
Deprecated.
Set the second-level cache provider class name
|
void |
setCacheRegionPrefix(String prefix)
Deprecated.
Set the cache region prefix
|
void |
setCommentsEnabled(String enabled)
Deprecated.
Enable or disable the inclusion of comments in
generated SQL
|
void |
setDatasource(String datasource)
Deprecated.
Set the JNDI name of the datasource to use in this SessionFactory
|
void |
setDefaultCatalog(String catalog)
Deprecated.
Set the default catalog
|
void |
setDefaultSchema(String schema)
Deprecated.
Set the default schema
|
void |
setDialect(String dialect)
Deprecated.
The name of the dialect class to use in this SessionFactory
|
void |
setFlushBeforeCompletionEnabled(String enabled)
Deprecated.
Enable automatic flushing of the Session when JTA transaction ends.
|
void |
setGetGeneratedKeysEnabled(String enabled)
Deprecated.
Enable or disable the use getGeneratedKeys()
|
void |
setJdbcBatchSize(String batchSize)
Deprecated.
Set the maximum JDBC batch size
|
void |
setJdbcFetchSize(String fetchSize)
Deprecated.
Set the JDBC fetch size
|
void |
setJdbcScrollableResultSetEnabled(String enabled)
Deprecated.
Enable or disable the use of scrollable resultsets
|
void |
setJndiName(String jndiName)
Deprecated.
The JNDI name to bind to the SessionFactory
|
void |
setJtaPlatformName(String name)
Deprecated.
Sets the name of the
JtaPlatform implementation to use. |
void |
setMapResources(String mappingFiles)
Deprecated.
Specify the Hibernate mapping files
|
void |
setMaximumFetchDepth(String fetchDepth)
Deprecated.
Set the maximum outer join fetch depth
|
void |
setMinimalPutsEnabled(String enabled)
Deprecated.
Enable or disable optimization of second-level cache
for minimal puts
|
void |
setPassword(String password)
Deprecated.
Log into the database with this password
|
void |
setProperty(String property,
String value)
Deprecated.
Set a property
|
void |
setQueryCacheEnabled(String enabled)
Deprecated.
Enable or disable the query cache
|
void |
setQuerySubstitutions(String querySubstitutions)
Deprecated.
Set the query language substitutions
|
void |
setSecondLevelCacheEnabled(String enabled)
Deprecated.
Enable or disable the second-level cache
|
void |
setShowSqlEnabled(String showSql)
Deprecated.
Enable logging of SQL to console
|
void |
setTransactionStrategy(String txnStrategy)
Deprecated.
Set the fully qualified class name of the Hibernate
TransactionFactory
implementation to use. |
void |
setUserName(String userName)
Deprecated.
Log into the database with this name
|
void |
setUserTransactionName(String utName)
Deprecated.
Set the JNDI name of the JTA UserTransaction object (used only by JtaTransaction).
|
void |
start()
Deprecated.
Create the SessionFactory and bind to the jndi name on startup
|
void |
stop()
Deprecated.
Unbind the SessionFactory or stub from JNDI
|
String getMapResources()
void setMapResources(String mappingFiles)
mappingFiles
- void addMapResource(String mapResource)
mapResource
- void setProperty(String property, String value)
property
- the property namevalue
- the property valueString getProperty(String property)
property
- the property nameString getPropertyList()
String getDatasource()
void setDatasource(String datasource)
datasource
- String getUserName()
void setUserName(String userName)
userName
- String getPassword()
void setPassword(String password)
password
- String getDialect()
void setDialect(String dialect)
dialect
- fully qualified class name of Dialect subclassDialect
String getJndiName()
void setJndiName(String jndiName)
jndiName
- String getTransactionStrategy()
TransactionFactory
implementation to usevoid setTransactionStrategy(String txnStrategy)
TransactionFactory
implementation to use.txnStrategy
- the class nameString getUserTransactionName()
JtaTransaction
void setUserTransactionName(String utName)
utName
- the JNDI nameJtaTransaction
String getJtaPlatformName()
JtaPlatform
implementation to use.JtaPlatform
implementation to use.void setJtaPlatformName(String name)
JtaPlatform
implementation to use.name
- The implementation class name.String getShowSqlEnabled()
void setShowSqlEnabled(String showSql)
String getMaximumFetchDepth()
void setMaximumFetchDepth(String fetchDepth)
String getJdbcBatchSize()
void setJdbcBatchSize(String batchSize)
String getJdbcFetchSize()
void setJdbcFetchSize(String fetchSize)
String getQuerySubstitutions()
void setQuerySubstitutions(String querySubstitutions)
String getDefaultSchema()
void setDefaultSchema(String schema)
String getDefaultCatalog()
void setDefaultCatalog(String catalog)
String getJdbcScrollableResultSetEnabled()
void setJdbcScrollableResultSetEnabled(String enabled)
String getGetGeneratedKeysEnabled()
void setGetGeneratedKeysEnabled(String enabled)
String getCacheRegionFactory()
void setCacheRegionFactory(String cacheRegionFactory)
String getCacheProviderConfig()
void setCacheProviderConfig(String cacheProviderConfig)
String getQueryCacheEnabled()
void setQueryCacheEnabled(String enabled)
String getSecondLevelCacheEnabled()
void setSecondLevelCacheEnabled(String enabled)
String getCacheRegionPrefix()
void setCacheRegionPrefix(String prefix)
String getMinimalPutsEnabled()
void setMinimalPutsEnabled(String enabled)
String getCommentsEnabled()
void setCommentsEnabled(String enabled)
String getBatchVersionedDataEnabled()
void setBatchVersionedDataEnabled(String enabled)
void setFlushBeforeCompletionEnabled(String enabled)
String getFlushBeforeCompletionEnabled()
void setAutoCloseSessionEnabled(String enabled)
String getAutoCloseSessionEnabled()
void createSchema() throws HibernateException
HibernateException
void dropSchema() throws HibernateException
HibernateException
void start() throws HibernateException
HibernateException
void stop()
Copyright © 2018 JBoss by Red Hat. All rights reserved.