Update of /cvsroot/hibernate/Hibernate2/src
In directory sc8-pr-cvs1:/tmp/cvs-serv27930/src
Modified Files:
hibernate.properties log4j.properties
Log Message:
added some logging to JDBC pools
Index: hibernate.properties
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/hibernate.properties,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** hibernate.properties 1 Jan 2003 13:53:40 -0000 1.1.1.1
--- hibernate.properties 3 Jan 2003 22:47:23 -0000 1.2
***************
*** 26,44 ****
## PostgreSQL
! #hibernate.dialect net.sf.hibernate.dialect.PostgreSQLDialect
! #hibernate.connection.driver_class org.postgresql.Driver
! #hibernate.connection.url jdbc:postgresql:template1
! #hibernate.connection.username pg
! #hibernate.connection.password
! #hibernate.query.substitutions yes 'Y', no 'N'
## DB2
! hibernate.dialect net.sf.hibernate.dialect.DB2Dialect
! hibernate.connection.driver_class COM.ibm.db2.jdbc.app.DB2Driver
! hibernate.connection.url jdbc:db2:test
! hibernate.connection.username db2
! hibernate.connection.password db2
--- 26,44 ----
## PostgreSQL
! hibernate.dialect net.sf.hibernate.dialect.PostgreSQLDialect
! hibernate.connection.driver_class org.postgresql.Driver
! hibernate.connection.url jdbc:postgresql:template1
! hibernate.connection.username pg
! hibernate.connection.password
! hibernate.query.substitutions yes 'Y', no 'N'
## DB2
! #hibernate.dialect net.sf.hibernate.dialect.DB2Dialect
! #hibernate.connection.driver_class COM.ibm.db2.jdbc.app.DB2Driver
! #hibernate.connection.url jdbc:db2:test
! #hibernate.connection.username db2
! #hibernate.connection.password db2
Index: log4j.properties
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/log4j.properties,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** log4j.properties 1 Jan 2003 13:53:40 -0000 1.1.1.1
--- log4j.properties 3 Jan 2003 22:47:23 -0000 1.2
***************
*** 17,23 ****
log4j.logger.net.sf.hibernate=info
! # log JDBC bind parameters
log4j.logger.net.sf.hibernate.type=info
! # log prepared statement cache activity
log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=info
--- 17,27 ----
log4j.logger.net.sf.hibernate=info
! ### enable the following line if you want to track down connection ###
! ### leakages when using DriverManagerConnectionProvider ###
! #log4j.logger.net.sf.hibernate.connection.DriverManagerConnectionProvider=trace
!
! ### log JDBC bind parameters ###
log4j.logger.net.sf.hibernate.type=info
! ### log prepared statement cache activity ###
log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=info
|