-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: * [HHH-529] - Bug in merge()
PostPosted: Thu May 26, 2005 8:57 am 
Newbie

Joined: Mon Apr 04, 2005 6:01 am
Posts: 9
Location: INDIA
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.