• Post Reply Bookmark Topic Watch Topic
  • New Topic

Working with multiple persistence units

 
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?
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!