Hi,
That's the error Open JPA gives you when the DataSource fails. This is probably
because your JNDI lookup is failing. Is there a valid DataSource at
jdbc/dupcheckcts ?
Regards,
Tim Ward
---
Apache Aries PMC member & Enterprise OSGi advocate
Enterprise OSGi in Action (http:/
Hi Matt,
The error message you're seeing is from OpenJPA. It produces the same
error message whether there's no datasource defined or the datasource
is defined but can't be looked up.
However, in this case I notice you only have a jta datsource defined.
It couldn't hurt to also define a .
Hello Everyone.
Thanks for the reply. I found the issue and solved it. Actually this DAO
code was inherited legacy code and the developer was creating the
EntityManagerFactory and EntityManager from the code as follows:
*{EntityManagerFactory factory =
Persistence.createEntityManagerFactory("DuCk_