ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <lmead...@apache.org>
Subject Re: Duplicate Sequence Values
Date Tue, 03 Jan 2006 16:50:57 GMT
I do not know for sure what the problem is with that.

That is a class from the Spring framework..you may have better luck
posting there.

Larry


On 1/3/06, Andy Bowes <abowes@williamhill.co.uk> wrote:
>
>
>
> I am using the OracleSequenceMaxValueIncrementer to give me
> the nextVal from an Oracle sequence and I am encountering an error.  If I
> simulate a large number of concurrent users then I occasionally get
> duplicate values returned by the getNextIntValue() method.  This obviously
> causes me a problem as my code will then attempt to create 2 records with
> the same primary key.
>
>
>
> Is this a known problem with the
> OracleSequenceMaxValueIncrementer class or am I doing
> something wrong?
>
>
>
> Andy Bowes
>
> Technical Architect
>
>
>
> **********************************************************************
>  The contents of this e-mail are subject to contract in all cases and
> William Hill PLC, its subsidiaries or affiliates make no contractual
> commitment save where confirmed by hard copy.
>
>  The contents of this e-mail do not necessarily represent the views of
> William Hill PLC, its subsidiaries or affiliates. We accept no liability,
> including liability for negligence, in respect of any statement in this
> e-mail.
>
>  This e-mail and any files transmitted with it are confidential, may be
> subject to legal privilege and intended solely for the use of the individual
> or entity to which they are addressed. If you are not the intended
> recipient, you are hereby notified that any use or dissemination of this
> communication is strictly prohibited. If you have received this e-mail in
> error, please notify us immediately, then delete this e-mail.
>
>  Please note that William Hill can accept no responsibility for viruses and
> it is your responsibility to scan any emails and their attachments.
>
>  This message was from William Hill PLC whose registered office is Greenside
> House, 50 Station Road, Wood Green, London N22 7TP. Company Registration
> Number: 4212563 England.
> **********************************************************************
>

Mime
View raw message