You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by Armin Waibel <ar...@code-au-lait.de> on 2003/01/12 11:15:44 UTC

Re: OJB - PlatformOracleImpl - Sequences]

add changes to CVS, thanks Martin.

regards,
Armin

----- Original Message -----
From: "Thomas Mahler" <th...@apache.org>
To: "OJB Developers List" <oj...@jakarta.apache.org>
Sent: Sunday, January 12, 2003 10:57 AM
Subject: [Fwd: OJB - PlatformOracleImpl - Sequences]


>
>
> -------- Original Message --------
> Subject: OJB - PlatformOracleImpl - Sequences
> Date: Sat, 11 Jan 2003 15:07:34 +0100
> From: Martin Harm <ma...@web.de>
> Organization: http://freemail.web.de/
> To: "ThomasMahler" <th...@apache.org>
>
> Hi Thomas,
>
> would be nice if you could add these missing implementations
> in org.apache.ojb.broker.platforms.PlatformOracleImpl
>
>
> public String createSequenceQuery(String sequenceName)
>      {
>          return "create sequence " + sequenceName;
>      }
>
>    public String nextSequenceQuery(String sequenceName)
>      {
>          return "select " + sequenceName + ".nextval from dual";
>      }
>
>    public String dropSequenceQuery(String sequenceName)
>      {
>          return "drop sequence " + sequenceName;
>      }
>
> Tested with Oracle 9.2.0
> thanks in advance
>
>
>
________________________________________________________________________
______
> Keine Chance fur Viren! Mit WEB.DE FreeMail sind Sie auf der
> sicheren Seite - Virenschutz inklusive!
> http://freemail.web.de/features/?mc=021129
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
>