You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by he...@apache.org on 2001/08/21 15:53:22 UTC
cvs commit: jakarta-turbine-2/src/dtd database.dtd
henning 01/08/21 06:53:22
Modified: src/dtd database.dtd
Log:
This seems an obvious change to me. With the propagation of
"native" as idMethod, the DTD should be able to understand
this value.
Without this change, I get
'idMethod=autoincrement' is deprecated, please use "native"'
messages from "ant project-sql" and if I change "autoincrement" to
"native", I get errors from Torque. With this change, everything is
find and also actually the correct code :-) (I just tested for
MySQL...)
Revision Changes Path
1.2 +3 -3 jakarta-turbine-2/src/dtd/database.dtd
Index: database.dtd
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/src/dtd/database.dtd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- database.dtd 2001/08/16 05:08:26 1.1
+++ database.dtd 2001/08/21 13:53:22 1.2
@@ -1,6 +1,6 @@
<!--
Torque XML database schema DTD
- $Id: database.dtd,v 1.1 2001/08/16 05:08:26 jvanzyl Exp $
+ $Id: database.dtd,v 1.2 2001/08/21 13:53:22 henning Exp $
-->
<!ELEMENT app-data (database+)>
@@ -8,7 +8,7 @@
<!ELEMENT database (table+)>
<!ATTLIST database
name CDATA #IMPLIED
- defaultIdMethod (idbroker|autoincrement|sequence|none) "none"
+ defaultIdMethod (native|idbroker|autoincrement|sequence|none) "none"
package CDATA #IMPLIED
baseClass CDATA #IMPLIED
basePeer CDATA #IMPLIED
@@ -18,7 +18,7 @@
<!ATTLIST table
name CDATA #REQUIRED
javaName CDATA #IMPLIED
- idMethod (idbroker|autoincrement|sequence|none|null) "null"
+ idMethod (native|idbroker|autoincrement|sequence|none|null) "null"
skipSql (true|false) "false"
abstract (true|false) "false"
baseClass CDATA #IMPLIED
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org