On Feb 7, 2006, at 11:25 AM, Andrus Adamchik wrote:
> public Object getId() {
> if(getpersistenceState == PersistenceState.NEW) {
> return null;
> }
> else {
> return pkForObject(this);
> }
> }
Doh, need another coffee :-)
public Object getId() {
if(getPersistenceState() == PersistenceState.NEW) {
return null;
}
else {
return DataObjectUtils.pkForObject(this);
}
}
This archive was generated by hypermail 2.0.0 : Tue Feb 07 2006 - 11:45:25 EST