package org.hibernate.cfg;
Names the JDBC driver class
public static final String DRIVER ="hibernate.connection.driver_class";
Names the JDBC connection url.
public static final String URL ="hibernate.connection.url";
public static final String USER ="hibernate.connection.username";
Names the connection password. See usage discussion on
USER
public static final String PASS ="hibernate.connection.password";
Names the JDBC transaction isolation level
Names the JDBC autocommit mode
Maximum number of inactive connections for the built-in Hibernate connection pool.
Names a prefix used to define arbitrary JDBC connection properties. These properties are passed along to
the JDBC provider when creating a connection.
Names the JNDI provider/connection url
A default database schema (owner) name to use for unqualified tablenames
A default database catalog name to use for unqualified tablenames
Enable logging of generated SQL to the console
Enable formatting of SQL logged to the console
Add comments to the generated SQL
Maximum depth of outer join fetching
The default batch size for batch fetching
Use
java.io streams to read / write binary data from / to JDBC
Use JDBC scrollable
ResultSets. This property is only necessary when there is
no
ConnectionProvider, ie. the user is supplying JDBC connections.
Tells the JDBC driver to attempt to retrieve row Id with the JDBC 3.0 PreparedStatement.getGeneratedKeys()
method. In general, performance will be better if this property is set to true and the underlying
JDBC driver supports getGeneratedKeys().
Gives the JDBC driver a hint as to the number of rows that should be fetched from the database
when more rows are needed. If
0, JDBC driver default settings will be used.
Maximum JDBC batch size. A nonzero value enables batch updates.
Should versioned data be included in batching?
An XSLT resource used to generate "custom" XML
Maximum size of C3P0 connection pool
Minimum size of C3P0 connection pool
Maximum idle time for C3P0 connection pool
Maximum size of C3P0 statement cache
Number of connections acquired when pool is exhausted
Idle time before a C3P0 pooled connection is validated
Proxool/Hibernate property prefix
Proxool property to configure the Proxool Provider using an XML (
/path/to/file.xml)
Proxool property to configure the Proxool Provider using a properties file (
/path/to/proxool.properties)
Proxool property to configure the Proxool Provider from an already existing pool (
true /
false)
Proxool property with the Proxool pool alias to use
(Required for
PROXOOL_EXISTING_POOL,
PROXOOL_PROPERTIES, or
PROXOOL_XML)
Enable automatic session close at end of transaction
Enable automatic flush during the JTA
beforeCompletion() callback
Specifies how Hibernate should release JDBC connections.
JNDI name of JTA
UserTransaction object
The
CacheProvider implementation class
The
CacheProvider JNDI namespace, if pre-bound to JNDI.
Enable the query cache (disabled by default)
The
QueryCacheFactory implementation class.
Enable the second-level cache (enabled by default)
Optimize the cache for minimal puts instead of minimal gets
The
CacheProvider region name prefix
Enable use of structured second-level cache entries
Enable statistics collection
Use bytecode libraries optimized property access
The classname of the HQL query parser factory
A comma-separated list of token substitutions to use when translating a Hibernate
query to SQL
Should named queries be checked during startup (the default is enabled).
Mainly intended for test environments.
Auto export/update schema using hbm2ddl tool. Valid values are
update,
create,
create-drop and
validate.
Comma-separated names of the optional files containing SQL DML statements executed
during the SessionFactory creation.
File order matters, the statements of a give file are executed before the statements of the
following files.
These statements are only executed if the schema is created ie if
hibernate.hbm2ddl.auto
is set to
create or
create-drop.
The default value is
/import.sql
Enable wrapping of JDBC result sets in order to speed up column name lookups for
broken JDBC drivers
Enable ordering of update statements by primary key value
Enable ordering of insert statements for the purpose of more efficient JDBC batching.
The EntityMode in which set the Session opened from the SessionFactory.
The jacc context id of the deployment
Should all database identifiers be quoted.
Enable nullability checking.
Raises an exception if a property marked as not-null is null.
Default to false if Bean Validation is present in the classpath and Hibernate Annotations is used,
true otherwise.
When using pooled
optimizers, prefer interpreting the
database value as the lower (lo) boundary. The default is to interpret it as the high boundary.
Strategy for multi-tenancy.