Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [eclipselink-users] More Datasources in one project


EclipseLink JPA currently only supports a single data source per persistence unit. I believe we have some bugs filed to add support for using other native EclipseLink session types within a persistence unit. Part of this eventual work would involved adding formal support for SessionBroker which addresses multiple data sources with relationships between entities in different databases.

The documentation describes the various session types:

Currently our JPA support leverages Server/Client sessions, UnitOfWork, and isolated client sessions.


-----Original Message-----
From: Leon Derks [mailto:leon.derks@xxxxxxxxxx]
Sent: Tuesday, June 03, 2008 5:30 AM
To: EclipseLink User Discussions
Subject: [eclipselink-users] More Datasources in one project


I want to use 2 datasources in the same project, to access different 
oracle schema's.

At the moment I use the <non-jta-data-source> in persistence.xml
Everything works fine for one single oracle schema.

But now I want to access another schema. How can I add an extra datasource?


eclipselink-users mailing list

Back to the top