Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » EclipseLink Composite Unit Error - Join Query Executes on One Datasource
EclipseLink Composite Unit Error - Join Query Executes on One Datasource [message #1336025] Tue, 06 May 2014 07:42 Go to next message
Simon Carroll is currently offline Simon CarrollFriend
Messages: 1
Registered: May 2014
Junior Member
Hi,

I am having an issue with the eclipselink composite-unit persistence unit. In my example I have two relational databases (the example I have seen is with a relational database and a mongo DB).

I can run queries against either database using the composite persistence unit and they execute correctly. The problem I experience is when I run a query which joins against both databases. The query only executes on one database which returns an error as the table doesn't exist (it exists in the other database).

Has anyone had this problem before and do they know how to correct this? I can post code samples if this would help.

Any help would be greatly appreciated.

Thanks

Simon
Re: EclipseLink Composite Unit Error - Join Query Executes on One Datasource [message #1336684 is a reply to message #1336025] Tue, 06 May 2014 14:14 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1089
Registered: July 2009
Senior Member
As the databases are separate, I don't see how it would be expected to work. Can you provide an example of what you are trying to do?
Previous Topic:Transactions
Next Topic:Problems with JAXB and Moxy
Goto Forum:
  


Current Time: Sat Sep 05 10:36:55 GMT 2015

Powered by FUDForum. Page generated in 0.19612 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software