From ddlutils-dev-return-659-apmail-db-ddlutils-dev-archive=db.apache.org@db.apache.org Wed Mar 01 19:34:49 2006 Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 66706 invoked from network); 1 Mar 2006 19:34:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Mar 2006 19:34:48 -0000 Received: (qmail 17186 invoked by uid 500); 1 Mar 2006 19:35:26 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 17068 invoked by uid 500); 1 Mar 2006 19:35:26 -0000 Mailing-List: contact ddlutils-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-dev@db.apache.org Delivered-To: mailing list ddlutils-dev@db.apache.org Received: (qmail 16989 invoked by uid 500); 1 Mar 2006 19:35:25 -0000 Delivered-To: apmail-db-ddlutils-commits@db.apache.org Received: (qmail 16962 invoked by uid 99); 1 Mar 2006 19:35:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 11:35:25 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 01 Mar 2006 11:35:23 -0800 Received: (qmail 66432 invoked by uid 65534); 1 Mar 2006 19:34:15 -0000 Message-ID: <20060301193415.66431.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r382130 - in /db/ddlutils/trunk/src: java/org/apache/ddlutils/platform/axion/ java/org/apache/ddlutils/platform/cloudscape/ java/org/apache/ddlutils/platform/db2/ java/org/apache/ddlutils/platform/derby/ java/org/apache/ddlutils/platform/fi... Date: Wed, 01 Mar 2006 19:34:06 -0000 To: ddlutils-commits@db.apache.org From: tomdz@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: tomdz Date: Wed Mar 1 11:34:03 2006 New Revision: 382130 URL: http://svn.apache.org/viewcvs?rev=382130&view=rev Log: Checkstyle & javadoc fixes Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/axion/package.html db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/cloudscape/package.html db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/db2/package.html db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/package.html db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/package.html db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/hsqldb/package.html db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/interbase/package.html db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/maxdb/package.html db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mckoi/package.html db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/package.html db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mysql/package.html db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/package.html db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/postgresql/package.html db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/sapdb/package.html db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/sybase/package.html Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle10Builder.java db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle10ModelReader.java db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle8Platform.java db/ddlutils/trunk/src/test/org/apache/ddlutils/TestDatabaseWriterBase.java Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/axion/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/axion/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/axion/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/axion/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,26 @@ + + + + + + + +

+ This package contains the platform implementation for the Axion database. +

+ + Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/cloudscape/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/cloudscape/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/cloudscape/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/cloudscape/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,27 @@ + + + + + + + +

+ This package contains the platform implementation for the + Cloudscape database. +

+ + Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/db2/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/db2/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/db2/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/db2/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,27 @@ + + + + + + + +

+ This package contains the platform implementation for the + DB2 UDB database. +

+ + Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/derby/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,27 @@ + + + + + + + +

+ This package contains the platform implementation for the + Apache Derby database. +

+ + Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/firebird/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,27 @@ + + + + + + + +

+ This package contains the platform implementation for the + Firebird database. +

+ + Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/hsqldb/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/hsqldb/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/hsqldb/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/hsqldb/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,27 @@ + + + + + + + +

+ This package contains the platform implementation for the + HSQLDB database. +

+ + Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/interbase/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/interbase/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/interbase/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/interbase/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,27 @@ + + + + + + + +

+ This package contains the platform implementation for the + Interbase database. +

+ + Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/maxdb/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/maxdb/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/maxdb/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/maxdb/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,27 @@ + + + + + + + +

+ This package contains the platform implementation for the + MaxDB database. +

+ + Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mckoi/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mckoi/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mckoi/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mckoi/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,27 @@ + + + + + + + +

+ This package contains the platform implementation for the + Mckoi database. +

+ + Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,27 @@ + + + + + + + +

+ This package contains the platform implementation for the + Sql Server database. +

+ + Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mysql/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mysql/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mysql/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mysql/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,27 @@ + + + + + + + +

+ This package contains the platform implementation for the + MySQL database. +

+ + Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle10Builder.java URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle10Builder.java?rev=382130&r1=382129&r2=382130&view=diff ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle10Builder.java (original) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle10Builder.java Wed Mar 1 11:34:03 2006 @@ -1,11 +1,5 @@ package org.apache.ddlutils.platform.oracle; -import java.io.IOException; - -import org.apache.ddlutils.PlatformInfo; -import org.apache.ddlutils.model.Column; -import org.apache.ddlutils.model.Table; - /* * Copyright 2006 The Apache Software Foundation. * @@ -22,8 +16,17 @@ * limitations under the License. */ +import java.io.IOException; + +import org.apache.ddlutils.PlatformInfo; +import org.apache.ddlutils.model.Column; +import org.apache.ddlutils.model.Table; + /** * The SQL builder for Oracle 10. + * + * @author Thomas Dudziak + * @version $Revision: $ */ public class Oracle10Builder extends Oracle8Builder { Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle10ModelReader.java URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle10ModelReader.java?rev=382130&r1=382129&r2=382130&view=diff ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle10ModelReader.java (original) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle10ModelReader.java Wed Mar 1 11:34:03 2006 @@ -25,6 +25,12 @@ import org.apache.ddlutils.model.Table; import org.apache.ddlutils.platform.DatabaseMetaDataWrapper; +/** + * Reads a database model from an Oracle 10 database. + * + * @author Thomas Dudziak + * @version $Revision: $ + */ public class Oracle10ModelReader extends Oracle8ModelReader { /** Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle8Platform.java URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle8Platform.java?rev=382130&r1=382129&r2=382130&view=diff ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle8Platform.java (original) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/Oracle8Platform.java Wed Mar 1 11:34:03 2006 @@ -24,7 +24,7 @@ /** * The platform for Oracle 8. * - * TODO: We might support the {@link org.apache.ddlutils.Platform#createDatabase(String, String, String, String, String, Map)} + * TODO: We might support the {@link org.apache.ddlutils.Platform#createDatabase(String, String, String, String, Map)} * functionality via "CREATE SCHEMA"/"CREATE USER" or "CREATE TABLESPACE" ? * * @author James Strachan Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/oracle/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,27 @@ + + + + + + + +

+ This package contains the platform implementation for the + Oracle database. +

+ + Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/postgresql/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/postgresql/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/postgresql/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/postgresql/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,27 @@ + + + + + + + +

+ This package contains the platform implementation for the + PostgreSQL database. +

+ + Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/sapdb/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/sapdb/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/sapdb/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/sapdb/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,27 @@ + + + + + + + +

+ This package contains the platform implementation for the + SAP DB database. +

+ + Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/sybase/package.html URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/sybase/package.html?rev=382130&view=auto ============================================================================== --- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/sybase/package.html (added) +++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/sybase/package.html Wed Mar 1 11:34:03 2006 @@ -0,0 +1,27 @@ + + + + + + + +

+ This package contains the platform implementation for the + Sybase ASE database. +

+ + Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/TestDatabaseWriterBase.java URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/TestDatabaseWriterBase.java?rev=382130&r1=382129&r2=382130&view=diff ============================================================================== --- db/ddlutils/trunk/src/test/org/apache/ddlutils/TestDatabaseWriterBase.java (original) +++ db/ddlutils/trunk/src/test/org/apache/ddlutils/TestDatabaseWriterBase.java Wed Mar 1 11:34:03 2006 @@ -304,8 +304,9 @@ } /** - * Reads the database model from the database. + * Reads the database model from a live database. * + * @param databaseName The name of the resulting database * @return The model */ protected Database readModelFromDatabase(String databaseName) @@ -318,9 +319,10 @@ } /** - * Reads the database model from the database. + * Returns the SQL for altering the live database so that it matches the given model. * - * @return The model + * @param desiredModel The desired model + * @return The alteration SQL */ protected String getAlterTablesSql(Database desiredModel) {