Hi,

I have a situation where I want to prevent the creation of an object in the database. Is there a way to prevent the insertion via the callback-methods (beforeInsert....) ? Throwing an Exception in these methods doesn't work, because the situation is not an error and I want to prevent the change of client code.

If that is not possible should I extend the PersistenceBrokerImpl and change the PB.store(Object,Identity,ClassDescriptor, boolean, boolean) method accordingly?

I am glad for any


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

Reply via email to