A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
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
Why wrong object is persisted first, when it is not saved first
migrating code from hibernate 2 to hibernate 3.0
Problem with @Transactional (Transaction is not getting rollbacked)
HiberNate with <sql-insert
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014