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

Leon,

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:

http://wiki.eclipse.org/Introduction_to_EclipseLink_Sessions_%28ELUG%29

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

Doug

-----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


Hello

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?

Leon

_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


Back to the top