JPA container with eclipse link multi database mapping error

When I am trying to do the mapping between tables from two different databases. Its showing error Table not exists…
How can I achieve this one. I appreciate valuable suggestions on this. Thanks in advance
Regards
Dhanya B Nair

Hello Dhanya,

does the table exist in the databse or do you want to let JPA create the tables? In the end the error message seems to be very clear.

Thanks for your response. Table exists in the another database. I need to map two tables from different databases. So I am getting error message database1.table2 doesn’t exist.
Please help me to solve this problem.

Hey Dhanya,

that’s something I didn’t really try ever but maybe this example site will help you :slight_smile:

http://wiki.eclipse.org/EclipseLink/Examples/JPA/Composite

thank you