You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Fedor Karpelevitch <fe...@Barra.COM> on 2001/10/11 00:03:06 UTC

RE: Torque: unique-column feature

AFAIR the it only affects SQL generation - adds unique constrain to the
table. It makes no difference for OM.

fedor.

-------------------------------
Amicus Plato amicus Aristoteles magis amica veritas

> -----Original Message-----
> From: Skip Walker [mailto:swalker@gossamer-group.com]
> Sent: Wednesday, October 10, 2001 3:03 PM
> To: turbine-user@jakarta.apache.org
> Subject: Torque: unique-column feature
> 
> 
>  
> I can't seem to find any useful information on exactly how 
> this feature
> is supposed to work.  Is there any torque documentation that describes
> 1) how this feature is supposed to effect the use of the Peer and
> DataObjects.  
>  
> I'm guessing that when a column is declared unique, an 
> attempt to save a
> data object that has column a value declared as unique will cause an
> update to be performed if another row already exists in the table with
> this value.  Is this a correct assumption?
>  
> Skip
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org