jQuery in Action, 3rd edition
The moose likes Object Relational Mapping and the fly likes org.hibernate.exception.GenericJDBCException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "org.hibernate.exception.GenericJDBCException" Watch "org.hibernate.exception.GenericJDBCException" New topic
Author

org.hibernate.exception.GenericJDBCException

anarkali perera
Ranch Hand

Joined: Sep 10, 2009
Posts: 237
this is my config file


this is contact.java file


this is hbm file


this is main class


but when i run this it gives some ERROR


Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19747
    
  10

Here's the important line from the stack trace:
anarkali perera
Ranch Hand

Joined: Sep 10, 2009
Posts: 237
when i making database i make the ID field as a VARCHAR field.Is it wrong?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: org.hibernate.exception.GenericJDBCException
 
It's not a secret anymore!