From: <hib...@li...> - 2006-05-28 13:04:42
|
Author: max...@jb... Date: 2006-05-28 09:04:35 -0400 (Sun, 28 May 2006) New Revision: 9949 Modified: trunk/Hibernate3/etc/hibernate.properties trunk/Hibernate3/src/org/hibernate/cfg/Environment.java Log: h2 hibernate.properties missing HHH-227 hibernate.properties and javadoc update Modified: trunk/Hibernate3/etc/hibernate.properties =================================================================== --- trunk/Hibernate3/etc/hibernate.properties 2006-05-28 11:30:18 UTC (rev 9948) +++ trunk/Hibernate3/etc/hibernate.properties 2006-05-28 13:04:35 UTC (rev 9949) @@ -34,6 +34,16 @@ #hibernate.connection.url jdbc:hsqldb:test hibernate.connection.url jdbc:hsqldb:. +## H2 (www.h2database.com) +hibernate.dialect org.hibernate.dialect.H2Dialect +hibernate.connection.driver_class org.h2.Driver +hibernate.connection.username sa +hibernate.connection.password +hibernate.connection.url jdbc:h2:testdb/h2test +#hibernate.connection.url jdbc:h2:mem:imdb1 +#hibernate.connection.url jdbc:h2:tcp://dbserv:8084/sample; +#hibernate.connection.url jdbc:h2:ssl://secureserv:8085/sample; +#hibernate.connection.url jdbc:h2:ssl://secureserv/testdb;cipher=AES ## MySQL @@ -54,6 +64,7 @@ #hibernate.connection.username ora #hibernate.connection.password ora #hibernate.connection.url jdbc:oracle:thin:@localhost:1521:orcl +#hibernate.connection.url jdbc:oracle:thin:@localhost:1522:XE ## PostgreSQL @@ -68,8 +79,10 @@ ## DB2 #hibernate.dialect org.hibernate.dialect.DB2Dialect +#hibernate.connection.driver_class com.ibm.db2.jcc.DB2Driver #hibernate.connection.driver_class COM.ibm.db2.jdbc.app.DB2Driver -#hibernate.connection.url jdbc:db2:test +#hibernate.connection.url jdbc:db2://localhost:50000/somename +#hibernate.connection.url jdbc:db2:somename #hibernate.connection.username db2 #hibernate.connection.password db2 @@ -156,6 +169,10 @@ #hibernate.connection.driver_class com.microsoft.jdbc.sqlserver.SQLServerDriver #hibernate.connection.url jdbc:microsoft:sqlserver://1E1;DatabaseName=test;SelectMethod=cursor +## The New Microsoft Driver +#hibernate.connection.driver_class com.microsoft.sqlserver.jdbc.SQLServerDriver +#hibernate.connection.url jdbc:sqlserver://localhost + ## jTDS (since version 0.9) #hibernate.connection.driver_class net.sourceforge.jtds.jdbc.Driver #hibernate.connection.url jdbc:jtds:sqlserver://1E1/test @@ -357,9 +374,9 @@ #hibernate.use_identifer_rollback true -## enable CGLIB reflection optimizer (enabled by default) +## enable bytecode reflection optimizer (disabled by default) -#hibernate.cglib.use_reflection_optimizer false +#hibernate.bytecode.use_reflection_optimizer true Modified: trunk/Hibernate3/src/org/hibernate/cfg/Environment.java =================================================================== --- trunk/Hibernate3/src/org/hibernate/cfg/Environment.java 2006-05-28 11:30:18 UTC (rev 9948) +++ trunk/Hibernate3/src/org/hibernate/cfg/Environment.java 2006-05-28 13:04:35 UTC (rev 9949) @@ -406,7 +406,7 @@ public static final String USE_IDENTIFIER_ROLLBACK = "hibernate.use_identifier_rollback"; /** - * Use CGLIB <tt>MetaClass</tt> to optimize property access + * Use bytecode libraries optimized property access */ public static final String USE_REFLECTION_OPTIMIZER = "hibernate.bytecode.use_reflection_optimizer"; |