Hibernate配置属性 (hibernate.max_fetch_depth)
Hibernate配置属性 (hibernate.max_fetch_depth)
hibernate.dialectHibernate方言(Dialect)的类名 - 可以让Hibernate使用某些特定的数据库平台的特性取值.?full.classname.of.Dialect
hibernate.default_schema在生成的SQL中,scheml/tablespace的全限定名取值.?SCHEMA_NAME
hibernate.session_factory_name把SessionFactory绑定到JNDI中去.取值.?jndi/composite/name
hibernate.use_outer_join允许使用外连接抓取.取值.?true?|?false
hibernate.max_fetch_depth设置外连接抓取树的最大深度取值.?建议设置为0到3之间
hibernate.jdbc.fetch_size一个非零值,用来决定JDBC的获取量大小。(会调用calls?Statement.setFetchSize()).hibernate.jdbc.batch_size一个非零值,会开启Hibernate使用JDBC2的批量更新功能取值.?建议值在?5?和?30之间。
hibernate.jdbc.use_scrollable_resultset允许Hibernate使用JDBC2提供的可滚动结果集。只有在使用用户自行提供的连接时,这个参数才是必需的。否则Hibernate会使用连接的元数据(metadata)。取值.?true?|?false
hibernate.jdbc.use_streams_for_binary在从JDBC读写binary(二进制)或者serializable(可序列化)类型时,是否使用stream(流). 这是一个系统级别的属性。取值.?true?|?false
hibernate.cglib.use_reflection_optimizer是否使用CGLIB来代替运行时反射操作。(系统级别属性,默认为在可能时都使用CGLIB).在调试的时候有时候使用反射会有用。取值.?true?|?false
hibernate.jndi.<propertyName>把propertyName这个属性传递到JNDI?InitialContextFactory去?(可选)hibernate.connection.isolation事务隔离级别?(可选)取值.?1, 2, 4, 8
hibernate.connection.<propertyName>把?propertyName这个JDBC 属性传递到DriverManager.getConnection()去.hibernate.connection.provider_class指定一个自定义的ConnectionProvider类名取值.?classname.of.ConnectionProvider
hibernate.cache.provider_class指定一个自定义的CacheProvider缓存提供者的类名取值.?classname.of.CacheProvider
hibernate.transaction.factory_class指定一个自定义的TransactionFactory类名,Hibernate Transaction API将会使用.取值.?classname.of.TransactionFactory
jta.UserTransactionJTATransactionFactory?用来获取JTA?UserTransaction的JNDI名.取值.?jndi/composite/name
hibernate.transaction.manager_lookup_classTransactionManagerLookup的类名 - 当在JTA环境中,JVM级别的缓存被打开的时候使用.取值.?classname.of.TransactionManagerLookup
hibernate.query.substitutions把Hibernate查询中的一些短语映射为SQL短语。(比如说短语可能是函数或者字符) .取值.?hqlLiteral=SQL_LITERAL, hqlFunction=SQLFUNC
hibernate.show_sql把所有的SQL语句都输出到控制台(可以作为log功能的一个替代).取值.?true?|?false
hibernate.hbm2ddl.auto自动输出schema创建DDL语句.取值.?update?|?create?|?create-drop