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) {