portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raph...@apache.org
Subject cvs commit: jakarta-jetspeed/src/torque-schema database_3_1.dtd coffees-schema.xml dbpsml-schema.xml email-schema.xml email.xml security-schema.xml
Date Sun, 16 May 2004 13:49:15 GMT
raphael     2004/05/16 06:49:15

  Modified:    src/torque-schema coffees-schema.xml dbpsml-schema.xml
                        email-schema.xml email.xml security-schema.xml
  Added:       src/torque-schema database_3_1.dtd
  Log:
  Fix for JIRA JS1-470: enable building of troque schema offline
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-jetspeed/src/torque-schema/coffees-schema.xml
  
  Index: coffees-schema.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/torque-schema/coffees-schema.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- coffees-schema.xml	5 Apr 2004 15:00:12 -0000	1.1
  +++ coffees-schema.xml	16 May 2004 13:49:14 -0000	1.2
  @@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
   -->
  -<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd">
  +<!DOCTYPE database SYSTEM "src/torque-schema/database_3_1.dtd">
   <!-- ==================================================================== -->
   <!--                                                                      -->
   <!-- DatabaseBrowser coffees example       S C H E M A                    -->
  
  
  
  1.2       +2 -2      jakarta-jetspeed/src/torque-schema/dbpsml-schema.xml
  
  Index: dbpsml-schema.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/torque-schema/dbpsml-schema.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- dbpsml-schema.xml	5 Apr 2004 15:00:12 -0000	1.1
  +++ dbpsml-schema.xml	16 May 2004 13:49:14 -0000	1.2
  @@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
   -->
  -<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd">
  +<!DOCTYPE database SYSTEM "src/torque-schema/database_3_1.dtd">
   <!-- ==================================================================== -->
   <!--                                                                      -->
   <!-- B A S E  J E T S P E E D  S E C U R I T Y  S C H E M A               -->
  
  
  
  1.2       +1 -1      jakarta-jetspeed/src/torque-schema/email-schema.xml
  
  Index: email-schema.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/torque-schema/email-schema.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- email-schema.xml	6 Apr 2004 15:01:46 -0000	1.1
  +++ email-schema.xml	16 May 2004 13:49:14 -0000	1.2
  @@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
   -->
  -<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd">
  +<!DOCTYPE database SYSTEM "src/torque-schema/database_3_1.dtd">
   <!-- ==================================================================== -->
   <!--                                                                      -->
   <!-- T U R B I N E  P R O J E C T  S C H E M A                            -->
  
  
  
  1.2       +1 -1      jakarta-jetspeed/src/torque-schema/email.xml
  
  Index: email.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/torque-schema/email.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- email.xml	5 Apr 2004 15:00:12 -0000	1.1
  +++ email.xml	16 May 2004 13:49:14 -0000	1.2
  @@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
   -->
  -<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd">
  +<!DOCTYPE database SYSTEM "src/torque-schema/database_3_1.dtd">
   <!-- ==================================================================== -->
   <!--                                                                      -->
   <!-- T U R B I N E  P R O J E C T  S C H E M A                            -->
  
  
  
  1.2       +2 -2      jakarta-jetspeed/src/torque-schema/security-schema.xml
  
  Index: security-schema.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/torque-schema/security-schema.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- security-schema.xml	5 Apr 2004 15:00:12 -0000	1.1
  +++ security-schema.xml	16 May 2004 13:49:14 -0000	1.2
  @@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
   -->
  -<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd">
  +<!DOCTYPE database SYSTEM "src/torque-schema/database_3_1.dtd">
   <!-- ==================================================================== -->
   <!--                                                                      -->
   <!-- B A S E  J E T S P E E D  S E C U R I T Y  S C H E M A               -->
  
  
  
  1.1                  jakarta-jetspeed/src/torque-schema/database_3_1.dtd
  
  Index: database_3_1.dtd
  ===================================================================
  <!--
      Torque XML database schema DTD
      $Id: database_3_1.dtd,v 1.1 2004/05/16 13:49:14 raphael Exp $
  -->
  
  <!--
  For: database.defaultIdMethod and table.idMethod
  
  Do not use autoincrement or sequence. They are deprecated in favor of
  using native which will use the 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.
  -->
  
  <!--
  
  defaultJavaNamingMethod determines how a table or column name,
  from the name attribute in the xml database file, is converted to a
  Java class or method name.
  
       nochange   - indicates not change is performed.
       underscore - Underscores are removed, First letter is
                capitalized, first letter after an underscore
                is capitalized, the rest of the letters are
                converted to lowercase.
       javaname   - same as underscore, but no letters are converted
                to lowercase.
  -->
  
  <!ELEMENT database (external-schema*, table+)>
  <!ATTLIST database
    name CDATA #IMPLIED
    defaultIdMethod (idbroker|native|autoincrement|sequence|none) "none"
    defaultJavaType (object|primitive) "primitive"
    package CDATA #IMPLIED
    baseClass CDATA #IMPLIED
    basePeer CDATA #IMPLIED
    defaultJavaNamingMethod (nochange|underscore|javaname) "underscore"
    heavyIndexing (true|false) "false"
  >
  
  <!ELEMENT external-schema EMPTY>
  <!ATTLIST external-schema
    filename CDATA #REQUIRED
  >
  
  <!-- 
       note: the interface="true", requires that useManagers=true in the
       properties file. 
  -->
  <!ELEMENT table (column+,(foreign-key|index|unique|id-method-parameter)*)>
  <!ATTLIST table
    name CDATA #REQUIRED
    javaName CDATA #IMPLIED
    idMethod (idbroker|native|autoincrement|sequence|none|null) "null"
    skipSql (true|false) "false"
    abstract (true|false) "false"
    baseClass CDATA #IMPLIED
    basePeer CDATA #IMPLIED
    alias CDATA #IMPLIED
    interface CDATA #IMPLIED
    javaNamingMethod (nochange|underscore|javaname) #IMPLIED
    heavyIndexing (true|false) #IMPLIED
    description CDATA #IMPLIED
  >
  
  <!ELEMENT id-method-parameter EMPTY>
  <!ATTLIST id-method-parameter
    name CDATA "default"
    value CDATA #REQUIRED
  >
  
  <!ELEMENT column (inheritance*)>
  <!ATTLIST column
    name CDATA #REQUIRED
    javaName CDATA #IMPLIED
    primaryKey (true|false) "false"
    required (true|false) "false"
    type
      (
            BIT  | TINYINT | SMALLINT    | INTEGER    | BIGINT    | FLOAT
          | REAL | NUMERIC | DECIMAL     | CHAR       | VARCHAR   | LONGVARCHAR
          | DATE | TIME    | TIMESTAMP   | BINARY     | VARBINARY | LONGVARBINARY
          | NULL | OTHER   | JAVA_OBJECT | DISTINCT   | STRUCT    | ARRAY
          | BLOB | CLOB    | REF         | BOOLEANINT | BOOLEANCHAR
          | DOUBLE
      ) "VARCHAR"
    javaType (object|primitive) #IMPLIED
    size CDATA #IMPLIED
    default CDATA #IMPLIED
    autoIncrement (true|false) "false"
    inheritance (single|false) "false"
    inputValidator CDATA #IMPLIED
    javaNamingMethod (nochange|underscore|javaname) #IMPLIED
    description CDATA #IMPLIED
  >
  
  <!ELEMENT inheritance EMPTY>
  <!ATTLIST inheritance
    key CDATA #REQUIRED
    class CDATA #REQUIRED
    extends CDATA #IMPLIED
  >
  
  <!ELEMENT foreign-key (reference+)>
  <!ATTLIST foreign-key
    foreignTable CDATA #REQUIRED
    name CDATA #IMPLIED
    onUpdate (cascade|setnull|restrict|none) "none"
    onDelete (cascade|setnull|restrict|none) "none"
  >
  
  <!ELEMENT reference EMPTY>
  <!ATTLIST reference
    local CDATA #REQUIRED
    foreign CDATA #REQUIRED
  >
  
  <!ELEMENT index (index-column+)>
  <!ATTLIST index
    name CDATA #IMPLIED
  >
  
  <!ELEMENT index-column EMPTY>
  <!ATTLIST index-column
    name CDATA #REQUIRED
    size CDATA #IMPLIED
  >
  
  <!ELEMENT unique (unique-column+)>
  <!ATTLIST unique
    name CDATA #IMPLIED
  >
  
  <!ELEMENT unique-column EMPTY>
  <!ATTLIST unique-column
    name CDATA #REQUIRED
  >
  
  
  

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


Mime
View raw message