This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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
 
Similar Threads
data insert error
Hibernate exception problem
it is giving fatal exception
cannot insert record in MS SQLServer 2000
Batch Update Failure