Hi

Mykola Ostapchuk wrote:
Hello,

This question already was in this maillist, but nobody answered.

I answered it on 19.6.:


You can modify the ClassDescriptor of your peristent class to only contain FieldDescriptors of the the PK and modified field.

OJB will then only work with those two columns!

cheers,
Thomas

It's actually so fundamental in use, that it must be somewhere in FAQ.

So, here it is: How can I update not all, but only some fields in some
table? I'm using PersistenceBroker.store method to persist an object - and
if I don't populate all the object properties with values, I get null rows
in DB in place of unspecified object properties...
At least, please, answer if it's possible with OJB.


Best regards, Mykola Ostapchuk


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to