db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r292045 [4/5] - in /db/ddlutils/trunk: ./ lib/ lib/build-only/ src/check/ src/doc/src/documentation/ src/doc/src/documentation/content/xdocs/ src/java/org/apache/ddlutils/ src/java/org/apache/ddlutils/builder/ src/java/org/apache/ddlutils/d...
Date Tue, 27 Sep 2005 21:03:01 GMT
Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MSSqlPlatform.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MSSqlPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MSSqlPlatform.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MSSqlPlatform.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,16 +24,16 @@
 /**
  * The platform implementation for the Microsoft SQL Server database.
  * 
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
+ * @author Thomas Dudziak
  * @version $Revision: 231306 $
  */
 public class MSSqlPlatform extends PlatformImplBase
 {
-    /** Database name of this platform */
+    /** Database name of this platform. */
     public static final String DATABASENAME     = "MsSql";
-    /** The standard SQLServer jdbc driver */
+    /** The standard SQLServer jdbc driver. */
     public static final String JDBC_DRIVER      = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
-    /** The subprotocol used by the standard SQLServer driver */
+    /** The subprotocol used by the standard SQLServer driver. */
     public static final String JDBC_SUBPROTOCOL = "microsoft:sqlserver";
 
     /**
@@ -74,8 +74,8 @@
         setSqlBuilder(new MSSqlBuilder(info));
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.builder.Platform#getName()
+    /**
+     * {@inheritDoc}
      */
     public String getName()
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MaxDbPlatform.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MaxDbPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MaxDbPlatform.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MaxDbPlatform.java Tue Sep 27 13:55:42 2005
@@ -1,8 +1,7 @@
 package org.apache.ddlutils.platform;
 
-
 /*
- * Copyright 1999-2002,2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -23,16 +22,16 @@
  * Note that DdlUtils is currently not able to distinguish them based on the
  * jdbc driver or subprotocol as they are identical.   
  * 
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
+ * @author Thomas Dudziak
  * @version $Revision: 231306 $
  */
 public class MaxDbPlatform extends SapDbPlatform
 {
-    /** Database name of this platform */
+    /** Database name of this platform. */
     public static final String DATABASENAME = "MaxDB";
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.builder.Platform#getName()
+    /**
+     * {@inheritDoc}
      */
     public String getName()
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MckoiPlatform.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MckoiPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MckoiPlatform.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MckoiPlatform.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,16 +24,16 @@
 /**
  * The Mckoi database platform implementation.
  * 
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
+ * @author Thomas Dudziak
  * @version $Revision: 231306 $
  */
 public class MckoiPlatform extends PlatformImplBase
 {
-    /** Database name of this platform */
+    /** Database name of this platform. */
     public static final String DATABASENAME     = "McKoi";
-    /** The standard McKoi jdbc driver */
+    /** The standard McKoi jdbc driver. */
     public static final String JDBC_DRIVER      = "com.mckoi.JDBCDriver";
-    /** The subprotocol used by the standard McKoi driver */
+    /** The subprotocol used by the standard McKoi driver. */
     public static final String JDBC_SUBPROTOCOL = "mckoi";
 
     /**
@@ -61,8 +61,8 @@
         setSqlBuilder(new MckoiBuilder(info));
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.builder.Platform#getName()
+    /**
+     * {@inheritDoc}
      */
     public String getName()
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MySqlPlatform.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MySqlPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MySqlPlatform.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/MySqlPlatform.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -22,20 +22,20 @@
 import org.apache.ddlutils.builder.MySqlBuilder;
 
 /**
- * The platform implementation for MySQL
+ * The platform implementation for MySQL.
  * 
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
+ * @author Thomas Dudziak
  * @version $Revision: 231306 $
  */
 public class MySqlPlatform extends PlatformImplBase
 {
-    /** Database name of this platform */
+    /** Database name of this platform. */
     public static final String DATABASENAME     = "MySQL";
-    /** The standard MySQL jdbc driver */
+    /** The standard MySQL jdbc driver. */
     public static final String JDBC_DRIVER      = "com.mysql.jdbc.Driver";
-    /** The old MySQL jdbc driver */
+    /** The old MySQL jdbc driver. */
     public static final String JDBC_DRIVER_OLD  = "org.gjt.mm.mysql.Driver";
-    /** The subprotocol used by the standard MySQL driver */
+    /** The subprotocol used by the standard MySQL driver. */
     public static final String JDBC_SUBPROTOCOL = "mysql";
 
     /**
@@ -81,8 +81,8 @@
         setSqlBuilder(new MySqlBuilder(info));
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.builder.Platform#getName()
+    /**
+     * {@inheritDoc}
      */
     public String getName()
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/Oracle8Platform.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/Oracle8Platform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/Oracle8Platform.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/Oracle8Platform.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,23 +24,23 @@
 /**
  * The platform for Oracle 8.
  *
- * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
+ * @author James Strachan
+ * @author Thomas Dudziak
  * @version $Revision: 231306 $
  */
 public class Oracle8Platform extends PlatformImplBase
 {
-    /** Database name of this platform */
+    /** Database name of this platform. */
     public static final String DATABASENAME              = "Oracle";
-    /** The standard Oracle jdbc driver */
+    /** The standard Oracle jdbc driver. */
     public static final String JDBC_DRIVER               = "oracle.jdbc.driver.OracleDriver";
-    /** The old Oracle jdbc driver */
+    /** The old Oracle jdbc driver. */
     public static final String JDBC_DRIVER_OLD           = "oracle.jdbc.dnlddriver.OracleDriver";
-    /** The thin subprotocol used by the standard Oracle driver */
+    /** The thin subprotocol used by the standard Oracle driver. */
     public static final String JDBC_SUBPROTOCOL_THIN     = "oracle:thin";
-    /** The thin subprotocol used by the standard Oracle driver */
+    /** The thin subprotocol used by the standard Oracle driver. */
     public static final String JDBC_SUBPROTOCOL_OCI8     = "oracle:oci8";
-    /** The thin subprotocol used by the standard Oracle driver */
+    /** The thin subprotocol used by the standard Oracle driver. */
     public static final String JDBC_SUBPROTOCOL_THIN_OLD = "oracle:dnldthin";
 
     /**
@@ -86,8 +86,8 @@
         setSqlBuilder(new OracleBuilder(info));
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.builder.Platform#getName()
+    /**
+     * {@inheritDoc}
      */
     public String getName()
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/Oracle9Platform.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/Oracle9Platform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/Oracle9Platform.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/Oracle9Platform.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -21,12 +21,12 @@
 /**
  * The platform for Oracle 9.
  *
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
+ * @author Thomas Dudziak
  * @version $Revision: 231306 $
  */
 public class Oracle9Platform extends Oracle8Platform
 {
-    /** Database name of this platform */
+    /** Database name of this platform. */
     public static final String DATABASENAME = "Oracle9";
 
     /**
@@ -36,5 +36,13 @@
     {
         super();
         getPlatformInfo().addNativeTypeMapping(Types.TIMESTAMP, "TIMESTAMP");
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    public String getName()
+    {
+        return DATABASENAME;
     }
 }

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/PlatformImplBase.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/PlatformImplBase.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/PlatformImplBase.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/PlatformImplBase.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -53,20 +53,20 @@
 /**
  * Base class for platform implementations.
  * 
- * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
+ * @author James Strachan
+ * @author Thomas Dudziak
  * @version $Revision: 231110 $
  */
 public abstract class PlatformImplBase extends JdbcSupport implements Platform
 {
-    /** The log for this platform */
+    /** The log for this platform. */
     private final Log _log = LogFactory.getLog(getClass());
 
-    /** The sql builder for this platform */
+    /** The sql builder for this platform. */
     private SqlBuilder _builder;
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#getSqlBuilder()
+    /**
+     * {@inheritDoc}
      */
     public SqlBuilder getSqlBuilder()
     {
@@ -83,8 +83,8 @@
         _builder = builder;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#getPlatformInfo()
+    /**
+     * {@inheritDoc}
      */
     public PlatformInfo getPlatformInfo()
     {
@@ -118,8 +118,8 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#evaluateBatch(java.lang.String, boolean)
+    /**
+     * {@inheritDoc}
      */
     public int evaluateBatch(String sql, boolean continueOnError) throws DynaSqlException
     {
@@ -135,8 +135,8 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#evaluateBatch(java.sql.Connection, java.lang.String, boolean)
+    /**
+     * {@inheritDoc}
      */
     public int evaluateBatch(Connection connection, String sql, boolean continueOnError) throws DynaSqlException
     {
@@ -213,8 +213,8 @@
         return errors;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#createTables(org.apache.ddlutils.model.Database, boolean, boolean)
+    /**
+     * {@inheritDoc}
      */
     public void createTables(Database model, boolean dropTablesFirst, boolean continueOnError) throws DynaSqlException
     {
@@ -230,24 +230,24 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#createDatabase(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map)
+    /**
+     * {@inheritDoc}
      */
     public void createDatabase(String jdbcDriverClassName, String connectionUrl, String username, String password, Map parameters) throws DynaSqlException, UnsupportedOperationException
     {
         throw new UnsupportedOperationException("Database creation is not supported for the database platform "+getName());
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#dropDatabase(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
+    /**
+     * {@inheritDoc}
      */
     public void dropDatabase(String jdbcDriverClassName, String connectionUrl, String username, String password) throws DynaSqlException, UnsupportedOperationException
     {
         throw new UnsupportedOperationException("Database deletion is not supported for the database platform "+getName());
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#createTables(java.sql.Connection, org.apache.ddlutils.model.Database, boolean, boolean)
+    /**
+     * {@inheritDoc}
      */
     public void createTables(Connection connection, Database model, boolean dropTablesFirst, boolean continueOnError) throws DynaSqlException
     {
@@ -268,16 +268,16 @@
         evaluateBatch(connection, sql, continueOnError);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#alterTables(org.apache.ddlutils.model.Database, boolean)
+    /**
+     * {@inheritDoc}
      */
     public void alterTables(Database desiredDb, boolean continueOnError) throws DynaSqlException
     {
         alterTables(desiredDb, false, false, continueOnError);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#alterTables(org.apache.ddlutils.model.Database, boolean, boolean, boolean)
+    /**
+     * {@inheritDoc}
      */
     public void alterTables(Database desiredDb, boolean doDrops, boolean modifyColumns, boolean continueOnError) throws DynaSqlException
     {
@@ -293,8 +293,8 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#alterTables(java.sql.Connection, org.apache.ddlutils.model.Database, boolean, boolean, boolean)
+    /**
+     * {@inheritDoc}
      */
     public void alterTables(Connection connection, Database desiredModel, boolean doDrops, boolean modifyColumns, boolean continueOnError) throws DynaSqlException
     {
@@ -325,16 +325,16 @@
         evaluateBatch(connection, sql, continueOnError);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#alterTables(java.sql.Connection, org.apache.ddlutils.model.Database, boolean)
+    /**
+     * {@inheritDoc}
      */
     public void alterTables(Connection connection, Database desiredDb, boolean continueOnError) throws DynaSqlException
     {
         alterTables(connection, desiredDb, false, false, continueOnError);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#dropTables(org.apache.ddlutils.model.Database, boolean)
+    /**
+     * {@inheritDoc}
      */
     public void dropTables(Database model, boolean continueOnError) throws DynaSqlException
     {
@@ -350,8 +350,8 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#dropTables(java.sql.Connection, org.apache.ddlutils.model.Database, boolean)
+    /**
+     * {@inheritDoc}
      */
     public void dropTables(Connection connection, Database model, boolean continueOnError) throws DynaSqlException 
     {
@@ -372,24 +372,24 @@
         evaluateBatch(connection, sql, continueOnError);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#query(org.apache.ddlutils.model.Database, java.lang.String)
+    /**
+     * {@inheritDoc}
      */
     public Iterator query(Database model, String sql) throws DynaSqlException
     {
         return query(model, sql, (Table[])null);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#query(org.apache.ddlutils.model.Database, java.lang.String, java.util.Collection)
+    /**
+     * {@inheritDoc}
      */
     public Iterator query(Database model, String sql, Collection parameters) throws DynaSqlException
     {
         return query(model, sql, parameters, null);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#query(org.apache.ddlutils.model.Database, java.lang.String, org.apache.ddlutils.model.Table[])
+    /**
+     * {@inheritDoc}
      */
     public Iterator query(Database model, String sql, Table[] queryHints) throws DynaSqlException
     {
@@ -421,8 +421,8 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#query(org.apache.ddlutils.model.Database, java.lang.String, java.util.Collection, org.apache.ddlutils.model.Table[])
+    /**
+     * {@inheritDoc}
      */
     public Iterator query(Database model, String sql, Collection parameters, Table[] queryHints) throws DynaSqlException
     {
@@ -461,32 +461,32 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#fetch(org.apache.ddlutils.model.Database, java.lang.String)
+    /**
+     * {@inheritDoc}
      */
     public List fetch(Database model, String sql) throws DynaSqlException
     {
         return fetch(model, sql, (Table[])null, 0, -1);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#fetch(org.apache.ddlutils.model.Database, java.lang.String, org.apache.ddlutils.model.Table[])
+    /**
+     * {@inheritDoc}
      */
     public List fetch(Database model, String sql, Table[] queryHints) throws DynaSqlException
     {
         return fetch(model, sql, queryHints, 0, -1);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#fetch(org.apache.ddlutils.model.Database, java.lang.String, int, int)
+    /**
+     * {@inheritDoc}
      */
     public List fetch(Database model, String sql, int start, int end) throws DynaSqlException
     {
         return fetch(model, sql, (Table[])null, start, end);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#fetch(org.apache.ddlutils.model.Database, java.lang.String, org.apache.ddlutils.model.Table[], int, int)
+    /**
+     * {@inheritDoc}
      */
     public List fetch(Database model, String sql, Table[] queryHints, int start, int end) throws DynaSqlException
     {
@@ -520,32 +520,32 @@
         return result;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#fetch(org.apache.ddlutils.model.Database, java.lang.String, java.util.Collection)
+    /**
+     * {@inheritDoc}
      */
     public List fetch(Database model, String sql, Collection parameters) throws DynaSqlException
     {
         return fetch(model, sql, parameters, null, 0, -1);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#fetch(org.apache.ddlutils.model.Database, java.lang.String, java.util.Collection, int, int)
+    /**
+     * {@inheritDoc}
      */
     public List fetch(Database model, String sql, Collection parameters, int start, int end) throws DynaSqlException
     {
         return fetch(model, sql, parameters, null, start, end);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#fetch(org.apache.ddlutils.model.Database, java.lang.String, java.util.Collection, org.apache.ddlutils.model.Table[])
+    /**
+     * {@inheritDoc}
      */
     public List fetch(Database model, String sql, Collection parameters, Table[] queryHints) throws DynaSqlException
     {
         return fetch(model, sql, parameters, queryHints, 0, -1);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#fetch(org.apache.ddlutils.model.Database, java.lang.String, java.util.Collection, org.apache.ddlutils.model.Table[], int, int)
+    /**
+     * {@inheritDoc}
      */
     public List fetch(Database model, String sql, Collection parameters, Table[] queryHints, int start, int end) throws DynaSqlException
     {
@@ -620,8 +620,8 @@
         return _builder.getSelectLastInsertId(table);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#getInsertSql(org.apache.ddlutils.model.Database, org.apache.commons.beanutils.DynaBean)
+    /**
+     * {@inheritDoc}
      */
     public String getInsertSql(Database model, DynaBean dynaBean)
     {
@@ -637,8 +637,8 @@
         return createInsertSql(model, dynaClass, properties, dynaBean);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#insert(org.apache.ddlutils.model.Database, org.apache.commons.beanutils.DynaBean, java.sql.Connection)
+    /**
+     * {@inheritDoc}
      */
     public void insert(Database model, DynaBean dynaBean, Connection connection) throws DynaSqlException
     {
@@ -771,8 +771,8 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#insert(org.apache.ddlutils.model.Database, org.apache.commons.beanutils.DynaBean)
+    /**
+     * {@inheritDoc}
      */
     public void insert(Database model, DynaBean dynaBean) throws DynaSqlException
     {
@@ -808,8 +808,8 @@
         return _builder.getUpdateSql(table, columnValues, bean == null);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#getUpdateSql(org.apache.ddlutils.model.Database, org.apache.commons.beanutils.DynaBean)
+    /**
+     * {@inheritDoc}
      */
     public String getUpdateSql(Database model, DynaBean dynaBean)
     {
@@ -825,8 +825,8 @@
         return createUpdateSql(model, dynaClass, primaryKeys, dynaClass.getNonPrimaryKeyProperties(), dynaBean);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#update(org.apache.ddlutils.model.Database, org.apache.commons.beanutils.DynaBean, java.sql.Connection)
+    /**
+     * {@inheritDoc}
      */
     public void update(Database model, DynaBean dynaBean, Connection connection) throws DynaSqlException
     {
@@ -881,8 +881,8 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#update(org.apache.ddlutils.model.Database, org.apache.commons.beanutils.DynaBean)
+    /**
+     * {@inheritDoc}
      */
     public void update(Database model, DynaBean dynaBean) throws DynaSqlException
     {
@@ -911,8 +911,8 @@
         return false;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#store(org.apache.ddlutils.model.Database, org.apache.commons.beanutils.DynaBean)
+    /**
+     * {@inheritDoc}
      */
     public void store(Database model, DynaBean dynaBean) throws DynaSqlException
     {
@@ -954,8 +954,8 @@
         return _builder.getDeleteSql(table, pkValues, bean == null);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#getDeleteSql(org.apache.ddlutils.model.Database, org.apache.commons.beanutils.DynaBean)
+    /**
+     * {@inheritDoc}
      */
     public String getDeleteSql(Database model, DynaBean dynaBean)
     {
@@ -973,8 +973,8 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#delete(org.apache.ddlutils.model.Database, org.apache.commons.beanutils.DynaBean)
+    /**
+     * {@inheritDoc}
      */
     public void delete(Database model, DynaBean dynaBean) throws DynaSqlException
     {
@@ -990,8 +990,8 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#delete(org.apache.ddlutils.model.Database, org.apache.commons.beanutils.DynaBean, java.sql.Connection)
+    /**
+     * {@inheritDoc}
      */
     public void delete(Database model, DynaBean dynaBean, Connection connection) throws DynaSqlException
     {
@@ -1090,10 +1090,11 @@
     /**
      * Creates an iterator over the given result set.
      *
-     * @param model     The database model
-     * @param resultSet The result set to iterate over
-     * @param queryHints         The tables that were queried in the query that produced the given result set
-     *                           (optional)
+     * @param model      The database model
+     * @param resultSet  The result set to iterate over
+     * @param queryHints The tables that were queried in the query that produced the
+     *                   given result set (optional)
+     * @return The iterator
      */
     protected DynaSqlIterator createResultSetIterator(Database model, ResultSet resultSet, Table[] queryHints)
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/PostgreSqlPlatform.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/PostgreSqlPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/PostgreSqlPlatform.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/PostgreSqlPlatform.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -31,16 +31,16 @@
 /**
  * The platform implementation for PostgresSql.
  * 
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
+ * @author Thomas Dudziak
  * @version $Revision: 231306 $
  */
 public class PostgreSqlPlatform extends PlatformImplBase
 {
-    /** Database name of this platform */
+    /** Database name of this platform. */
     public static final String DATABASENAME      = "PostgreSql";
-    /** The standard PostgreSQL jdbc driver */
+    /** The standard PostgreSQL jdbc driver. */
     public static final String JDBC_DRIVER       = "org.postgresql.Driver";
-    /** The subprotocol used by the standard PostgreSQL driver */
+    /** The subprotocol used by the standard PostgreSQL driver. */
     public static final String JDBC_SUBPROTOCOL  = "postgresql";
 
     /**
@@ -84,8 +84,8 @@
         setSqlBuilder(new PostgreSqlBuilder(info));
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.builder.Platform#getName()
+    /**
+     * {@inheritDoc}
      */
     public String getName()
     {
@@ -183,8 +183,8 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.Platform#createDatabase(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map)
+    /**
+     * {@inheritDoc}
      */
     public void createDatabase(String jdbcDriverClassName, String connectionUrl, String username, String password, Map parameters) throws DynaSqlException, UnsupportedOperationException
     {
@@ -193,8 +193,8 @@
         createOrDropDatabase(jdbcDriverClassName, connectionUrl, username, password, parameters, true);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.platform.PlatformImplBase#dropDatabase(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
+    /**
+     * {@inheritDoc}
      */
     public void dropDatabase(String jdbcDriverClassName, String connectionUrl, String username, String password) throws DynaSqlException, UnsupportedOperationException
     {
@@ -202,6 +202,4 @@
         // the template1 database because it usually exists)
         createOrDropDatabase(jdbcDriverClassName, connectionUrl, username, password, null, false);
     }
-
-    
 }

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/SapDbPlatform.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/SapDbPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/SapDbPlatform.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/SapDbPlatform.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;
 
 /*
- * Copyright 1999-2002,2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,16 +24,16 @@
 /**
  * The SapDB platform implementation.
  * 
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
+ * @author Thomas Dudziak
  * @version $Revision: 231306 $
  */
 public class SapDbPlatform extends PlatformImplBase
 {
-    /** Database name of this platform */
+    /** Database name of this platform. */
     public static final String DATABASENAME     = "SapDB";
-    /** The standard SapDB/MaxDB jdbc driver */
+    /** The standard SapDB/MaxDB jdbc driver. */
     public static final String JDBC_DRIVER      = "com.sap.dbtech.jdbc.DriverSapDB";
-    /** The subprotocol used by the standard SapDB/MaxDB driver */
+    /** The subprotocol used by the standard SapDB/MaxDB driver. */
     public static final String JDBC_SUBPROTOCOL = "sapdb";
 
     /**
@@ -79,8 +79,8 @@
         setSqlBuilder(new SapDbBuilder(info));
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.builder.Platform#getName()
+    /**
+     * {@inheritDoc}
      */
     public String getName()
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/SybasePlatform.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/SybasePlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/SybasePlatform.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/SybasePlatform.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,18 +24,18 @@
 /**
  * The platform implementation for Sybase.
  * 
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
+ * @author Thomas Dudziak
  * @version $Revision: 231306 $
  */
 public class SybasePlatform extends PlatformImplBase
 {
-    /** Database name of this platform */
+    /** Database name of this platform. */
     public static final String DATABASENAME     = "Sybase";
-    /** The standard Sybase jdbc driver */
+    /** The standard Sybase jdbc driver. */
     public static final String JDBC_DRIVER      = "com.sybase.jdbc2.jdbc.SybDriver";
-    /** The old Sybase jdbc driver */
+    /** The old Sybase jdbc driver. */
     public static final String JDBC_DRIVER_OLD  = "com.sybase.jdbc.SybDriver";
-    /** The subprotocol used by the standard Sybase driver */
+    /** The subprotocol used by the standard Sybase driver. */
     public static final String JDBC_SUBPROTOCOL = "sybase:Tds";
 
     /**
@@ -78,8 +78,8 @@
         setSqlBuilder(new SybaseBuilder(info));
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.builder.Platform#getName()
+    /**
+     * {@inheritDoc}
      */
     public String getName()
     {

Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/package.html
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/package.html?rev=292045&view=auto
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/package.html (added)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/package.html Tue Sep 27 13:55:42 2005
@@ -0,0 +1,29 @@
+<html>
+<head>
+<!-- 
+ Copyright 1999-2005 The Apache Software Foundation.
+ 
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+   <meta name="Author" content="Thomas Dudziak">
+</head>
+<body bgcolor="white">
+  <p>
+  	This package contains the platform implementations for the individual databases.
+  	These are usually not used directly but rather created via the
+  	{@link org.apache.ddlutils.PlatformFactory} class and used through their base
+  	interface {@link org.apache.ddlutils.Platform}.
+  </p>
+</body>
+</html>

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/Command.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/Command.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/Command.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/Command.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.task;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -22,6 +22,9 @@
 
 /**
  * Base interface for commands that work with a model.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public interface Command
 {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/CreateDatabaseCommand.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/CreateDatabaseCommand.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/CreateDatabaseCommand.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/CreateDatabaseCommand.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.task;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -30,12 +30,12 @@
 /**
  * Command for creating a database.
  * 
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
+ * @author Thomas Dudziak
  * @version $Revision: 231306 $
  */
 public class CreateDatabaseCommand extends DatabaseCommand
 {
-    /** The additional creation parameters */
+    /** The additional creation parameters. */
     private ArrayList _parameters = new ArrayList();
 
     /**
@@ -48,8 +48,8 @@
         _parameters.add(param);
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.task.Command#execute(org.apache.tools.ant.Task, org.apache.ddlutils.model.Database)
+    /**
+     * {@inheritDoc}
      */
     public void execute(Task task, Database model) throws BuildException
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseCommand.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseCommand.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseCommand.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseCommand.java Tue Sep 27 13:55:42 2005
@@ -1,5 +1,21 @@
 package org.apache.ddlutils.task;
 
+/*
+ * Copyright 1999-2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import org.apache.commons.dbcp.BasicDataSource;
 import org.apache.ddlutils.Platform;
 import org.apache.ddlutils.PlatformFactory;
@@ -8,16 +24,19 @@
 
 /**
  * Base type for commands that have the database info embedded.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public abstract class DatabaseCommand implements Command
 {
-    /** The type of the database */
+    /** The type of the database. */
     private String _databaseType;
-    /** The data source to use for accessing the database */
+    /** The data source to use for accessing the database. */
     private BasicDataSource _dataSource;
-    /** Whether to stop execution upon an error */
+    /** Whether to stop execution upon an error. */
     private boolean _failOnError = true;
-    /** Whether to use delimited SQL identifiers */
+    /** Whether to use delimited SQL identifiers. */
     private boolean _useDelimitedSqlIdentifiers = true;
 
     /**

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseTaskBase.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseTaskBase.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseTaskBase.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseTaskBase.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.task;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -23,13 +23,19 @@
 import org.apache.ddlutils.model.Database;
 import org.apache.tools.ant.Task;
 
+/**
+ * Base class for DdlUtils Ant tasks that operate on a database.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
+ */
 public abstract class DatabaseTaskBase extends Task
 {
-    /** The type of the database */
+    /** The type of the database. */
     private String _databaseType;
-    /** The data source to use for accessing the database */
+    /** The data source to use for accessing the database. */
     private BasicDataSource _dataSource;
-    /** The sub tasks to execute */
+    /** The sub tasks to execute. */
     private ArrayList _commands = new ArrayList();
 
     /**

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseToDdlTask.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseToDdlTask.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseToDdlTask.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseToDdlTask.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.task;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -25,15 +25,19 @@
 import org.apache.tools.ant.Project;
 
 /**
- * Ant task for working with a database, e.g. retrieving the schema from a database, dumping data,
+ * Ant task for working with a database, e.g. retrieving the schema from a
+ * database, dumping data, etc.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public class DatabaseToDdlTask extends DatabaseTaskBase
 {
-    /** The specific schema to use */
+    /** The specific schema to use. */
     private String _schema;
-    /** The specific catalog to use */
+    /** The specific catalog to use. */
     private String _catalog;
-    /** The table types to recognize when reading the model from the database */
+    /** The table types to recognize when reading the model from the database. */
     private String _tableTypes;
 
     /**
@@ -87,7 +91,7 @@
     }
 
     /**
-     * Adds the "write schema sql to file"-command
+     * Adds the "write schema sql to file"-command.
      * 
      * @param command The command
      */
@@ -97,7 +101,7 @@
     }
 
     /**
-     * Adds the "write data into database"-command
+     * Adds the "write data into database"-command.
      * 
      * @param command The command
      */
@@ -172,8 +176,8 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.tools.ant.Task#execute()
+    /**
+     * {@inheritDoc}
      */
     public void execute() throws BuildException
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DdlToDatabaseTask.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DdlToDatabaseTask.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DdlToDatabaseTask.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DdlToDatabaseTask.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.task;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,13 +28,16 @@
 import org.apache.tools.ant.types.FileSet;
 
 /**
- * Ant task for working with DDL, e.g. generating the database from a schema, inserting data,
+ * Ant task for working with DDL, e.g. generating the database from a schema, inserting data.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public class DdlToDatabaseTask extends DatabaseTaskBase
 {
-    /** A single schema file to read */
+    /** A single schema file to read. */
     private File _singleSchemaFile = null;
-    /** The input files */
+    /** The input files. */
     private ArrayList _fileSets = new ArrayList();
 
     /**
@@ -88,7 +91,7 @@
     }
 
     /**
-     * Adds the "write schema to database"-command
+     * Adds the "write schema to database"-command.
      * 
      * @param command The command
      */
@@ -98,7 +101,7 @@
     }
 
     /**
-     * Adds the "write schema sql to file"-command
+     * Adds the "write schema sql to file"-command.
      * 
      * @param command The command
      */
@@ -108,7 +111,7 @@
     }
 
     /**
-     * Adds the "write data to database"-command
+     * Adds the "write data to database"-command.
      * 
      * @param command The command
      */
@@ -203,8 +206,8 @@
         return model;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.tools.ant.Task#execute()
+    /**
+     * {@inheritDoc}
      */
     public void execute() throws BuildException
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DropDatabaseCommand.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DropDatabaseCommand.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DropDatabaseCommand.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DropDatabaseCommand.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.task;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -25,11 +25,14 @@
 
 /**
  * Command for dropping a database.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public class DropDatabaseCommand extends DatabaseCommand
 {
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.task.Command#execute(org.apache.tools.ant.Task, org.apache.ddlutils.model.Database)
+    /**
+     * {@inheritDoc}
      */
     public void execute(Task task, Database model) throws BuildException
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DumpMetadataTask.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DumpMetadataTask.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DumpMetadataTask.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DumpMetadataTask.java Tue Sep 27 13:55:42 2005
@@ -1,5 +1,21 @@
 package org.apache.ddlutils.task;
 
+/*
+ * Copyright 1999-2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import java.io.File;
 import java.io.FileWriter;
 import java.lang.reflect.InvocationTargetException;
@@ -26,15 +42,18 @@
 
 /**
  * A simple task that dumps information about a database.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public class DumpMetadataTask extends Task
 {
-    /** Methods that are filtered when enumerating the properties */
+    /** Methods that are filtered when enumerating the properties. */
     private static final String[] IGNORED_PROPERTY_METHODS = { "getConnection", "getCatalogs" };
 
-    /** The data source to use for accessing the database */
+    /** The data source to use for accessing the database. */
     private BasicDataSource _dataSource;
-    /** The file to write the dump to */
+    /** The file to write the dump to. */
     private File _outputFile = null;
 
     /**
@@ -57,8 +76,8 @@
         _outputFile = outputFile;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.tools.ant.Task#execute()
+    /**
+     * {@inheritDoc}
      */
     public void execute() throws BuildException
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/Parameter.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/Parameter.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/Parameter.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/Parameter.java Tue Sep 27 13:55:42 2005
@@ -1,5 +1,21 @@
 package org.apache.ddlutils.task;
 
+/*
+ * Copyright 1999-2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import java.util.HashSet;
 import java.util.Set;
 import java.util.StringTokenizer;
@@ -9,16 +25,16 @@
  * A parameter which consists of a name-value pair and an optional list of platforms
  * for which the parameter is applicable.
  * 
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
+ * @author Thomas Dudziak
  * @version $Revision: 231306 $
  */
 public class Parameter
 {
-    /** The name */
+    /** The name. */
     private String _name;
-    /** The value */
+    /** The value. */
     private String _value;
-    /** The platforms for which this parameter is applicable */
+    /** The platforms for which this parameter is applicable. */
     private Set _platforms = new HashSet();
 
     /**

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDataToDatabaseCommand.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDataToDatabaseCommand.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDataToDatabaseCommand.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDataToDatabaseCommand.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.task;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -33,14 +33,17 @@
 
 /**
  * Command for inserting data into a database.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public class WriteDataToDatabaseCommand extends DatabaseCommand
 {
-    /** A single data file to insert */
+    /** A single data file to insert. */
     private File      _singleDataFile = null;
-    /** The input files */
+    /** The input files. */
     private ArrayList _fileSets = new ArrayList();
-    /** The converterd */
+    /** The converterd. */
     private ArrayList _converters = new ArrayList();
 
     /**
@@ -73,8 +76,8 @@
         _singleDataFile = dataFile;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.task.Command#execute(org.apache.tools.ant.Task, org.apache.ddlutils.model.Database)
+    /**
+     * {@inheritDoc}
      */
     public void execute(Task task, Database model) throws BuildException
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDataToFileCommand.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDataToFileCommand.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDataToFileCommand.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDataToFileCommand.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.task;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,12 +28,15 @@
 
 /**
  * Command to dump data from the database into an XML file.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public class WriteDataToFileCommand extends DatabaseCommand
 {
-    /** The file to output the data to */
+    /** The file to output the data to. */
     private File   _outputFile;
-    /** The character encoding to use */
+    /** The character encoding to use. */
     private String _encoding;
 
     /**
@@ -56,8 +59,8 @@
         _encoding = encoding;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.task.Command#execute(org.apache.tools.ant.Task, org.apache.ddlutils.model.Database)
+    /**
+     * {@inheritDoc}
      */
     public void execute(Task task, Database model) throws BuildException
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDataToSpecifiedDatabaseCommand.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDataToSpecifiedDatabaseCommand.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDataToSpecifiedDatabaseCommand.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDataToSpecifiedDatabaseCommand.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.task;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -31,12 +31,15 @@
 
 /**
  * Command for inserting data into a database that is specified as a sub-element.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public class WriteDataToSpecifiedDatabaseCommand extends DatabaseCommand
 {
-    /** A single data file to insert */
+    /** A single data file to insert. */
     private File      _singleDataFile = null;
-    /** The input files */
+    /** The input files. */
     private ArrayList _fileSets = new ArrayList();
 
     /**
@@ -59,8 +62,8 @@
         _singleDataFile = dataFile;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.task.Command#execute(org.apache.tools.ant.Task, org.apache.ddlutils.model.Database)
+    /**
+     * {@inheritDoc}
      */
     public void execute(Task task, Database model) throws BuildException
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDtdToFileCommand.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDtdToFileCommand.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDtdToFileCommand.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteDtdToFileCommand.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.task;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -27,10 +27,13 @@
 
 /**
  * The command for creating a data DTD for a given database model.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public class WriteDtdToFileCommand implements Command
 {
-    /** The file to output the DTD to */
+    /** The file to output the DTD to. */
     private File _outputFile;
 
     /**
@@ -43,8 +46,8 @@
         _outputFile = outputFile;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.task.Command#execute(org.apache.ddlutils.model.Database)
+    /**
+     * {@inheritDoc}
      */
     public void execute(Task task, Database model) throws BuildException
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaSqlToFileCommand.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaSqlToFileCommand.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaSqlToFileCommand.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaSqlToFileCommand.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.task;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -30,14 +30,17 @@
 
 /**
  * Creates the SQL for a schema and writes it to a file.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public class WriteSchemaSqlToFileCommand extends DatabaseCommand
 {
-    /** The file to output the DTD to */
+    /** The file to output the DTD to. */
     private File _outputFile;
-    /** Whether to alter or re-set the database if it already exists */
+    /** Whether to alter or re-set the database if it already exists. */
     private boolean _alterDb = true;
-    /** Whether to drop tables and the associated constraints if necessary */
+    /** Whether to drop tables and the associated constraints if necessary. */
     private boolean _doDrops = true;
 
     /**
@@ -90,8 +93,8 @@
         _doDrops = doDrops;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.task.Command#execute(org.apache.tools.ant.Task, org.apache.ddlutils.model.Database)
+    /**
+     * {@inheritDoc}
      */
     public void execute(Task task, Database model) throws BuildException
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaToDatabaseCommand.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaToDatabaseCommand.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaToDatabaseCommand.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaToDatabaseCommand.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.task;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,12 +24,15 @@
 
 /**
  * Command for writing a database schema into the database.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public class WriteSchemaToDatabaseCommand extends DatabaseCommand
 {
-    /** Whether to alter or re-set the database if it already exists */
+    /** Whether to alter or re-set the database if it already exists. */
     private boolean _alterDb = true;
-    /** Whether to drop tables and the associated constraints if necessary */
+    /** Whether to drop tables and the associated constraints if necessary. */
     private boolean _doDrops = true;
 
     /**
@@ -72,8 +75,8 @@
         _doDrops = doDrops;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.task.Command#execute(org.apache.tools.ant.Task, org.apache.ddlutils.model.Database)
+    /**
+     * {@inheritDoc}
      */
     public void execute(Task task, Database model) throws BuildException
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaToFileCommand.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaToFileCommand.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaToFileCommand.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/WriteSchemaToFileCommand.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.task;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -27,14 +27,17 @@
 
 /**
  * Command for writing the database schema to a file.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public class WriteSchemaToFileCommand implements Command
 {
-    /** The file to output the DTD to */
+    /** The file to output the schema to. */
     private File _outputFile;
 
     /**
-     * Sets the file to output the DTD to.
+     * Sets the file to output the schema to.
      * 
      * @param outputFile The output file
      */
@@ -43,8 +46,8 @@
         _outputFile = outputFile;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.task.Command#execute(org.apache.tools.ant.Task, org.apache.ddlutils.model.Database)
+    /**
+     * {@inheritDoc}
      */
     public void execute(Task task, Database model) throws BuildException
     {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/util/DatabaseTestHelper.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/util/DatabaseTestHelper.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/util/DatabaseTestHelper.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/util/DatabaseTestHelper.java Tue Sep 27 13:55:42 2005
@@ -1,5 +1,21 @@
 package org.apache.ddlutils.util;
 
+/*
+ * Copyright 1999-2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import java.util.Collection;
 import java.util.Iterator;
 import org.apache.commons.beanutils.DynaBean;
@@ -16,12 +32,12 @@
 /**
  * Class that provides utility stuff for cpmaring data in databases.
  *
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
+ * @author Thomas Dudziak
  * @version $Revision: 264616 $
  */
 public class DatabaseTestHelper extends Assert
 {
-    /** The log for this class */
+    /** The log for this class. */
     private final Log _log = LogFactory.getLog(DatabaseTestHelper.class);
 
     /**

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/util/Jdbc3Utils.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/util/Jdbc3Utils.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/util/Jdbc3Utils.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/util/Jdbc3Utils.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.util;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -22,6 +22,9 @@
 
 /**
  * Little helper class providing functions for dealing with the newer JDBC functionality.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public abstract class Jdbc3Utils
 {

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/util/JdbcSupport.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/util/JdbcSupport.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/util/JdbcSupport.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/util/JdbcSupport.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.util;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -33,16 +33,16 @@
  * perform JDBC operations. It contains a number of useful methods 
  * for implementation inheritence..
  *
- * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
+ * @author James Strachan
  * @version $Revision$
  */
 public abstract class JdbcSupport
 {
     /** The Log to which logging calls will be made. */
     private final Log _log = LogFactory.getLog(JdbcSupport.class);
-    /** The data source */
+    /** The data source. */
     private DataSource _dataSource;
-    /** The names of the currently borrowed connections (for debugging) */
+    /** The names of the currently borrowed connections (for debugging). */
     private HashSet _openConnectionNames = new HashSet();
 
     /**

Added: db/ddlutils/trunk/src/java/org/apache/ddlutils/util/package.html
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/util/package.html?rev=292045&view=auto
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/util/package.html (added)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/util/package.html Tue Sep 27 13:55:42 2005
@@ -0,0 +1,26 @@
+<html>
+<head>
+<!-- 
+ Copyright 1999-2005 The Apache Software Foundation.
+ 
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+   <meta name="Author" content="Thomas Dudziak">
+</head>
+<body bgcolor="white">
+  <p>
+  	The <code>org.apache.ddlutils.util</code> package contains utility classes of DdlUtils.
+  </p>
+</body>
+</html>

Modified: db/ddlutils/trunk/src/test/jdbc.properties.postgresql
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/jdbc.properties.postgresql?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/jdbc.properties.postgresql (original)
+++ db/ddlutils/trunk/src/test/jdbc.properties.postgresql Tue Sep 27 13:55:42 2005
@@ -12,8 +12,8 @@
 datasource.class=org.apache.commons.dbcp.BasicDataSource
 datasource.driverClassName=org.postgresql.Driver
 datasource.url=jdbc:postgresql://localhost/ddlutils
-#datasource.username=
-#datasource.password=
+datasource.username=postgres
+datasource.password=root123
 
 #
 # PostgreSQL comes with its own DataSource implementations which can be configured like this:

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/RunAllTests.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/RunAllTests.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/RunAllTests.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/RunAllTests.java Tue Sep 27 13:55:42 2005
@@ -1,5 +1,21 @@
 package org.apache.ddlutils;
 
+/*
+ * Copyright 1999-2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import org.apache.ddlutils.platform.TestAxionPlatform;
 import org.apache.ddlutils.platform.TestCloudscapePlatform;
 import org.apache.ddlutils.platform.TestDB2Platform;
@@ -24,6 +40,9 @@
 
 /**
  * Helper class to run all DdlUtils tests.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public class RunAllTests extends TestCase
 {

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=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/TestDatabaseWriterBase.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/TestDatabaseWriterBase.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -33,21 +33,24 @@
 
 /**
  * Base class for database writer tests.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public abstract class TestDatabaseWriterBase extends TestPlatformBase
 {
-    /** The name of the property that specifies properties file with the settings for the connection to test against */
+    /** The name of the property that specifies properties file with the settings for the connection to test against. */
     public static final String JDBC_PROPERTIES_PROPERTY = "jdbc.properties.file";
-    /** The prefix for properties of the datasource */
+    /** The prefix for properties of the datasource. */
     public static final String DATASOURCE_PROPERTY_PREFIX = "datasource.";
-    /** The property for specifying the platform */
+    /** The property for specifying the platform. */
     public static final String PLATFORM_PROPERTY = "ddlutils.platform";
 
-    /** The data source to test against */
+    /** The data source to test against. */
     private DataSource _dataSource;
-    /** The database name */
+    /** The database name. */
     private String _databaseName;
-    /** The database model */
+    /** The database model. */
     private Database _model;
 
     /**
@@ -115,8 +118,8 @@
         return _dataSource;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.TestBuilderBase#getDatabaseName()
+    /**
+     * {@inheritDoc}
      */
     protected String getDatabaseName()
     {
@@ -133,9 +136,8 @@
         return _model;
     }
 
-    
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.TestPlatformBase#setUp()
+    /**
+     * {@inheritDoc}
      */
     protected void setUp() throws Exception
     {
@@ -143,8 +145,8 @@
         getPlatform().setDataSource(getDataSource());
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.ddlutils.TestBuilderBase#tearDown()
+    /**
+     * {@inheritDoc}
      */
     protected void tearDown() throws Exception
     {
@@ -157,10 +159,9 @@
     }
 
     /**
-     * Creates a new database from the given XML database schema.
+     * Creates a new database model from the given XML database schema.
      * 
      * @param schemaXml The XML database schema
-     * @return The database model
      */
     protected void createDatabase(String schemaXml) throws DynaSqlException
     {

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/TestPlatformBase.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/TestPlatformBase.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/TestPlatformBase.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/TestPlatformBase.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -30,12 +30,12 @@
 /**
  * Base class for builder tests.
  * 
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
+ * @author Thomas Dudziak
  * @version $Revision$
  */
 public abstract class TestPlatformBase extends TestCase
 {
-    /** The database schema for testing the column types */
+    /** The database schema for testing the column types. */
     public static final String COLUMN_TEST_SCHEMA =
         "<?xml version='1.0' encoding='ISO-8859-1'?>\n" +
         "<database name='datatypetest'>\n" +
@@ -74,7 +74,7 @@
         "  </table>\n" +
         "</database>";
 
-    /** The database schema for testing column constraints */
+    /** The database schema for testing column constraints. */
     public static final String COLUMN_CONSTRAINT_TEST_SCHEMA =
         "<?xml version='1.0' encoding='ISO-8859-1'?>\n" +
         "<database name='columnconstraintstest'>\n" +
@@ -88,7 +88,7 @@
         "  </table>\n" +
         "</database>";
 
-    /** The database schema for testing table constraints, ie. foreign keys and indices */
+    /** The database schema for testing table constraints, ie. foreign keys and indices. */
     public static final String TABLE_CONSTRAINT_TEST_SCHEMA =
         "<?xml version='1.0' encoding='ISO-8859-1'?>\n" +
         "<database name='tableconstraintstest'>\n" +
@@ -124,16 +124,13 @@
         "  </table>\n" +
         "</database>";
 
-    /** The tested platform */
+    /** The tested platform. */
     private Platform _platform;
-
-    /** The writer that the builder of the platform writes to */
+    /** The writer that the builder of the platform writes to. */
     private StringWriter _writer;
 
-    /*
-     * (non-Javadoc)
-     * 
-     * @see junit.framework.TestCase#setUp()
+    /**
+     * {@inheritDoc}
      */
     protected void setUp() throws Exception
     {
@@ -142,10 +139,8 @@
         _platform.getSqlBuilder().setWriter(_writer);
     }
 
-    /*
-     * (non-Javadoc)
-     * 
-     * @see junit.framework.TestCase#tearDown()
+    /**
+     * {@inheritDoc}
      */
     protected void tearDown() throws Exception
     {

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/dynabean/TestDynaSqlQueries.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/dynabean/TestDynaSqlQueries.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/dynabean/TestDynaSqlQueries.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/dynabean/TestDynaSqlQueries.java Tue Sep 27 13:55:42 2005
@@ -1,12 +1,37 @@
 package org.apache.ddlutils.dynabean;
 
+/*
+ * Copyright 1999-2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import java.util.List;
 
 import org.apache.commons.beanutils.DynaBean;
 import org.apache.ddlutils.TestDatabaseWriterBase;
 
+/**
+ * Tests the sql querying.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
+ */
 public class TestDynaSqlQueries extends TestDatabaseWriterBase
 {
+    /**
+     * Tests a simple SELECT query.
+     */
     public void testSimpleQuery() throws Exception
     {
         createDatabase(
@@ -62,6 +87,9 @@
         assertFalse(it.isConnectionOpen());
     }
 
+    /**
+     * Tests a simple SELECT fetch.
+     */
     public void testSimpleFetch() throws Exception
     {
         createDatabase(
@@ -108,6 +136,9 @@
                      getPropertyValue(bean, "Text"));
     }
 
+    /**
+     * Tests a more complicated SELECT query that leads to a JOIN in the database.
+     */
     public void testJoinQuery() throws Exception
     {
         createDatabase(
@@ -148,5 +179,4 @@
         assertFalse(it.hasNext());
         assertFalse(it.isConnectionOpen());
     }
-
 }

Added: db/ddlutils/trunk/src/test/org/apache/ddlutils/dynabean/package.html
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/dynabean/package.html?rev=292045&view=auto
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/dynabean/package.html (added)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/dynabean/package.html Tue Sep 27 13:55:42 2005
@@ -0,0 +1,26 @@
+<html>
+<head>
+<!-- 
+ Copyright 1999-2005 The Apache Software Foundation.
+ 
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+   <meta name="Author" content="Thomas Dudziak">
+</head>
+<body bgcolor="white">
+  <p>
+  	This package contains the tests for the dynabean handling.
+  </p>
+</body>
+</html>

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAgainstAxionDb.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAgainstAxionDb.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAgainstAxionDb.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAgainstAxionDb.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.io;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -18,9 +18,15 @@
 
 import org.apache.ddlutils.TestDatabaseWriterBase;
 
+/**
+ * Performs tests against Axion.
+ * 
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
+ */
 public class TestAgainstAxionDb extends TestDatabaseWriterBase
 {
-    /** The database schema for testing all column types that Axion supports */
+    /** The database schema for testing all column types that Axion supports. */
     public static final String COLUMN_TEST_SCHEMA =
         "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"+
         "<database name=\"datatypetest\">\n"+
@@ -52,6 +58,9 @@
         "  </table>\n"+
         "</database>";
 
+    /**
+     * Tests the database creation.
+     */
     public void _testCreation() throws Exception
     {
         createDatabase(COLUMN_TEST_SCHEMA);

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDataReader.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDataReader.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDataReader.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDataReader.java Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.io;
 
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -27,11 +27,12 @@
 /**
  * Tests the {@link org.apache.ddlutils.io.DataReader} class.
  * 
- * @author <a href="mailto:tomdz@apache.org">Thomas Dudziak</a>
- * @version $Revision:$
+ * @author Thomas Dudziak
+ * @version $Revision: 289996 $
  */
 public class TestDataReader extends TestCase
 {
+    /** The tested XML database schema. */
     private static final String TEST_SCHEMA = 
         "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"+
         "<database name=\"bookstore\">\n"+
@@ -55,6 +56,7 @@
         "  </table>\n"+
         "</database>";
 
+    /** The test data. */
     private static final String TEST_DATA =
         "<data>\n"+
         "  <author author_id=\"1\" name=\"Ernest Hemingway\"/>\n"+
@@ -76,9 +78,12 @@
         "  </book>\n"+
         "</data>";
 
+    /**
+     * Tests reading the data from XML.
+     */
     public void testRead() throws Exception
     {
-        DatabaseIO  modelReader = new DatabaseIO();
+        DatabaseIO      modelReader = new DatabaseIO();
         Database        model       = modelReader.read(new StringReader(TEST_SCHEMA));
         final ArrayList readObjects = new ArrayList();
         DataReader      dataReader  = new DataReader();



Mime
View raw message