File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 18882
    
    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