Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gemini-dev] Connection Pooling with EclipseLink and Gemini JPA

Hi Shaun, Mike, others

 

we would like to provide connection pooling with EclipseLink and Gemini JPA.

 

My understanding is that Gemini JPA will create a “PlainDriverDataSource” from connection data and pass it to EclipseLink.

 

I see three possible options to enable connection pooling in this scenario:

 

1)      EclipseLink does the pooling: We configure EclipseLink to use an “internal connection pool”. However, I don’t know if this is possible if the EMF is configured with an external data source. Is this actually possible?

2)      Gemini JPA does the pooling: Gemini JPA provides some connection pooling capability.

3)      The server or application does the pooling: We pass a data source that is capable of connection pooling to Gemini JPA, and Gemini JPA passes it on to EclipseLink. (https://bugs.eclipse.org/bugs/show_bug.cgi?id=335983).

 

What do you think of these options?

 

-Adrian

 

 

Adrian Görler
SAP AG

Pflichtangaben/Mandatory Disclosure Statements:
http://www.sap.com/company/legal/impressum.epx

 


Back to the top