Java Reference
In-Depth Information
Table 2-1. Continued
Property Name
Description
hibernate.jdbc.fetch_size
Determines how many rows the JDBC con-
nection will try to buffer with every fetch. This
is a balance between memory and minimiz-
ing database network traffic.
hibernate.jdbc.use_get_generated_keys
Determines Hibernate's behavior with respect
to generated keys. If this property is set to
true, and if the database driver supports the
JDBC 3.0 generated keys API, Hibernate will
retrieve generated keys from the statement
after it executes an SQL query.
hibernate.jdbc.use_scrollable_resultset
Determines whether Hibernate will use JDBC
scrollable result sets for a user-provided JDBC
connection.
hibernate.jdbc.use_streams_for_binary
Determines whether binary data is read or
written over JDBC as streams.
hibernate.jndi.class
The InitialContext class for JNDI.
hibernate.jndi.<JNDIpropertyname>
Passes any JNDI property you like to the JNDI
InitialContext .
hibernate.jndi.url
Provides the URL for JNDI.
hibernate.max_fetch_depth
Determines how deep Hibernate will go to
fetch the results of an outer join. Used by
Hibernate's outer join loader.
hibernate.order_updates
Orders SQL update statements by each pri-
mary key.
hibernate.proxool
Prefix for the Proxool database connection
pool.
hibernate.proxool.existing_pool
Configures Proxool with an existing pool.
hibernate.proxool.pool_alias
The alias to use for any of the configured
Proxool pools previously mentioned.
hibernate.proxool.properties
Path to a Proxool properties file.
hibernate.proxool.xml
Path to a Proxool XML configuration file.
hibernate.query.factory_class
Specifies an HQL query factory class name.
hibernate.query.substitutions
Any possible SQL token substitutions that
Hibernate should use.
hibernate.session_factory_name
If set, causes the Hibernate session factory to
bind to this JNDI name.
hibernate.show_sql
Logs the generated SQL commands.
hibernate.sql_exception_converter
Specifies which SQLExceptionConverter to use
to convert SQLExceptions into
JDBCExceptions .
hibernate.transaction.auto_close_session
Automatically closes the session after a trans-
action.
hibernate.transaction.factory_class
Specifies a class that implements the
org.hibernate.transaction.
TransactionFactory interface.
Search WWH ::




Custom Search