Stein,
Unable to reproduce the error. I think it was happening when a
transaction was failing. I have really tested it with huge datasets, and no
failures. Incidently, the application that I have developed with Castor is a
load testing tool. Castor has proven to be invalueable. The tool runs on
multiple databases ( oracle,db2,mysql, sqlserver, postgresql, and hsqldb).
Steve
----- Original Message -----
From: "Stein M. Hugubakken" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 13, 2004 10:56 PM
Subject: Re: [castor-dev] Key generator -- Duplicated Identity is generated!
>
> Stephen Ince wrote:
> > I am using the castors key generator to generate key ids. I am
intermittently getting duplicate key ids. Does anyone know of a method to
have castor refresh the key generator cache if it becomes out of sync with
the database? I use a plethora of databases, oracle, db2, sql server, and
hsqldb.
> >
> >
> > org.exolab.castor.jdo.PersistenceException: Nested error: Key Generator
Failure. Duplicated Identity is generated!'
> >
>
> Stephen,
>
> can you post the complete(relevant) stacktrace since the
> DuplicateIdentityException is thrown several places?
>
> 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