• Post Reply Bookmark Topic Watch Topic
  • New Topic

Working with multiple persistence units  RSS feed

 
Saathvik Reddy
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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.

Thanks,
 
Saathvik Reddy
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I realized that i made a silly mistake. The issue is resolved. Please ignore this post.

I see no way to delete this post. Can we?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!