File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes org.hibernate.exception.GenericJDBCException: could not insert: 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: could not insert: " Watch "org.hibernate.exception.GenericJDBCException: could not insert: " New topic

org.hibernate.exception.GenericJDBCException: could not insert:

Baktha Elumalai
Ranch Hand

Joined: Mar 13, 2010
Posts: 34
i am getting the following error

the application is running locally is fine, but whenever i put into server i got the following error

Error stack trace

o am not getting the exactly where the error is coming file

please help to solve the problem

thanks in advance

Bakthavachalam E
David Newton

Joined: Sep 29, 2008
Posts: 12617

I'm guessing something's funky with the connection pool manager, handler, or connection pool management. The code is a little difficult to follow; at the very least delete the commented-out lines--they're just noise. Some refactoring would clean things up too.
Baktha Elumalai
Ranch Hand

Joined: Mar 13, 2010
Posts: 34

I agree. Here's the link:
subject: org.hibernate.exception.GenericJDBCException: could not insert:
It's not a secret anymore!