You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by dl...@apache.org on 2001/06/14 03:43:04 UTC

cvs commit: jakarta-turbine/conf/torque/templates/sql/base/oracle sequence.vm

dlr         01/06/13 18:43:04

  Modified:    conf/torque/templates/sql/base/oracle sequence.vm
  Log:
  * The value "native" is now used for the table.idMethod attribute.
  
  * Added additional Oracle SEQUENCE parameters provided by our new DBA,
  Srinu Adira <sr...@collab.net>.
  
  * Removed extraneous trailing newline.
  
  Revision  Changes    Path
  1.3       +3 -3      jakarta-turbine/conf/torque/templates/sql/base/oracle/sequence.vm
  
  Index: sequence.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine/conf/torque/templates/sql/base/oracle/sequence.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- sequence.vm	2001/04/20 00:25:43	1.2
  +++ sequence.vm	2001/06/14 01:43:03	1.3
  @@ -1,3 +1,3 @@
  -#if ($table.IdMethod == "sequence")
  -CREATE SEQUENCE $table.SequenceName;
  -#end
  +#if ($table.IdMethod == "native")
  +CREATE SEQUENCE $table.SequenceName INCREMENT BY 1 START WITH 1 NOMAXVALUE NOCYCLE NOCACHE ORDER;
  +#end
  \ No newline at end of file
  
  
  

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