dlr 01/08/13 12:00:11
Modified: src/java/org/apache/torque/map TableMap.java
Log:
Added NATIVE idMethod type.
Revision Changes Path
1.3 +7 -1
jakarta-turbine-torque/src/java/org/apache/torque/map/TableMap.java
Index: TableMap.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/map/TableMap.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -u -r1.2 -r1.3
--- TableMap.java 2001/08/10 12:23:02 1.2
+++ TableMap.java 2001/08/13 19:00:11 1.3
@@ -64,10 +64,16 @@
* TableMap is used to model a table in a database.
*
* @author <a href="mailto:[EMAIL PROTECTED]">John D. McNally</a>
- * @version $Id: TableMap.java,v 1.2 2001/08/10 12:23:02 knielsen Exp $
+ * @version $Id: TableMap.java,v 1.3 2001/08/13 19:00:11 dlr Exp $
*/
public class TableMap
{
+ /**
+ * Key generation through database-native id method
+ * (i.e. auto-increment for MySQL, sequence for Oracle, etc.).
+ */
+ public static final String NATIVE = "native";
+
/** Key generation through auto-increment. */
public static final String AUTOINCREMENT = "autoincrement";
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]