cvillegas 2005/01/23 06:09:51 Modified: src/conf/ojb log4j.properties ojbcore-schema.xml Added: src/conf/ojb database_3_0_1.dtd Log: Imported Torque database DTD so that the build can execute offline Revision Changes Path 1.2 +1 -1 jakarta-slide/src/conf/ojb/log4j.properties Index: log4j.properties =================================================================== RCS file: /home/cvs/jakarta-slide/src/conf/ojb/log4j.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- log4j.properties 2 Jan 2005 20:25:54 -0000 1.1 +++ log4j.properties 23 Jan 2005 14:09:51 -0000 1.2 @@ -36,7 +36,7 @@ #log4j.logger.org.apache.ojb.broker.accesslayer.ConnectionManager=INFO #log4j.logger.org.apache.ojb.odmg=INFO log4j.logger.org.apache.slide.store.ojb=INFO -log4j.logger.org.apache.slide.store.ojb.property=DEBUG +log4j.logger.org.apache.slide.store.ojb.property=INFO # A1 is set to be ConsoleAppender sending its output to System.out log4j.appender.A1=org.apache.log4j.ConsoleAppender 1.2 +1 -1 jakarta-slide/src/conf/ojb/ojbcore-schema.xml Index: ojbcore-schema.xml =================================================================== RCS file: /home/cvs/jakarta-slide/src/conf/ojb/ojbcore-schema.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ojbcore-schema.xml 2 Jan 2005 20:25:54 -0000 1.1 +++ ojbcore-schema.xml 23 Jan 2005 14:09:51 -0000 1.2 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?> -<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_0_1.dtd"> +<!DOCTYPE database SYSTEM "database_3_0_1.dtd"> <!-- #/* Copyright 2002-2004 The Apache Software Foundation # * 1.1 jakarta-slide/src/conf/ojb/database_3_0_1.dtd Index: database_3_0_1.dtd =================================================================== <!-- Torque XML database schema DTD $Id: database_3_0_1.dtd,v 1.1 2005/01/23 14:09:51 cvillegas 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 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. --> <!-- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]