Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
3.0.5
Code between sessionFactory.openSession() and session.close():
Item item = new Item();
item.setItem_id(6);
item.setItem_name("ramcomp");
// item.setItem_desc(); //I am not updating i want the merge to work here
// item.setItem_price(); //I am not updating i want the merge to work here
session.merge(item);
Full stack trace of any exception that occurs:
No exception or errors
Name and version of the database you are using:
Oracle 9i
The generated SQL (show_sql=true):
Hibernate: select item0_.item_id as item1_0_, item0_.item_name as item2_3_0_, item0_.item_desc as item3_3_0_, item0_.item_price as item4_3_0_ from Item item0_ where item0_.item_id=?
Hibernate: update Item set item_name=?, item_desc=?, item_price=? where item_id=?
Hi Hibernate Team
I was the changeLog in version 3.0.5.
* [HHH-529] - Bug in merge()
I wanted to use this method but it doesnt work.
I have downloaded the latest Hibernate version 3.0.5
Why is this not working?
Or
Should i have to add anything extra for this in the mapping file.
Waiting for a reply
Regards
RamnathN