Deprecated
as a consequence of AvailableSettings being deprecated. See corresponding docs for further information.
| property | meaning |
| hibernate.dialect | classname of org.hibernate.dialect.Dialect subclass |
| hibernate.connection.provider_class | classname of ConnectionProvider subclass (if not specified heuristics are used) |
| hibernate.connection.username | database username |
| hibernate.connection.password | database password |
| hibernate.connection.url | JDBC URL (when using java.sql.DriverManager) |
| hibernate.connection.driver_class | classname of JDBC driver |
| hibernate.connection.isolation | JDBC transaction isolation level (only when using java.sql.DriverManager) | hibernate.connection.pool_size | the maximum size of the connection pool (only when using java.sql.DriverManager) |
| hibernate.connection.datasource | datasource JNDI name (when using javax.sql.Datasource) |
| hibernate.jndi.url | JNDI InitialContext URL |
| hibernate.jndi.class | JNDI InitialContext classname |
| hibernate.max_fetch_depth | maximum depth of outer join fetching |
| hibernate.jdbc.batch_size | enable use of JDBC2 batch API for drivers which support it |
| hibernate.jdbc.fetch_size | set the JDBC fetch size |
| hibernate.jdbc.use_scrollable_resultset | enable use of JDBC2 scrollable resultsets (you only need to specify this property when using user supplied connections) |
| hibernate.jdbc.use_getGeneratedKeys | enable use of JDBC3 PreparedStatement.getGeneratedKeys() to retrieve natively generated keys after insert. Requires JDBC3+ driver and JRE1.4+ |
| hibernate.hbm2ddl.auto | enable auto DDL export |
| hibernate.default_schema | use given schema name for unqualified tables (always optional) |
| hibernate.default_catalog | use given catalog name for unqualified tables (always optional) |
| hibernate.session_factory_name | If set, the factory attempts to bind this name to itself in the JNDI context. This name is also used to support cross JVM Session (de)serialization. |
| hibernate.transaction.jta.platform | classname of org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform implementor |
| hibernate.transaction.factory_class | the factory to use for instantiating Transactions. (Defaults to JdbcTransactionFactory.) |
| hibernate.query.substitutions | query language token substitutions |
org.hibernate.SessionFactory
| Modifier and Type | Field and Description |
|---|---|
| private static final BytecodeProvider | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| private static final boolean | |
| private static final boolean | |
| private static final boolean | |
| private static final Properties | |
| private static final CoreMessageLogger |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BytecodeProvider | |
| private static BytecodeProvider | |
| public static BytecodeProvider | getBytecodeProvider()
Deprecated
Deprecated to indicate that the method will be moved to
org. /
org. - probably in 6.0.
|
| public static Properties | Returns: PropertiesReturn System properties, extended by any properties specified in hibernate.properties. |
| public static String | isolationLevelToString(int isolation)
Deprecated
Use
ConnectionProviderInitiator#toIsolationNiceName instead
|
| public static boolean | Returns: false
Deprecated
removed as unnecessary
This will be removed soon; currently just returns false as no known JVM exhibits this bug
and is also able to run this version of Hibernate ORM.
|
| public static boolean | Returns: True if global option org.hibernate.cfg.AvailableSettings#ENFORCE_LEGACY_PROXY_CLASSNAMES was enabled
Deprecated
This option will be removed soon and should not be relied on.
|
| public static boolean | Returns: True if reflection optimization should be used; false otherwise.
Deprecated
Deprecated to indicate that the method will be moved to
Should we use reflection optimization?
org. /
org. - probably in 6.0.
|
| public static boolean | Returns: True if streams should be used for binary data handling; false otherwise.
Deprecated
Deprecated to indicate that the method will be moved to
Should we use streams to bind binary types to JDBC IN parameters?
org. /
org. - probably in 6.0.
|
| public static void | verifyProperties(Map<?, ?>
The specified properties. configurationValues)
Deprecated
without replacement. Such verification is best done ad hoc, case by case.
No longer effective.
|
| BYTECODE_PROVIDER_INSTANCE | back to summary |
|---|---|
| private static final BytecodeProvider BYTECODE_PROVIDER_INSTANCE | |
| BYTECODE_PROVIDER_NAME_BYTEBUDDY | back to summary |
|---|---|
| public static final String BYTECODE_PROVIDER_NAME_BYTEBUDDY | |
| BYTECODE_PROVIDER_NAME_DEFAULT | back to summary |
|---|---|
| public static final String BYTECODE_PROVIDER_NAME_DEFAULT | |
| BYTECODE_PROVIDER_NAME_JAVASSIST | back to summary |
|---|---|
| public static final String BYTECODE_PROVIDER_NAME_JAVASSIST | |
| BYTECODE_PROVIDER_NAME_NONE | back to summary |
|---|---|
| public static final String BYTECODE_PROVIDER_NAME_NONE | |
| ENABLE_BINARY_STREAMS | back to summary |
|---|---|
| private static final boolean ENABLE_BINARY_STREAMS | |
| ENABLE_LEGACY_PROXY_CLASSNAMES | back to summary |
|---|---|
| private static final boolean ENABLE_LEGACY_PROXY_CLASSNAMES | |
| ENABLE_REFLECTION_OPTIMIZER | back to summary |
|---|---|
| private static final boolean ENABLE_REFLECTION_OPTIMIZER | |
| GLOBAL_PROPERTIES | back to summary |
|---|---|
| private static final Properties GLOBAL_PROPERTIES | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| Environment | back to summary |
|---|---|
| private Environment() Disallow instantiation | |
| buildBytecodeProvider | back to summary |
|---|---|
| public static BytecodeProvider buildBytecodeProvider(Properties properties) | |
| buildBytecodeProvider | back to summary |
|---|---|
| private static BytecodeProvider buildBytecodeProvider(String providerName) | |
| getBytecodeProvider | back to summary |
|---|---|
| public static BytecodeProvider getBytecodeProvider()
Deprecated Deprecated to indicate that the method will be moved to
| |
| getProperties | back to summary |
|---|---|
| public static Properties getProperties() Return System properties, extended by any properties specified in hibernate.properties.
| |
| isolationLevelToString | back to summary |
|---|---|
| public static String isolationLevelToString(int isolation)
Deprecated Use
| |
| jvmHasTimestampBug | back to summary |
|---|---|
| public static boolean jvmHasTimestampBug()
Deprecated removed as unnecessary This will be removed soon; currently just returns false as no known JVM exhibits this bug and is also able to run this version of Hibernate ORM.
| |
| useLegacyProxyClassnames | back to summary |
|---|---|
| public static boolean useLegacyProxyClassnames()
Deprecated This option will be removed soon and should not be relied on.
| |
| useReflectionOptimizer | back to summary |
|---|---|
| public static boolean useReflectionOptimizer()
Deprecated Deprecated to indicate that the method will be moved to
Should we use reflection optimization?
| |
| useStreamsForBinary | back to summary |
|---|---|
| public static boolean useStreamsForBinary()
Deprecated Deprecated to indicate that the method will be moved to
Should we use streams to bind binary types to JDBC IN parameters?
| |
| verifyProperties | back to summary |
|---|---|
| public static void verifyProperties(Map<?, ?> configurationValues)
Deprecated without replacement. Such verification is best done ad hoc, case by case. No longer effective.
| |