Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] EclipseLink failover, connection pool, etc.

On Tuesday 23 June 2009, William Cai wrote:
> Hi list,
>
> I'm using EclipseLink JPA interface in my code and would confirm some
> issues with you people. Any response is greatly appreciated!
>
> 1. EclipseLink Connection Pool. According to the document, "For non-Java EE
> applications, you typically use internalconnection pools. By default,
> EclipseLink sessions use internal connection pools.", and I do see multiple
> connections are started up when my application runs. However, in another
> page, I see "You can create internal connection pools only for server
> sessions (not for any other session type, including database sessions)",
> how to understand the statement?
>
> 2. Does EclipseLink provide any failover functionalities, for example
> specifying more than one JDBC URLs, etc? I did search the document and
> found nothing. Just want to confirm with the community to ensure I don't
> miss anything.
You could try using HA-JDBC behind Eclipselink.  It does exactly this but
without changing the basic app (in this case EclipseLink).

David
>
> Again thanks for your help!
>
> Thanks,
> William




Back to the top