> Hi Akhil,
>
> your code is in CVS now.
> Thanks!!
>
> regards,
> Armin
>
> ----- Original Message -----
> From: "Akhil Kumar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, July 31, 2003 2:48 PM
> Subject: PlatformDb2Impl.java sequence version pasted....
>
>
> > Hi,
> >
> > I have tested The sequence related changes for
PlatformDb2Impl.java...
> > by using a subclass in the pasted file... I faked a platform called
> Db2Fx
> > to run my tests
> > I tested generation of sequence numbers for 40 concurrent threads
and
> 100
> > iterations per thread...
> >
> > since I can not attach files here and am not a committer... Can
> somebody
> > (Thomas M.) review and check-in this code.
> > ===============================================================
> > package org.apache.ojb.broker.platforms;
> > /**
> >  * @author akhilk
> >  *
> >  */
> > public class PlatformDb2FxImpl extends PlatformDb2Impl
> > {
> >       /**
> >        * Constructor for PlatformDb2FxImpl.
> >        */
> >       public PlatformDb2FxImpl()
> >       {
> >             super();
> >       }
> >       /**
> >        * @see
> > org.apache.ojb.broker.platforms.Platform#createSequenceQuery(String)
> >        */
> >       public String createSequenceQuery(String sequenceName)
> >       {
> >         return "create sequence " + sequenceName;
> >       }
> >
> >       /**
> >        * @see
> > org.apache.ojb.broker.platforms.Platform#dropSequenceQuery(String)
> >        */
> >       public String dropSequenceQuery(String sequenceName)
> >       {
> >             return "drop sequence " + sequenceName;
> >       }
> >
> >       /**
> >        * @see
> > org.apache.ojb.broker.platforms.Platform#nextSequenceQuery(String)
> >        */
> >       public String nextSequenceQuery(String sequenceName)
> >       {
> >             return "values nextval for "+ sequenceName;
> >       }
> >
> > }
> > ====================
> >
> >
> > Regards,
> > Akhil Kumar
> >
> >
>
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to