Description
Some configuration options are misleading and dangerous if the datasource JNDI location is provided at EntityManager creation time. For example the L2 cache can not be reliably used if each EntityManager may be communicating with a different schema / database instance.
In order to prevent confusion down the road we should throw an exception when these conditions are detected.
Attachments
Issue Links
- is related to
-
OPENJPA-1742 Recover if connectionFactory on EntityManagerFactory is invalid but cf on EntityManager is valid.
- Closed
- relates to
-
OPENJPA-1551 Allow connectionFactoryName to be specified when creating an EntityManager
- Closed