• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate one-one mapping example issue

 
Mathew Lee
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to riun hibernate one-one mapping example from link
http://www.vaannila.com/hibernate/hibernate-example/hibernate-tools-1.html

When i execute main.java getting following console message







hsqldb.jar has been downloaded from link
http://sourceforge.net/projects/hsqldb/files/alpha_beta/hsqldb_2_0_0_rc8/hsqldb-2.0.0-rc8.zip/download

Can i usse SQL instead of HSQL somehting like







Please let me know how can i resolve this issue.
Any suggestions, ideas, resources, links, sample code highly appreciated. Thanks in advance.
 
Mark E Hansen
Ranch Hand
Posts: 650
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds to me like you have a Java 6 class attempting to run in a Java 5 environment (or some such mis-match).

You should look through all the components, and make sure they match legally with the others. For example, if the JDBC is built using Java 6, don't try to run it in a Java 5 VM, etc.

Hope this help,
 
Pradeep Kumar
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Yes. Even I do feel the same. You can find the hint at line number 10 of the exception stack trace. Try with the updated version of the jar file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic