jon 01/06/14 11:01:50
Modified: src/dtd database.dtd
Log:
added comments about the deprecation
Revision Changes Path
1.9 +13 -1 jakarta-turbine/src/dtd/database.dtd
Index: database.dtd
===================================================================
RCS file: /home/cvs/jakarta-turbine/src/dtd/database.dtd,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- database.dtd 2001/06/14 01:59:17 1.8
+++ database.dtd 2001/06/14 18:01:43 1.9
@@ -1,10 +1,22 @@
<!--
Torque XML database schema DTD
- $Id: database.dtd,v 1.8 2001/06/14 01:59:17 dlr Exp $
+ $Id: database.dtd,v 1.9 2001/06/14 18:01:43 jon Exp $
-->
<!ELEMENT app-data (database+)>
+<!--
+For: database.defaultIdMethod and table.idMethod
+
+Do not use autoincrement or sequence. They are deprecated in favor of
+using native which will use the Turbine Connection pool to determine
+which database it is talking to (yes, it knows that) and then use
+whatever native database methodology for insert increments that it can.
+Otherwise, you should use idbroker or none. none is good if you have a
+table that is just a join table. idbroker is good if you want a
+centralized repository for brokering out clumps of id's in a database
+agnostic way.
+-->
<!ELEMENT database (table+)>
<!ATTLIST database
name CDATA #IMPLIED
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]