Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Could not execute JDBC batch update

 
swati mittal
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to make a new entry into my database using Hibernate.
but i am getting the following error message :

Hibernate: insert into base_data (organization, application, locale, owner, owner_account, owner_name, title, description, role, ins_time, up_time, allow_comment, allow_trackback, allow_rating, allow_reference, allow_richcomment, thumb_tiny_url, thumb_small_url, thumb_medium_url, thumb_large_url, status, oldid, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
createChannelContent Method : Could not execute JDBC batch update
create channel content: 0

Please help me as soon as possible.

Thanks
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
createChannelContent Method : Could not execute JDBC batch update


I think there is a lot more in the exception stacktrace which the method createChannelContent is eating up Looks like it just prints the exception message. You might have to modify that method to print the exception stacktrace. The stacktrace will give you more information about why the insert failed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic