Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Eclipselink + c3p0
Eclipselink + c3p0 [message #547389] Fri, 16 July 2010 14:38 Go to next message
Daniel Frank is currently offline Daniel Frank
Messages: 14
Registered: July 2010
Junior Member
Hi all,
How can i get configure Eclipselink do use c3p0?
Regards,
Re: Eclipselink + c3p0 [message #550890 is a reply to message #547389] Wed, 04 August 2010 14:58 Go to previous messageGo to next message
James Sutherland is currently offline James Sutherland
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

Assuming C3PO supports the javax DataSource API, then should be no problem, either register it in JNDI, or use a SessionCustomizer to set the DataSource directly in your Session's DatabaseLogin's JNDIConnector.

Otherwise, you could create your own subclass of JNDIConnector or even ExternalConnectionPool to make use of it.


James : Wiki : Book : Blog : Twitter
Re: Eclipselink + c3p0 [message #551030 is a reply to message #550890] Wed, 04 August 2010 22:42 Go to previous message
Daniel Frank is currently offline Daniel Frank
Messages: 14
Registered: July 2010
Junior Member
Thank you.
Previous Topic:Lazy fetched ManyToOne field of an embedded object of a newly persisted entity resets to null
Next Topic:javax.persistence.lock.timeout is beeing ignored...
Goto Forum:
  


Current Time: Sun Sep 21 20:31:39 GMT 2014

Powered by FUDForum. Page generated in 0.01642 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software