This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "org.hibernate.exception.GenericJDBCException" Watch "org.hibernate.exception.GenericJDBCException" New topic


anarkali perera
Ranch Hand

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

this is file

this is hbm file

this is main class

but when i run this it gives some ERROR

Paul Clapham

Joined: Oct 14, 2005
Posts: 19725

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: org.hibernate.exception.GenericJDBCException
It's not a secret anymore!