db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Emminger <e...@ericemminger.com>
Subject Re: OM compile failure: TABLE_NAME defined twice
Date Fri, 25 Apr 2003 15:05:02 GMT
Graham

Graham Leggett wrote:
> I suspect the problem is related to the following bit of my database 
> schema definition:
> 
>   <table name="ID_TABLE">
>     <column name="ID_TABLE_ID" required="true" primaryKey="true" 
> type="INTEGER"/>
>     <column name="TABLE_NAME" required="true" size="255" type="VARCHAR"/>
>     <column name="NEXT_ID" type="INTEGER"/>
>     <column name="QUANTITY" type="INTEGER"/>
> 
>     <unique>
>       <unique-column name="TABLE_NAME"/>
>     </unique>
> 
>   </table>
> 
> The above table is defined inside my database-schema.xml file - is this 
> the correct thing to do? The docs are a little vague on how the whole 
> auto sequence generation works, and exactly how you set it up.

Are you using Torque with Turbine?

Eric


Mime
View raw message