db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Rau <ra...@gmx.de>
Subject Re: Sequence names
Date Mon, 03 Mar 2003 20:54:10 GMT
Tnx for the info. I've seen that the Sequence name is hardcoded in the 
MapBuilder classes and integrated during the build process of the object 
model.

I've now changed the Torque Code for DB2. It works now perfectly with 
DB2 Sequences :D

Regards, Alex



Quinton McCombs wrote:
> It uses the table name and apends "_SEQ" to the end.
> 
> 
>>-----Original Message-----
>>From: Alexander Rau [mailto:rauar@gmx.de] 
>>Sent: Saturday, March 01, 2003 4:01 PM
>>To: Turbine Torque Users List
>>Subject: Sequence names
>>
>>
>>Hi
>>
>>does anyone know who Torque finds out the name of the sequence for a 
>>primary key in a table ?
>>
>>As far as I know there's nothing special added to the automatically 
>>created sql of Torque because of defaultIdMethod="sequence" in the 
>>schema-file.
>>
>>Does the sequence's name match the name of the pk ?
>>
>>Regards, Alex
>>
>>



Mime
View raw message