Stein, Thanx for the info, I have added your changes from SQLEngine.java. I will see if that fixes the problem with the duplicate ids buf sofar so good.
Steve ----- Original Message ----- From: "Stephen Ince" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 26, 2004 10:50 PM Subject: Re: [castor-dev] [JDO] Key generator -- Duplicated Identity is generated! > > No the application is not an ejb application. I will test out the same > connection. The problem is very intermittent, so it isn't a huge issue. It > might be something the user of the application is doing. > Thanx for all the tips. > > > ----- Original Message ----- > From: "Stein M. Hugubakken" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, April 26, 2004 9:46 PM > Subject: Re: [castor-dev] [JDO] Key generator -- Duplicated Identity is > generated! > > > > > > Stephen Ince wrote: > > > Stein, > > > Thanx for the suggestion. I like the idea of just expiring the > cache, if I get the duplicate ID error. I am using a different table for > every class type. I hope the following is not too much info. > > > > > > > But expiring a cache of type="none" will not help I think. > > > > Take a look at this bug: > > http://bugzilla.exolab.org/show_bug.cgi?id=1507 > > > > Would you be interested in trying it out? > > > > Is the application using ejb with castor? > > Re: http://www.castor.org/key-generator.html#HIGH-LOW-key-generator > > > > And/or you could try to add the following to the key-generator config: > > <param name="same-connection" value="true"/> > > > > Stein > > > > ----------------------------------------------------------- > > 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 > >
