Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Hibernate 3.0rc1
Mapping documents:
The hibernate properties given include:
# hibernate.c3p0.timeout (in seconds) hibernate.c3p0.idle_test_period(in seconds)
hibernate.c3p0.max_size 100
hibernate.c3p0.min_size 10
#The seconds a Connection can remain pooled but unused before being discarded. Zero means idle connections never expire
hibernate.c3p0.timeout 0
#The size of c3p0's PreparedStatement cache. Zero means statement caching is turned off.
hibernate.c3p0.max_statements 0
#If idle_test_period is greater than 0, c3p0 will test all idle, pooled but unchecked-out connections, every this number of seconds.
hibernate.c3p0.idle_test_period 100
hibernate.c3p0.acquire_increment 1
#DEPRECATED
#hibernate.c3p0.validate false
#For use inside an application server, you should almost always configure Hibernate to obtain connections from an application server Datasource registered in JNDI.
#datasource JNDI name.
hibernate.connection.datasource = java:/comp/env/jdbc/test
#The classname of a TransactionFactory to use with Hibernate Transaction API (defaults to JDBCTransactionFactory).
hibernate.transaction.factory_class = org.hibernate.transaction.JTATransactionFactory
#The classname of a TransactionManagerLookup - required when JVM-level caching is enabled in a JTA environment
hibernate.transaction.manager_lookup_class org.hibernate.transaction.WeblogicTransactionManagerLookup
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
Oracle 9i
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt: