Right... I'm coming into this thread somewhere in the middle after a short break but 
this one sounds like you
haven't set the idMethod attribute on your table correctly.
Try the (Oracle specific) sequence setting like the example below and see if that 
works better (it has always
worked for me).

  <table name="FAQTYPE" idMethod="sequence">
    <column name="FAQTypeId"
      javaName="FAQTypeId"
      type="INTEGER"
      required="true"
      primaryKey="true"
      autoIncrement="true" />

    <column name="FAQType"
      javaName="FAQType"
      type="VARCHAR"
      size="50" />

    <id-method-parameter name="sequence" value="FAQTYPE_SEQ"/>
  </table>

regenerate sql and om, recreate database, recompile, run

Age

> -----Original Message-----
> From: Lothar Krause [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 15, 2001 05:48
> To: [EMAIL PROTECTED]
> Subject: RE: Turbine (TDK) / Oracle: Cannot insert null
>
>
> > Jason,
> > >
> > > - if someone using Oracle had this kind of error (ie 'ever seen
> > this ?' not
> > > 'solve this')
> >
> > The archives answer that.
>
> I'm sorry, I've taken a deep look into the mail archives with no avail. The
> only related thread seemed to be
> http://www.mail-archive.com/[email protected]/msg00938.html
> which is about tdk-2.1b4 and creating USER, which works fine for me. Please
> prove your statement, I'm absolutely out of clues right now.
>
> l
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to