I have no problems working with a single persistence unit. but, when i try to use multiple persistence units in persistence.xml each persistence unit pointing to a unique database then i encounter some issues.
I have listed all the classes corresponding to each persistence unit but when i try to use a entity from other persistence unit i get entity is not mapped.
Any sugessions would be appreciated.
posted 7 years ago
I realized that i made a silly mistake. The issue is resolved. Please ignore this post.