Thanks Scott.
I managed to retreive information from 2 db with EntityManagerFactory
associated correctly with the good database, thanks to jta-data-source
parameter in persistence.xml.
But for updating the database the factory is useless and I need to use a
global injected EntityManager with
On 1/3/14, 5:15 AM, Riccardo Cohen wrote:
Hello
I will soon have more than one mysql server. I want to use one server
for read requests of static data, the other for read/write requests of
dynamic data. It works for sql requests through datasource, but I cannot
find how to do it with ejb