aspose file tools
The moose likes Other Open Source Projects and the fly likes EJBQL COnnection problem with Ireport 3.6 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "EJBQL COnnection problem with Ireport 3.6" Watch "EJBQL COnnection problem with Ireport 3.6" New topic
Author

EJBQL COnnection problem with Ireport 3.6

Krishna Pandit
Greenhorn

Joined: Mar 23, 2008
Posts: 10
Hi

I'm using ireport3.6.0 to generate reports.
I added my persistence.xml, hibernate-annotations.jar, ejb3persistance.jar,hibernate-commons-annotations.jar, hibernate-intitymanager.jar, jta.jar to my class path.



When I try to create a datasource connection through ejbql, I dont get any success or error prompt. So when i check the log(in ireport)Ireport throws me the error

java.lang.NoClassDefFoundError: org/hibernate/id/factory/IdentifierGeneratorFactory
at org.hibernate.ejb.Ejb3Configuration.<clinit>(Ejb3Configuration.java:107)
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:124)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
at com.jaspersoft.ireport.designer.connection.EJBQLConnection.getEntityManager(EJBQLConnection.java:129)
at com.jaspersoft.ireport.designer.connection.EJBQLConnection$1.run(EJBQLConnection.java:179)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)





Please help me..to sort out this problem
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3268

What JAR does that missing class live in?


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Krishna Pandit
Greenhorn

Joined: Mar 23, 2008
Posts: 10
it should be hibernate3.jar which i already included.

I hope i'm correct
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3268

Hmmmm, if it's included in the CLASSPATH then I'm not sure what could be wrong sorry.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: EJBQL COnnection problem with Ireport 3.6
 
Similar Threads
Hibernate 3.3.1 setup help!
How to create hibernate connection with iReport ?
how to access Set in ireport
Please help with Jasper and Ireport
How to configure hibernate in weblogic 10.3.2