You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jo...@apache.org on 2001/09/10 21:16:34 UTC

cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/util/db/map IDMethod.java

jon         01/09/10 12:16:34

  Modified:    src/java/org/apache/turbine/util/db/map IDMethod.java
  Log:
  added AUTOINCREMENT in order to allow jyve/orgami to build
  
  it is deprecated since it should be AUTO_INCREMENT now
  
  Revision  Changes    Path
  1.2       +7 -1      jakarta-turbine-2/src/java/org/apache/turbine/util/db/map/IDMethod.java
  
  Index: IDMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/db/map/IDMethod.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IDMethod.java	2001/08/20 02:57:53	1.1
  +++ IDMethod.java	2001/09/10 19:16:34	1.2
  @@ -59,7 +59,7 @@
    * (i.e. auto-increment, sequence, ID broker, etc.).
    *
    * @author <a href="mailto:dlr@collab.net">Daniel Rall</a>
  - * @version $Id: IDMethod.java,v 1.1 2001/08/20 02:57:53 brekke Exp $
  + * @version $Id: IDMethod.java,v 1.2 2001/09/10 19:16:34 jon Exp $
    */
   public interface IDMethod
   {
  @@ -73,6 +73,12 @@
        * Key generation via auto-increment.
        */
       public static final String AUTO_INCREMENT = "autoincrement";
  +
  +    /**
  +     * Key generation via auto-increment.
  +     * @deprecated Use AUTO_INCREMENT now.
  +     */
  +    public static final String AUTOINCREMENT = AUTO_INCREMENT;
   
       /**
        * Key generation via sequences.
  
  
  

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


Re: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/util/db/map IDMethod.java

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Thanks Jon.

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