File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Hibernate 3.0 - Checking 0 named queris
Joined: Jul 16, 2005
Jul 16, 2005 04:11:00
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.
Joined: Apr 14, 2004
Jul 18, 2005 02:35:00
Assuming you have mapped your object properly, you just need to give values to each property and call session.save(yourPOJO).
I agree. Here's the link:
subject: Hibernate 3.0 - Checking 0 named queris
Object Relational Mapping Help
HiberNate with <sql-insert
Problem with @Transactional (Transaction is not getting rollbacked)
migrating code from hibernate 2 to hibernate 3.0
Why wrong object is persisted first, when it is not saved first
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014