-->
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: No ConnectionProviderFactory class in hibernate 4.1.0
PostPosted: Sat Mar 03, 2012 2:12 pm 
Newbie

Joined: Sat Mar 03, 2012 2:10 pm
Posts: 1
Hi!

I'm migrating a project from hibernate 3.6.5 to hibernate 4.
Spotted that there is no ConnectionProviderFactory class in new one.

Can somebody explain where has it gone?

It is neither depricated in 3.6 nor present in 3.6 -> 4 migration docs.

Thanks for help in advance!


Top
 Profile  
 
 Post subject: Re: No ConnectionProviderFactory class in hibernate 4.1.0
PostPosted: Sun Mar 04, 2012 11:40 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 11, 2009 2:26 am
Posts: 29
I don't think ConnectionProviderFactory is an API and supposed to be used directly.

for hibernate 4.0, you can provide your own ServiceRegistry impl and give your own org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator (see this class for more details)

and let me know if you have more questions, thanks


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.