iReport ejbql connection
Posted
by Nayan Wadekar
on Stack Overflow
See other posts from Stack Overflow
or by Nayan Wadekar
Published on 2010-06-15T06:57:25Z
Indexed on
2010/06/15
7:02 UTC
Read the original article
Hit count: 674
I want to create ejbql connection in iReport, i have added all the related jars. Set the classpath to include the META-INF directory containing persistence.xml & jars.
On testing connection it shows nothing, but in console it prints "java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.ejb.event.EJB3PersistEventListener null". Jar containing this class I have already added.
persistence.xml content :
persistence-unit name="hrmsPU" transaction-type="JTA"
provider org.hibernate.ejb.HibernatePersistence provider
jta-data-source java:hrmsDS jta-data-source
persistence-unit
© Stack Overflow or respective owner