>
> We don't have access to auto-increment features in our DB environment, 
> so we've been doing things with select max to mimic auto increment in 
> a safe guaranteed way.  Is there any way to do this in Castor?
>  

Try using the MAX key generator
<class name="myapp.ProductGroup" identity="id" key-generator="MAX">
This uses the same algorithm. More information on key generation at
http://www.castor.org/key-generator.html
   
HTH,

Patrick

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

Reply via email to