Christian,

in your case, I'd think about either modifying one of the existing key generators (max 
in your case), or add a new one that builds upon the max key 
generator. In either way, feel free to come back and ask questions, provide us with a 
patch, etc.

Regards
Werner

On Sat, 18 Sep 2004 14:28:09 +0200, Christian Schuhegger wrote:

>
>hello,
>
>i've already had a look at:
>http://www.castor.org/key-generator.html
>but the key generator i would be interested in does not yet exist.
>
>i would like to have a key generator that creates keys only if the key 
>is not yet given in the object, e.g. if there is an id of type Integer, 
>if the id is null then the key generator should create one and otherwise 
>just use the given Integer as the key.
>
>can anybody tell me how to achieve that?
>
>thanks a lot for any infos!!
>-- 
>Christian Schuhegger
>http://www.el-chef.de/
>
>
>
>----------------------------------------------------------- 
>If you wish to unsubscribe from this mailing, send mail to
>[EMAIL PROTECTED] with a subject of:
>        unsubscribe castor-dev
>



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

Reply via email to