[OJB-developers] ODMG committing blank objects
Brought to you by:
thma
From: Matthew B. <ma...@so...> - 2002-05-09 03:09:58
|
Is there any reason the ODMG API should try to commit objects that don't have primary keys? I'd like to change this behaviour to this: - if object has a defined primary key field(s) - and that (those) field(s) are null - then do not commit the object, as it is invalid. Do people rely on the old behaviour which tries to commit all objects regardless? I figure if people don't want primary keys to be required, don't mark them as primary! m |