db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill <bhal...@collaborativefusion.com>
Subject Re: Can anyone help?
Date Tue, 01 Jul 2003 20:20:46 GMT
Gabriel

I dont think I understand your question, but just in case I do, I think
the answer is:

<database defaultJavaType="object">

 <table name="tab1">
   <column name="col1" type="INTEGER" primaryKey="true"
required="true"/>
 </table>
</database>

This works just fine for me.

-b

On Tue, 2003-07-01 at 15:02, Gabriel Bauman wrote:
> Sorry to keep posting about this, but I really do need help - such a 
> simple thing should not be a problem. I can't imagine there not being a 
> way to do this.
> 
> Does _anyone_ know how to use INTEGER columns as primary keys _without_ 
> setting auto_increment on the column?
> 
> I need to use integer values from an external source as my primary key.
> 
> Help would be very much appreciated.
> 
> Gabe
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
-- 
Bill <bhalpin@collaborativefusion.com>


Mime
View raw message