Hi! I've discovered that initial version of SequenceManagerSapImpl are not
working with 0.9.7. Follows correct source.

Error was on constructor signature.
Thanks by your patience.

Edson Richter


-----Mensagem original-----
De: [EMAIL PROTECTED] [mailto:jens.kraemer@;gmx.net]
Enviada em: Friday, November 01, 2002 12:08 AM
Para: OJB Users List
Assunto: Re: Oracle SequenceManager


On Thu, Oct 31, 2002 at 02:03:48PM -0800, Ryan Kennedy wrote:
> Are there any sequence managers available that can utilize Oracle
sequences?
> I saw the SequenceManagerSapImpl class, but it appears to require that
your
> sequence name conform to a particular pattern. My sequences do not conform
to
> that pattern and can't be changed, so that makes SequenceManagerSapImpl
not a
> viable solution.

As long as your sequence names conform to *any* pattern (making it
possible to identify the correct sequence from given table/field names)
it is easy to derive a Sequence Manager working for you from
SequencemanagerSapImpl. Just change the lines where the sql-statement is
assembled to match your naming scheme.
I can post the oracle sequence manager I wrote for our sequence naming
scheme
tomorrow if you like.

Maybe it would be a good solution to write a configurable
sequencemanager who reads the naming pattern from OJB.properties ?


hth,
Jens

>
> Ryan Kennedy
> Software Engineer
> Jel, Inc.
> tel. 916.447.5463 ext. 133
> fax. 916.447.5465
> web. www.jel.net
>
> --
> To unsubscribe, e-mail:   <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>


---
E-Mail recebido est� sem virus.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.401 / Virus Database: 226 - Release Date: 10/9/2002

---
Email foi verificado quanto a exist�ncia de virus antes de seu envio, e n�o
h� virus.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.401 / Virus Database: 226 - Release Date: 10/9/2002

Attachment: SequenceManagerSapImpl.java
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

Reply via email to