Can i define in the persistence.xml two database?
I'm working on an application in Java EE. I must use two database ,how can I define two database in my persistence.xml?
Thank you in advance for your suggestions
Create another persistence-unit in your exisiting persistent.xml and give it a different name. Then create another entity manager depending on newly added persistent unit.