|
Ok, I think there are a couple options
here. The quickest and easiest would be to say
that Oracle users need to manage their own Key values. If they have a
sequence then they need to write their own methods to get the next values and
set them into the record before saving Another option would be to make a generic
construct: <object name=”User”
sequence=”UserSequence”> …. </object> In the case of Oracle it’d use the UserSequence
to get the next id for Users. This is pretty generic too, because Posgres
might be able to use this too. In the case the the dbms doesn’t
support sequences then this would be ignored. Doug From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Kotek Perhaps something
user-configurable in the <config> set specifically for Oracle (or any
other DBs that don't have autonumber)? Maybe something like this (with
autonumber as the default if this tag wasn't specified): <config> The trick with sequence
seems to be, how do you tell Reactor where to get the next sequence value. Is
there one for each table or a global one for each project that is used for all
tables? Are the sequences named by convention ie "seq_customers" or
would one have to specify the sequence to be used for each table? On 2/21/06, Bowden,
Beth (NIH/NIEHS) [E] <[EMAIL PROTECTED]>
wrote: I don't know of an Oracle
column type that behaves like a sequence
|
- [Reactor For CF] Oracle support for Reactor Bowden, Beth \(NIH/NIEHS\) [E]
- RE: [Reactor For CF] Oracle support fo... Doug Hughes
- Re: [Reactor For CF] Oracle support fo... Sean Corfield
- RE: [Reactor For CF] Oracle support fo... Bowden, Beth \(NIH/NIEHS\) [E]
- Re: [Reactor For CF] Oracle suppor... Brian Kotek
- RE: [Reactor For CF] Oracle su... Doug Hughes
- RE: [Reactor For CF] Oracle support fo... Bowden, Beth \(NIH/NIEHS\) [E]
- Re: [Reactor For CF] Oracle suppor... Brian Kotek
- Re: [Reactor For CF] Oracle suppor... Sean Corfield
- RE: [Reactor For CF] Oracle support fo... Chris Blackwell
- RE: [Reactor For CF] Oracle support fo... Bowden, Beth \(NIH/NIEHS\) [E]
- RE: [Reactor For CF] Oracle suppor... Doug Hughes

