• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

record Insertion problem

 
Edward Durai
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This is edward. I am using Hibernate. I have insert on record into table. But No error message display. But not Inserted. I am using mssql 2000.

I am getting only

Hibernate: insert into AuditFindingsFieldList (FieldTypeID, LookUpID, FieldCat, ParentFieldID, DefaVal, AllowNull, deleted, disabled, FieldID) values (?, ?, ?, ?, ?, ?, ?, ?, ?)

what is the possibilites for not inserted records in hibernate.

even I did not get Errors/Exceptions.

Pls explain.

Thanks
A. Edward
 
Patrick Tsang
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you are not using JTA stuff, you need to call transaction.commit()
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic