-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Using cfg.xml configuration files : what semantics???
PostPosted: Mon Jun 06, 2005 10:36 am 
Newbie

Joined: Tue Jan 11, 2005 6:48 am
Posts: 7
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 06, 2005 12:32 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
It's funny that none of the places you looked at include the reference documentation. But hey, nobody reads that anymore by the look of it.

http://www.hibernate.org/hib_docs/v3/re ... ernatejdbc


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.