java.lang.Object | ||
↳ | org.hibernate.util.ExternalSessionFactoryConfig | |
↳ | org.hibernate.jmx.HibernateService |
Implementation of HibernateServiceMBean. Creates a
SessionFactory and binds it to the specified JNDI name.
All mapping documents are loaded as resources by the MBean.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Export the CREATE DDL to the database
| |||||||||||
Export the DROP DDL to the database
| |||||||||||
Is automatic Session closing enabled?
| |||||||||||
The JNDI name of the datasource to use in this SessionFactory
| |||||||||||
Is automatic Session flusing enabled?
| |||||||||||
The JNDI name to bind to the SessionFactory
| |||||||||||
Log into the database with this password
| |||||||||||
Get a property
| |||||||||||
Display the properties
| |||||||||||
Get the strategy for obtaining the JTA TransactionManager
| |||||||||||
The fully qualified class name of the Hibernate TransactionFactory implementation
| |||||||||||
Log into the database with this name
| |||||||||||
The JNDI name of the JTA UserTransaction object (used only be JTATransaction).
| |||||||||||
Enable automatic closing of Session when JTA transaction ends.
| |||||||||||
Set the JNDI name of the datasource to use in this SessionFactory
| |||||||||||
Enable automatic flushing of the Session when JTA transaction ends.
| |||||||||||
The JNDI name to bind to the SessionFactory
| |||||||||||
Log into the database with this password
| |||||||||||
Set a property
| |||||||||||
Set the strategy for obtaining the JTA TransactionManager
| |||||||||||
Set the fully qualified class name of the Hibernate TransactionFactory implementation
| |||||||||||
Log into the database with this name
| |||||||||||
Set the JNDI name of the JTA UserTransaction object (used only by JTATransaction).
| |||||||||||
Create the SessionFactory and bind to the jndi name on startup
| |||||||||||
Unbind the SessionFactory or stub from JNDI
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.hibernate.util.ExternalSessionFactoryConfig
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.hibernate.jmx.HibernateServiceMBean
|
Export the CREATE DDL to the database
Export the DROP DDL to the database
The JNDI name of the datasource to use in this SessionFactory
Get a property
property | the property name |
---|
Get the strategy for obtaining the JTA TransactionManager
The fully qualified class name of the Hibernate TransactionFactory implementation
The JNDI name of the JTA UserTransaction object (used only be JTATransaction).
Enable automatic closing of Session when JTA transaction ends.
Set the JNDI name of the datasource to use in this SessionFactory
Enable automatic flushing of the Session when JTA transaction ends.
Set a property
property | the property name |
---|---|
value | the property value |
Set the strategy for obtaining the JTA TransactionManager
lkpStrategy | the class name |
---|
Set the fully qualified class name of the Hibernate TransactionFactory implementation
txnStrategy | the class name |
---|
Set the JNDI name of the JTA UserTransaction object (used only by JTATransaction).
utName | the JNDI name |
---|
Create the SessionFactory and bind to the jndi name on startup
HibernateException |
---|
Unbind the SessionFactory or stub from JNDI