I have a domain object that extends a “base domain”
object. This base domain object has some Boolean fields that aren’t fields
on the table but are there to track certain changes that might occur during the
lifetime of the domain object. It seems fine when I do a “new”
on the object the fields are defaulted to “false” correctly, but
when I do a find on an existing object, the values for these tracking fields
seem to be mixed.
abstract class BaseBomainClass {
private Boolean trackingfield;
setTrackingfield(Boolean){..
getTrackingField()..
}
public class DomainClass extends BaseDomainClass {
…
}
How are these field values set?
Thanks
Kevin
This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this message
immediately if this is an electronic communication.
Thank you.
|