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

I'm not sure that you can use multiple datasources for one
EntityManagerFactory, I wouldn't use two datasources to get at two
different schemas, I would use one datasource and specify the schema
in each entity.


On Tue, Jun 3, 2008 at 5:29 AM, Leon Derks <leon.derks@xxxxxxxxxx> wrote:
> 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


Back to the top