I have two databases in MSSQL ,and i want to connect to them using JPA2 I have managed to get it working with one . Can some one help me how do i do that?
Thanks a Lot.
I have two databases in MSSQL ,and i want to connect to them using JPA2 I have managed to get it working with one . Can some one help me how do i do that?
Thanks a Lot.
Configure two persistence units and use two EntityManagerFactory
(one per persistence unit).