When I trace the calls to the db it seems the CAT_ID is null even though the object has the correct cat id.
After hours of trying with the object I used a criteria object. doing it via a criteria object works fine.
Criteria crit = new Criteria();
crit.add(EquipmentCategoryPeer.CAT_ID, catid.intValue());
crit.add(EquipmentCategoryPeer.CAT_DESC,(String)equipcatForm.get("catdesc"));
EquipmentCategoryPeer.doUpdate(crit);My questions:
1) is this a known problem or has this been experienced before ? I have searched newsgroups and mailing list and can't find anything.
2) what's considered "best practice" doing updates via criteria or table objects ?
Thanks in advance,
Leo Gaggl Adelaide, South Australia
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
