@Deprecated public class HibernateService extends ExternalSessionFactoryConfig implements HibernateServiceMBean
HibernateServiceMBean,
SessionFactory| Constructor and Description |
|---|
HibernateService()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
getDatasource()
Deprecated.
The JNDI name of the datasource to use in this SessionFactory
|
protected Map |
getExtraProperties()
Deprecated.
|
String |
getFlushBeforeCompletionEnabled()
Deprecated.
Is automatic Session flusing 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 |
getName()
Deprecated.
|
String |
getPassword()
Deprecated.
Log into the database with this password
|
Properties |
getProperties()
Deprecated.
|
String |
getProperty(String property)
Deprecated.
Get a property
|
String |
getPropertyList()
Deprecated.
Display the properties
|
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 |
setDatasource(String datasource)
Deprecated.
Set the JNDI name of the datasource to use in this SessionFactory
|
void |
setFlushBeforeCompletionEnabled(String enabled)
Deprecated.
Enable automatic flushing of the Session when JTA transaction ends.
|
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 |
setPassword(String password)
Deprecated.
Log into the database with this password
|
void |
setProperty(String property,
String value)
Deprecated.
Set a property
|
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
|
addAdditionalProperty, addAll, addMapResource, buildConfiguration, buildProperties, getBatchVersionedDataEnabled, getCacheProviderConfig, getCacheRegionFactory, getCacheRegionPrefix, getCommentsEnabled, getDefaultCatalog, getDefaultSchema, getDialect, getExcludedPropertyNames, getGetGeneratedKeysEnabled, getJdbcBatchSize, getJdbcFetchSize, getJdbcScrollableResultSetEnabled, getMapResources, getMaximumFetchDepth, getMinimalPutsEnabled, getQueryCacheEnabled, getQuerySubstitutions, getReflectionOptimizationEnabled, getSecondLevelCacheEnabled, getShowSqlEnabled, getStreamsForBinaryEnabled, setBatchVersionedDataEnabled, setCacheProviderConfig, setCacheRegionFactory, setCacheRegionPrefix, setCommentsEnabled, setDefaultCatalog, setDefaultSchema, setDialect, setGetGeneratedKeysEnabled, setJdbcBatchSize, setJdbcFetchSize, setJdbcScrollableResultSetEnabled, setMapResources, setMaximumFetchDepth, setMinimalPutsEnabled, setQueryCacheEnabled, setQuerySubstitutions, setReflectionOptimizationEnabled, setSecondLevelCacheEnabled, setShowSqlEnabled, setStreamsForBinaryEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMapResource, getBatchVersionedDataEnabled, getCacheProviderConfig, getCacheRegionFactory, getCacheRegionPrefix, getCommentsEnabled, getDefaultCatalog, getDefaultSchema, getDialect, getGetGeneratedKeysEnabled, getJdbcBatchSize, getJdbcFetchSize, getJdbcScrollableResultSetEnabled, getMapResources, getMaximumFetchDepth, getMinimalPutsEnabled, getQueryCacheEnabled, getQuerySubstitutions, getSecondLevelCacheEnabled, getShowSqlEnabled, setBatchVersionedDataEnabled, setCacheProviderConfig, setCacheRegionFactory, setCacheRegionPrefix, setCommentsEnabled, setDefaultCatalog, setDefaultSchema, setDialect, setGetGeneratedKeysEnabled, setJdbcBatchSize, setJdbcFetchSize, setJdbcScrollableResultSetEnabled, setMapResources, setMaximumFetchDepth, setMinimalPutsEnabled, setQueryCacheEnabled, setQuerySubstitutions, setSecondLevelCacheEnabled, setShowSqlEnabledpublic void start()
throws HibernateException
HibernateServiceMBeanstart in interface HibernateServiceMBeanHibernateExceptionpublic void stop()
HibernateServiceMBeanstop in interface HibernateServiceMBeanprotected Map getExtraProperties()
getExtraProperties in class ExternalSessionFactoryConfigpublic String getTransactionStrategy()
HibernateServiceMBeanTransactionFactory
implementation to usegetTransactionStrategy in interface HibernateServiceMBeanpublic void setTransactionStrategy(String txnStrategy)
HibernateServiceMBeanTransactionFactory
implementation to use.setTransactionStrategy in interface HibernateServiceMBeantxnStrategy - the class namepublic String getUserTransactionName()
HibernateServiceMBeangetUserTransactionName in interface HibernateServiceMBeanJtaTransactionpublic void setUserTransactionName(String utName)
HibernateServiceMBeansetUserTransactionName in interface HibernateServiceMBeanutName - the JNDI nameJtaTransactionpublic String getJtaPlatformName()
HibernateServiceMBeanJtaPlatform implementation to use.getJtaPlatformName in interface HibernateServiceMBeanJtaPlatform implementation to use.public void setJtaPlatformName(String name)
HibernateServiceMBeanJtaPlatform implementation to use.setJtaPlatformName in interface HibernateServiceMBeanname - The implementation class name.public String getPropertyList()
HibernateServiceMBeangetPropertyList in interface HibernateServiceMBeanpublic String getProperty(String property)
HibernateServiceMBeangetProperty in interface HibernateServiceMBeanproperty - the property namepublic void setProperty(String property, String value)
HibernateServiceMBeansetProperty in interface HibernateServiceMBeanproperty - the property namevalue - the property valuepublic void dropSchema()
HibernateServiceMBeandropSchema in interface HibernateServiceMBeanpublic void createSchema()
HibernateServiceMBeancreateSchema in interface HibernateServiceMBeanpublic String getName()
public String getDatasource()
HibernateServiceMBeangetDatasource in interface HibernateServiceMBeanpublic void setDatasource(String datasource)
HibernateServiceMBeansetDatasource in interface HibernateServiceMBeanpublic String getJndiName()
HibernateServiceMBeangetJndiName in interface HibernateServiceMBeanpublic void setJndiName(String jndiName)
HibernateServiceMBeansetJndiName in interface HibernateServiceMBeanpublic String getUserName()
HibernateServiceMBeangetUserName in interface HibernateServiceMBeanpublic void setUserName(String userName)
HibernateServiceMBeansetUserName in interface HibernateServiceMBeanpublic String getPassword()
HibernateServiceMBeangetPassword in interface HibernateServiceMBeanpublic void setPassword(String password)
HibernateServiceMBeansetPassword in interface HibernateServiceMBeanpublic void setFlushBeforeCompletionEnabled(String enabled)
HibernateServiceMBeansetFlushBeforeCompletionEnabled in interface HibernateServiceMBeanpublic String getFlushBeforeCompletionEnabled()
HibernateServiceMBeangetFlushBeforeCompletionEnabled in interface HibernateServiceMBeanpublic void setAutoCloseSessionEnabled(String enabled)
HibernateServiceMBeansetAutoCloseSessionEnabled in interface HibernateServiceMBeanpublic String getAutoCloseSessionEnabled()
HibernateServiceMBeangetAutoCloseSessionEnabled in interface HibernateServiceMBeanpublic Properties getProperties()
Copyright © 2018 JBoss by Red Hat. All rights reserved.