Hi,

I checked in a Oracle SequenceManager yesterday that allows user defined sequence names per class.
The name is defined via a custom attributes in the repository.xml.

cheers,
Thomas

[EMAIL PROTECTED] wrote:
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>







--
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