What about a isModified()? For tracking modification. Is it possible to add a modification-tracking="true" to a <class/> and let Hibernate decide whether an object is modified (a setter method actually changed a property, etc) and then only update that modified object and that specific field only?
Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:hibernate-devel- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Thursday, January 23, 2003 12:00 PM > To: [EMAIL PROTECTED] > Subject: [Hibernate] saveOrUpdate() > > Since I seem to be spending *so* much time with problems relating > to saveOrUpdate() functionality, I decided to provide some new > functionality. > > The Hibernate2 interceptor interface now has a > > Boolean isUnsaved(Object) > > method, so that the application can use something completely > different to unsaved-value, if it wants. > > > comments? > > > ********************************************************************** > Any personal or sensitive information contained in this email and > attachments must be handled in accordance with the Victorian Information > Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988 > (Commonwealth), as applicable. > > This email, including all attachments, is confidential. If you are not > the > intended recipient, you must not disclose, distribute, copy or use the > information contained in this email or attachments. Any confidentiality > or > privilege is not waived or lost because this email has been sent to you in > error. If you have received it in error, please let us know by reply > email, delete it from your system and destroy any copies. > ********************************************************************** > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > hibernate-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/hibernate-devel ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel