aspose file tools*
The moose likes Object Relational Mapping and the fly likes c3p0 project website broken... how to use it with hibernate without a container??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "c3p0 project website broken... how to use it with hibernate without a container???" Watch "c3p0 project website broken... how to use it with hibernate without a container???" New topic
Author

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

Pierre Rehnberg
Greenhorn

Joined: Oct 29, 2010
Posts: 6
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"?


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: c3p0 project website broken... how to use it with hibernate without a container???