Troy McKinnon wrote:
The only way I can see doing this now is to transfer the field values
from myItem to fromDatabase.
(Note: using the reflect package to do this is fairly trivial - but just
more work )
If there was some way to updateSimilar or updateFromClone or similar
method that would
I will do that. Just seems like a lot of overhead. Especially on an large
dataset with a lot of rows.
Troy
- Original Message -
From: David Rees [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, November 02, 2003 8:08 PM
Subject: Re: [Hibernate] updating exiting objects with a new
Hibernate 'check' if it exists
and USE this object as if it had been loaded.
Cheers
Troy
- Original Message -
From: Gavin King [EMAIL PROTECTED]
To: Troy McKinnon [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, November 02, 2003 8:09 PM
Subject: Re: [Hibernate] updating exiting
as if it had been loaded.
Cheers
Troy
- Original Message -
From: Gavin King [EMAIL PROTECTED]
To: Troy McKinnon [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, November 02, 2003 8:09 PM
Subject: Re: [Hibernate] updating exiting objects with a new clone
G I hate this. I think