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 record Insertion problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "record Insertion problem" Watch "record Insertion problem" New topic
Author

record Insertion problem

Edward Durai
Ranch Hand

Joined: Oct 09, 2004
Posts: 223
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


Thank You<br />Edward
Patrick Tsang
Greenhorn

Joined: Aug 31, 2004
Posts: 12
if you are not using JTA stuff, you need to call transaction.commit()
 
 
subject: record Insertion problem
 
Threads others viewed
relation without ID attribute
embedding a update & get in a ejb transaction
Issue with Hibernate transaction in CMT
insert two tables in single action ?
How can i display the record in JSP Using Struts with Hibernate?
IntelliJ Java IDE