<table name="CIF" idMethod="sequence">
    <column name="CIF_ID" required="true" autoIncrement="true" primaryKey="true" 
type="BIGINT"/>
    <column name="CIF_Name" required="true" size="50" type="VARCHAR"/>

This is a code snippet for those who want to know....
  ----- Original Message ----- 
  From: James Coltman 
  To: Turbine-User@Jakarta. Apache. Org 
  Sent: Thursday, June 07, 2001 18:50
  Subject: RE: Torque Question


  Answered my own question. There has is a idMethod attribute that you add to
  the table tag to specify the increment method to use. i.e.:

  <table name="Foo" idMethod="idbroker">

  or

  <table name="Foo" idMethod="autoincrement">

  or

  <table name="Foo" idMethod="sequence">

  Hope this helps someone else when they get stuck.


  James


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


Reply via email to