aspose file tools
The moose likes Object Relational Mapping and the fly likes Could not execute JDBC batch update Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "Could not execute JDBC batch update" Watch "Could not execute JDBC batch update" New topic
Author

Could not execute JDBC batch update

swati mittal
Ranch Hand

Joined: Oct 21, 2008
Posts: 39
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

Joined: Jul 20, 2005
Posts: 8141
    
  52

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.


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Could not execute JDBC batch update
 
Similar Threads
clarify abt CURD by using hibernate
Could not execute JDBC batch update
Could not execute JDBC batch update
CURD operations are not working properly
Can't commit because the transaction is in aborted state