• Post Reply Bookmark Topic Watch Topic
  • New Topic

Connection Pool + Hibernate 3

Diego Creador
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys!

Im quite lost about how to configure a connection pool for Hibernate with anotations. I been reading a lfew tutorials but I get lost.

I want to use C3PO and I understand how to set it. But I dont understand hoy to make the hava class that create te session factory, because its not recommended to use HibernateUtil class any more.

So my questions is, after configuring hibernate, c3po, what java classes should I implement??

Thanks a lot for any advice.
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!