Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
I would like to use JPA to access oracle db tables in 2 different schemas. I have not been able to get this to work with MyEclipse. In my persistence.xml I have defined 2 <persistence-unt>’s, but the file com.genuitec.eclipse.persistence.jpa.prefs seems to support just one connection. Can this be done in MyEclipse?
Jon,
You can go to the DB Explorer and rev-eng the entities from the two schemas separately, but the project validation is only run against the single PU you have associated with the project.
Definitely put my vote on that enhancement too. Our ERP application uses about 16 different schemas and relates tables between them. It’s a necessity in my environment to perform joins across schemas daily.
DSpair, it’s still on our list of enhancements, but it’s a pretty far-reaching one (touches bits of the validation parsers, content assist parsers, re-eng tools for Hib and JPA, etc. etc.) so a fairly expensive feature to build.