Suppose I need to define to have 2 separate databases backed on the Oracle: DBCustomers and DBProducts.
In DBCustomers I want to have tables: PersonalData and Orders.
In DBProducts I want to have tables: ProductData and Distribution.
My persistence.xml now:
The problem is that when I run it, both databases have all four tables: PersonalData, Orders, ProductData and Distribution. I want to separate these tables as I described in the beginning of this post.