db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r1026038 - /db/jdo/trunk/api/src/java/javax/jdo/annotations/Column.java
Date Thu, 21 Oct 2010 15:52:42 GMT
Author: andyj
Date: Thu Oct 21 15:52:42 2010
New Revision: 1026038

URL: http://svn.apache.org/viewvc?rev=1026038&view=rev
Log:
JDO-660 Add position

Modified:
    db/jdo/trunk/api/src/java/javax/jdo/annotations/Column.java

Modified: db/jdo/trunk/api/src/java/javax/jdo/annotations/Column.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api/src/java/javax/jdo/annotations/Column.java?rev=1026038&r1=1026037&r2=1026038&view=diff
==============================================================================
--- db/jdo/trunk/api/src/java/javax/jdo/annotations/Column.java (original)
+++ db/jdo/trunk/api/src/java/javax/jdo/annotations/Column.java Thu Oct 21 15:52:42 2010
@@ -100,4 +100,11 @@ public @interface Column
      * @return the vendor extensions
      */
     Extension[] extensions() default {};
+
+    /**
+     * Position of this column in the table for this class (0=first, -1=unset).
+     * @return (relative) position of this column
+     * @since 3.1
+     */
+    int position() default -1;
 }



Mime
View raw message