Jump to content
We've recently updated our Privacy Statement, available here ×

Hibernate 4.1.6 datasource


Recommended Posts

I am trying to set up a Hibernate data source in iReport. My class path contains the hibernate.cfg.xml with the mappings and SessionFactory config info, and all the needed jars. I have developed the ORM of my database using annotations, have generated it as a jar, and use it in applications.  I have three Hibernate jars in the path, for Hib 4.1.6: hibernate-commons-annotations-4.0.1.Final.jar, hibernate-core-4.1.6.Final.jar, hibernate-jpa-2.0-api-1.0.1.Final.jar. I use these in building the ORM and with it in other applications.  The hibernate.cfg.xml is what I use in a web application, less the SessionFactory info, which is programmed in a class. When I test the Hibernate data source I get a very weird error dialog with one word: INSTANCE (screen shot in the attached file if you need it).  Here is the start of hibernate.cfg.xml; thanks for any advice.

 
   com.ibm.as400.access.AS400JDBCDriver
   jdbc:AS400://192.168.1.21/KA403QDB;user=***;password=***
  thread
  com.kve.vanguard.model.orm.util.KVESQLDialect  
  ***
  ***
  org.hibernate.cache.internal.NoCacheProvider
 

...
 


 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...