Andreas, 

there's no (direct) support for the feature you are describing. Iow, you'll 
have to use standard features to load the object in question, and either create 
it (if 
an ObjectModifiedException had been thrown) or update it (if the load was 
successful).

Regards
Werner

On Tue, 09 Nov 2004 10:09:14 +0100, Andreas Vombach wrote:

>
>Is there an easy way to create objects in the db if they are not present 
>by primary key or upate them if they are already created?
>I darkly remember something like "create or update" from Oracle sql ... 
>if you know what I mean?
>
>Thanks Andreas
>
>PS: Also many thanks for clarifying my array issue, I think you can also 
>use a BLOB type and (de)serialize yourself if desired.
>
>
>
>----------------------------------------------------------- 
>If you wish to unsubscribe from this mailing, send mail to
>[EMAIL PROTECTED] with a subject of:
>        unsubscribe castor-user
>



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to