You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Daniel Rall <dl...@finemaltcoding.com> on 2001/06/14 00:02:56 UTC

Torque ID method

Jason and I discussed this a bit on IRC.  I'm going to be deprecating
autoincrement/sequence as values for Torque's table.idMethod attribute
(they'll print a warning but still work), and use the word native
instead.  Native will just do the right thing as appropriate for the
type of database you have configured.

Daniel

dlr@apache.org writes:

> dlr         01/06/13 08:41:57
> 
>   Modified:    conf/torque/templates/sql/base/oracle db.props
>   Log:
>   Oracle does not have autoincrement (only sequence).
>   
>   Revision  Changes    Path
>   1.9       +0 -1      jakarta-turbine/conf/torque/templates/sql/base/oracle/db.props
>   
>   Index: db.props
>   ===================================================================
>   RCS file: /home/cvs/jakarta-turbine/conf/torque/templates/sql/base/oracle/db.props,v
>   retrieving revision 1.8
>   retrieving revision 1.9
>   diff -u -r1.8 -r1.9
>   --- db.props	2001/06/13 02:06:43	1.8
>   +++ db.props	2001/06/13 15:41:56	1.9
>   @@ -33,7 +33,6 @@
>    CLOB = CLOB
>    REF =
>    
>   -AUTOINCREMENT = AUTO_INCREMENT
>    NOTNULL = NOT NULL
>    
>    primaryKeyInsideTableDirective = true

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