If you're using a native, i.e. database key generator, then you should set the access attribute of the primarykey field descriptor to readonly so that OJB does not try to change the value there. Have you tried one of OJB's key generator, e.g. NextVal ?
Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]