Hibernate version: 3
Hello,
I'm trying to get hibernate to use c3p0, but I can't get this to work. I keep getting this message on startup: "Using Hibernate built-in connection pool (not for production use!)"
Here is my hibernate.properties:
hibernate.connection.driver_class = com.ibm.db2.jcc.DB2Driver
hibernate.connection.url = jdbc:db2://localhost:50000/MYDB
hibernate.connection.username = user
hibernate.connection.password = secret
hibernate.c3p0.min_size=5
hibernate.c3p0.max_size=20
hibernate.c3p0.timeout=1800
hibernate.c3p0.max_statements=50
hibernate.default_schema = myschema
hibernate.dialect = org.hibernate.dialect.DB2Dialect
It's inspired from what is described here:
http://www.hibernate.org/hib_docs/refer ... ejdbc.html
Any idea? Thanks