Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.hibernate.exception.GenericJDBCException

 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20946
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's the important line from the stack trace:
 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i making database i make the ID field as a VARCHAR field.Is it wrong?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic