Hello,
I am trying to configure Hibernate for more than one day with c3p0 connection pool in a cfg.xml file.
I have searched all around the web to find someone explaining how the properties have to be written but all I find is examples, and none of them is complete enough (of course, theses are examples!).
Isn't there a place where I can have a description of ALL the properties that can be set in Hibernate and the semantic to use them BOTH in a hibernate.properties file AND an cfg.xml file?
It isn't clear at all and makes it a pain in the ass to write an xml configuration file.
Example :
how do I know how to set the "acquire increment" property in c3p0?
should I use this : <property name="c3p0.acquire_increment">5</property>
or this : <property name="c3p0_acquire_increment">5</property>
or this : <property name="c3p0.acquireIncrement">5</property>
or this : <property name="hibernate.c3p0.acquire_increment">5</property>
THIS INFORMATION IS NOWHERE TO BE FOUND!!!
NOTE : theses are the main places where I went to try to solve this problem:
-
http://www.mchange.com/projects/c3p0/in ... figuration
-
http://www.hibernate.org/214.html#A2
- file:///C:/development/hibernate-2.1/doc/api/index.html
you 'll admit that I am not asking without having searched beforehand.
We developers have something else to do than searching all the web about explanations concerning things that have nothing to do with the real job to perform.
I know it sounds quite offensive but please, make this information available simply and clearly so that developers using your products don't become borded of them.
thank you in advance.