This content has been marked as final.
Show 3 replies
-
1. Re: how to check entity bean state change ?
waynebaylor Nov 30, 2007 6:40 PM (in response to design2006)hibernate does most (if not all) of that for you.
-
2. Re: how to check entity bean state change ?
design2006 Dec 14, 2007 2:40 AM (in response to design2006)what i mean is that say for example,
i have an entity bean which contains two fields name and age,
first time it will render on the front page for user to edit,
so i would like to "save" it only when users actually have change the value. Otherwise just abort it. So how do i track this ? thanks... -
3. Re: how to check entity bean state change ?
itsme Dec 14, 2007 4:57 AM (in response to design2006)you have to code it in the setters of your entity beans and mark the relevant property, which has changed, as a need for an update. additionally you can use a PropertyChangeListener.
\sandor\