the oracle db.props file should have an entry
idMethod=sequence


Colin Chalmers wrote:
> 
> It was mostly due to me using a couple of old JARS (my fault!) but I did
> have to implement a couple of workarounds for generating the code.
> 
> The method
> 
> t.map.setPrimaryKeyMethodInfo()
> 
> was not being written in the MapBuilder class. This is required and is
> written if "$dbprops.get("idMethod") == sequence" in when using NATIVE. Not
> sure where that $dbprops setting comes from. Ideas? Apart from that things
> appear to work OK. A colleague is testing it further.
> 
> I've tested the decoupled Torque & Turbine2.2 and both seem to do the job.
> Is decoupled Torque supposed to be used with 2.2 or is it really meant for
> Turbine 3? For simplicity I'm using Turbine 2.2. om code just now.
> 
> /Colin
> 
> > On 11/21/01 1:33 PM, "Colin Chalmers" <[EMAIL PROTECTED]> wrote:
> >
> > > Yo Jason,
> > >
> > > I've got autoincrement (sequence) to work with Oracle woo woo  :-))
> >
> > Cool.
> >
> > > Thanx for the help!
> > >
> >
> > No problem, did you have to change anything? Or was it just a matter of
> > configuration?
> >
> > --
> >
> > jvz.
> >
> > Jason van Zyl
> >
> > http://tambora.zenplex.org
> > http://jakarta.apache.org/turbine
> > http://jakarta.apache.org/velocity
> > http://jakarta.apache.org/alexandria
> > http://jakarta.apache.org/commons
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

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

Reply via email to