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: problem with Postgresql and sequences for autoincrement
Date Fri, 18 Apr 2003 15:50:28 GMT
> Now, project-schema.xml looks like this.
> I removed autoincrement attribute and id-method-parameter tag.
> I still can't make it work.
>   <table name="TELSUPPORT" idMethod="native">
>     <column name="TELSUPPORT_ID"      type="INTEGER"  required="true" primaryKey="true"
>   </table>

Perhaps I'm missing something, but the setup I use seems to work fine. I 
hope it helps you.

My schema xml file looks like this.

<database name="dbname">
   <table name="tablename" javaName="TableName" idMethod="native">
     <column name="Id" javaName="Id" required="true" primaryKey="true" 
type="INTEGER" javaType="object"/>

Here's my setup.
Torque 3.0
Turbine 2.2
TDK 2.2_01
PostgreSQL 7.3.2
Ant 1.5.1
Maven 1.0-beta-8
Java 1.4.1_01


View raw message