Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

c3p0 project website broken... how to use it with hibernate without a container???

 
Pierre Rehnberg
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there.

I have a java application that is running without a container (Jboss/tomcat).
I'm using JPA (hibernate) to map the db (SQL server).

I'm pretty new at this but I read that it's wise to use c3p0 for connection pooling.
The c3p0's project sites seems broken and I can't find the documentation.

My question is, is it ok to use c3p0 with a standalone java app?
And would it be enough to just add these lines to the "persistence.xml"?


 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!