JPA build entity manager with a specific JDBC connection instance
Posted
by Ali
on Stack Overflow
See other posts from Stack Overflow
or by Ali
Published on 2010-05-11T08:06:52Z
Indexed on
2010/05/11
10:04 UTC
Read the original article
Hit count: 297
I want to manage the database connection outside entity manager context so that I can use it for different entity managers. The question is how can I build the entity manager factory or entity manager with my own connection instead of providing it with properties in persistence.xml?
© Stack Overflow or respective owner