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: 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
Author

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

Baktha Elumalai
Greenhorn

Joined: Mar 13, 2010
Posts: 28
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

AllDatabase.java file



please help to solve the problem

thanks in advance


Regards
Bakthavachalam E
David Newton
Author
Rancher

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
Greenhorn

Joined: Mar 13, 2010
Posts: 28

 
GeeCON Prague 2014
 
subject: org.hibernate.exception.GenericJDBCException: could not insert: