File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Hibernate insert problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate insert problem" Watch "Hibernate insert problem" New topic

Hibernate insert problem

muntago Richard
Ranch Hand

Joined: Nov 13, 2010
Posts: 82
can someone tell me what is wrong with this code.
it prints "Data Inserted Successfully" but does not insert the values to database

T Mishra
Ranch Hand

Joined: Apr 04, 2006
Posts: 108

save the object before committing.

Tushar (SCJP 1.5)
I agree. Here's the link:
subject: Hibernate insert problem
jQuery in Action, 3rd edition