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