harry.clarkknovalent.com Posted March 25, 2013 Share Posted March 25, 2013 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 More sharing options...
harry.clarkknovalent.com Posted March 25, 2013 Author Share Posted March 25, 2013 Obviously the config info above was to be in brackets like xml, forgot to escape it; anyway the properties are connection.driver_class connection.url current_session_context_class dialect connection.username connection.password cache.provider_class Link to comment Share on other sites More sharing options...
degygz Posted April 12, 2013 Share Posted April 12, 2013 I discovered your weblog web site on google and check several of your early posts. Continue to maintain up the extremely beneficial operate. I just extra up your RSS feed to my MSN News Reader. Looking for forward to reading much more from you later on! michael kors hand bags Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now