Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Baktha Elumalai
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic