-->
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.  [ 1 post ] 
Author Message
 Post subject: C3P0ConnectionProvider not used unless explicitly referenced
PostPosted: Mon Dec 15, 2008 5:32 pm 
Newbie

Joined: Wed Jun 04, 2008 10:53 am
Posts: 1
Hibernate version: 3.3.1-GA

I've discovered that C3P0ConnectionProvider is not used automatically even when c3p0.* properties are present, which *I think* is contrary to what the docs are stating:

Quote:
Hibernate will use its org.hibernate.connection.C3P0ConnectionProvider for connection pooling if you set hibernate.c3p0.* properties.

http://www.hibernate.org/hib_docs/v3/reference/en-US/html_single/#configuration-hibernatejdbc

When I modify hibernate.cfg.xml to explicitly use C3P0 it work

Quote:
<property name="connection.provider_class">
org.hibernate.connection.C3P0ConnectionProvider
</property>


Has anyone else seen this?

Was it intentionally changed to the current behavior, and only the docs need to be updated? Or is this a bug that deserves a JIRA ticket?


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

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.