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 Hibernate 3.0 - Checking 0 named queris 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 3.0 - Checking 0 named queris" Watch "Hibernate 3.0 - Checking 0 named queris" New topic
Author

Hibernate 3.0 - Checking 0 named queris

Robin Sing
Greenhorn

Joined: Jul 16, 2005
Posts: 1
I am using Hibernate 3.0,

When I am running the class file I am getting like this\

Insert into contact (firstname,lastname,email,id) values (?,?,?,?).

I want to insert the values to db.

Mohan
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Assuming you have mapped your object properly, you just need to give values to each property and call session.save(yourPOJO).


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate 3.0 - Checking 0 named queris