• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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"?


reply
    Bookmark Topic Watch Topic
  • New Topic