This is an automated email from the ASF dual-hosted git repository.

doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git


The following commit(s) were added to refs/heads/master by this push:
     new ec2a4cf4 EMPIREDB-386 Javadoc fixes
ec2a4cf4 is described below

commit ec2a4cf433abcaeea2bc64162c9bf1c0ba5534e1
Author: Rainer Döbele <[email protected]>
AuthorDate: Fri Apr 14 13:47:43 2023 +0200

    EMPIREDB-386
    Javadoc fixes
---
 .../java/org/apache/empire/commons/Attributes.java |  1 +
 .../java/org/apache/empire/commons/ClassUtils.java | 14 ++++-
 .../org/apache/empire/commons/ObjectUtils.java     | 34 ++++++++--
 .../java/org/apache/empire/commons/Options.java    |  8 ++-
 .../org/apache/empire/commons/StringUtils.java     |  4 +-
 .../org/apache/empire/commons/Unwrappable.java     |  1 +
 .../main/java/org/apache/empire/data/Column.java   |  1 +
 .../main/java/org/apache/empire/data/Record.java   |  5 +-
 .../java/org/apache/empire/data/RecordData.java    |  2 +-
 .../org/apache/empire/data/bean/BeanClass.java     |  2 +-
 .../org/apache/empire/data/bean/BeanProperty.java  | 31 +++++-----
 .../org/apache/empire/data/bean/BeanResult.java    | 15 ++---
 .../org/apache/empire/data/list/DataListEntry.java |  4 +-
 .../empire/data/list/DataListFactoryImpl.java      |  1 +
 .../org/apache/empire/data/list/DataListHead.java  |  4 +-
 .../java/org/apache/empire/db/DBCmdParamList.java  |  5 +-
 .../main/java/org/apache/empire/db/DBColumn.java   |  3 +-
 .../java/org/apache/empire/db/DBColumnExpr.java    | 20 +++---
 .../main/java/org/apache/empire/db/DBCommand.java  | 63 ++++++++++++-------
 .../java/org/apache/empire/db/DBCommandExpr.java   | 28 +++++++--
 .../main/java/org/apache/empire/db/DBDatabase.java | 20 +++---
 .../org/apache/empire/db/DBExpressionIndex.java    |  2 +-
 .../main/java/org/apache/empire/db/DBIndex.java    |  2 +-
 .../main/java/org/apache/empire/db/DBObject.java   |  8 ++-
 .../main/java/org/apache/empire/db/DBQuery.java    | 32 ++++++----
 .../main/java/org/apache/empire/db/DBReader.java   | 12 +---
 .../main/java/org/apache/empire/db/DBRecord.java   |  6 +-
 .../java/org/apache/empire/db/DBRecordBase.java    | 20 +++---
 .../java/org/apache/empire/db/DBRecordBean.java    | 23 ++++---
 .../java/org/apache/empire/db/DBRecordData.java    |  8 +--
 .../main/java/org/apache/empire/db/DBRowSet.java   | 53 ++++++----------
 .../java/org/apache/empire/db/DBSQLBuilder.java    | 24 +++-----
 .../java/org/apache/empire/db/DBSQLScript.java     |  3 +-
 .../main/java/org/apache/empire/db/DBTable.java    | 16 ++---
 .../java/org/apache/empire/db/DBTableColumn.java   |  3 +-
 .../main/java/org/apache/empire/db/DBUtils.java    | 72 ++++++++++++++--------
 .../apache/empire/db/context/DBContextBase.java    |  2 -
 .../apache/empire/db/context/DBContextStatic.java  | 23 ++++---
 .../empire/db/context/DBRollbackManager.java       | 15 +++--
 .../empire/db/expr/column/DBAbstractFuncExpr.java  |  1 -
 .../empire/db/expr/column/DBCaseWhenExpr.java      |  5 +-
 .../apache/empire/db/expr/column/DBConcatExpr.java |  4 +-
 .../apache/empire/db/expr/column/DBFuncExpr.java   |  1 -
 .../empire/db/expr/column/DBParenthesisExpr.java   |  1 -
 .../apache/empire/db/expr/column/DBScalarExpr.java | 12 ++--
 .../apache/empire/db/expr/column/DBValueExpr.java  |  2 +-
 .../empire/db/expr/compare/DBCompareAndOrExpr.java |  2 +-
 .../empire/db/expr/compare/DBCompareColExpr.java   |  2 +-
 .../empire/db/expr/compare/DBCompareExpr.java      |  2 +-
 .../empire/db/expr/compare/DBCompareNotExpr.java   |  2 +-
 .../empire/db/expr/compare/DBExistsExpr.java       |  2 +-
 .../empire/db/expr/join/DBColumnJoinExpr.java      |  9 +--
 .../empire/db/expr/join/DBCompareJoinExpr.java     |  2 +-
 .../empire/db/expr/join/DBCrossJoinExpr.java       | 10 +--
 .../org/apache/empire/db/expr/join/DBJoinExpr.java | 14 ++---
 .../org/apache/empire/db/expr/set/DBSetExpr.java   |  2 +-
 .../empire/db/list/DBRecordListFactoryImpl.java    |  3 +-
 .../empire/db/validation/DBModelChecker.java       |  3 +-
 .../empire/db/validation/DBModelErrorHandler.java  | 11 ++--
 .../apache/empire/db/validation/DBModelParser.java | 10 +--
 .../java/org/apache/empire/dbms/DBMSHandler.java   |  9 +--
 .../org/apache/empire/dbms/DBMSHandlerBase.java    | 11 ++--
 .../java/org/apache/empire/dbms/DBSqlPhrase.java   |  1 -
 .../apache/empire/dbms/derby/DBMSHandlerDerby.java |  6 +-
 .../org/apache/empire/dbms/h2/DBMSHandlerH2.java   |  6 +-
 .../apache/empire/dbms/hsql/DBMSHandlerHSql.java   |  6 +-
 .../apache/empire/dbms/mysql/DBMSHandlerMySQL.java | 10 +--
 .../apache/empire/dbms/oracle/DBCommandOracle.java |  8 +--
 .../empire/dbms/oracle/DBMSHandlerOracle.java      |  6 +-
 .../dbms/postgresql/DBMSHandlerPostgreSQL.java     |  6 +-
 .../empire/dbms/sqlite/DBMSHandlerSQLite.java      |  8 +--
 .../empire/dbms/sqlserver/DBMSHandlerMSSQL.java    |  6 +-
 .../empire/dbms/sqlserver/MSSqlDBModelParser.java  |  2 +-
 73 files changed, 424 insertions(+), 351 deletions(-)

diff --git a/empire-db/src/main/java/org/apache/empire/commons/Attributes.java 
b/empire-db/src/main/java/org/apache/empire/commons/Attributes.java
index bdaf632d..be6ad2ed 100644
--- a/empire-db/src/main/java/org/apache/empire/commons/Attributes.java
+++ b/empire-db/src/main/java/org/apache/empire/commons/Attributes.java
@@ -230,6 +230,7 @@ public class Attributes extends 
AbstractSet<Attributes.Attribute> implements Clo
     /**
      * @param name the attribute
      * @param value The attribute to set
+     * @return the attribute
      */
     public Attribute set(String name, Object value)
     {
diff --git a/empire-db/src/main/java/org/apache/empire/commons/ClassUtils.java 
b/empire-db/src/main/java/org/apache/empire/commons/ClassUtils.java
index dab81923..f71daa58 100644
--- a/empire-db/src/main/java/org/apache/empire/commons/ClassUtils.java
+++ b/empire-db/src/main/java/org/apache/empire/commons/ClassUtils.java
@@ -52,8 +52,10 @@ public final class ClassUtils
 
     /**
      * Used to test Serialization
-     * @param objToSerialize
-     * @return
+     * @param <T> the class type
+     * @param clazz class to serialize
+     * @param objToSerialize objedt to serialize
+     * @return the unserializedObject
      */
     @SuppressWarnings("unchecked")
     public static <T> T testSerialization(Class<T> clazz, T objToSerialize)
@@ -104,6 +106,7 @@ public final class ClassUtils
 
     /**
      * Makes a copy of an object if possible or returns the object itself if 
copy is not supported 
+     * @param <T> the class type
      * @param obj the object to copy
      * @return either a copy of the object or the object itself if copy is not 
supported
      */
@@ -114,7 +117,9 @@ public final class ClassUtils
     
     /**
      * Makes a copy of an object if possible or returns null or self 
(depending on flags) 
+     * @param <T> the class type
      * @param obj the object to copy
+     * @param flags options for the copy
      * @return either a copy of the object or null the object itself
      */
     @SuppressWarnings("unchecked")
@@ -301,6 +306,11 @@ public final class ClassUtils
 
     /**
      * copied from org.apache.commons.beanutils.ConstructorUtils since it's 
private there
+     * @param <T> the class type
+     * @param clazz the class of the object
+     * @param minParams minimum number of params
+     * @param parameterTypes the param types
+     * @return the constructor or null
      */
     public static <T> Constructor<T> findMatchingConstructor(Class<T> clazz, 
int minParams, Class<?>... parameterTypes)
     {
diff --git a/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java 
b/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java
index ab5c4a7d..e59957f0 100644
--- a/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java
+++ b/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java
@@ -276,8 +276,8 @@ public final class ObjectUtils
     /**
      * Compares two ColumnExpr for equality
      *
-     * @param expr1
-     * @param expr2
+     * @param expr a column expression
+     * @param other a column expression
      *
      * @return true if both expressions are equal or false otherwise
      */
@@ -590,6 +590,7 @@ public final class ObjectUtils
     
     /**
      * Converts an object to an enum of the given type
+     * @param <T> the type of the enum
      * @param enumType the enum type
      * @param value the value to convert
      * @return the enum
@@ -644,6 +645,7 @@ public final class ObjectUtils
 
     /**
      * find by name
+     * @param <T> the type of the enum
      * @param enumType the enum type
      * @param name the enum name
      * @return the enum
@@ -663,6 +665,9 @@ public final class ObjectUtils
     
     /**
      * Convert Enum to Object
+     * @param enumValue the enum
+     * @param isNumeric flag if number or string is required
+     * @return the number or string representing this enum
      */
     public static Object getEnumValue(Enum<?> enumValue, boolean isNumeric)
     {
@@ -674,7 +679,9 @@ public final class ObjectUtils
     }
     
     /**
-     * Convert Enum to String
+     * Converts an Enum to a String
+     * @param enumValue the enum
+     * @return the corresponding string value
      */
     public static String getString(Enum<?> enumValue)
     {
@@ -689,7 +696,9 @@ public final class ObjectUtils
     }
     
     /**
-     * Convert Object to String
+     * Converts an Object to a String
+     * @param value the value to convert
+     * @return the corresponding string value
      */
     public static String getString(Object value)
     {
@@ -713,6 +722,7 @@ public final class ObjectUtils
      * <P>
      * @param v the object to convert
      * @return the Date value of o or null
+     * @throws ParseException
      */
     public static Date toDate(Object v)
         throws ParseException
@@ -933,6 +943,12 @@ public final class ObjectUtils
         return c.cast(v);
     }
 
+    /**
+     * Checks if a class is assignment compatible with another class
+     * @param target the target class
+     * @param source the source class
+     * @return true if assignment compatible or false otherwise
+     */
     public static boolean isAssignmentCompatible(Class<?> target, Class<?> 
source)
     {
         // try plain assignment
@@ -993,6 +1009,7 @@ public final class ObjectUtils
     /**
      * Converts varArgs to an array
      * 
+     * @param <T> the type of elements
      * @param t the type of the array
      * @param values the array values
      * 
@@ -1009,6 +1026,7 @@ public final class ObjectUtils
     /**
      * Converts an array to a list
      * 
+     * @param <T> the type of elements
      * @param t the type of the list items
      * @param array the array to be converted
      * 
@@ -1059,6 +1077,7 @@ public final class ObjectUtils
     /**
      * Unwraps an object implementing the Unwrappable interface
      * If the object does not Implement the Interface or is not a wrapper then 
the object itself is returned 
+     * @param <T> the type of the object
      * @param object the object to unwrap
      * @return the unwrapped object or the object itself
      */
@@ -1076,6 +1095,7 @@ public final class ObjectUtils
      * returns whether or not a array contains a certain item
      * performs a simple (==) comparison (fast)
      * 
+     * @param <T> the type of the object
      * @param array the array to search
      * @param item the item to search for
      * 
@@ -1121,6 +1141,7 @@ public final class ObjectUtils
      * returns whether or not a array contains a certain item
      * performs a simple (==) comparison (fast)
      * 
+     * @param <T> the type of elements
      * @param array the array to search
      * @param item the item to search for
      * 
@@ -1133,8 +1154,9 @@ public final class ObjectUtils
 
     /**
      * combines two arrays
-     * @param left
-     * @param right
+     * @param <T> the type of the array items
+     * @param left the left array
+     * @param right the right array
      * @return the combined array
      */
     public static <T> T[] combine(T[] left, T[] right)
diff --git a/empire-db/src/main/java/org/apache/empire/commons/Options.java 
b/empire-db/src/main/java/org/apache/empire/commons/Options.java
index 429b467a..46163c9c 100644
--- a/empire-db/src/main/java/org/apache/empire/commons/Options.java
+++ b/empire-db/src/main/java/org/apache/empire/commons/Options.java
@@ -37,7 +37,6 @@ import org.w3c.dom.Element;
  * Additionally the class provides a text string describing the value for 
display purposes.<BR>
  * The class is implemented as a set of OptionEntry objects 
  * where the entry value is used as the key for the set and thus must be 
unique.<BR>
- * <P> 
  */
 public class Options extends AbstractSet<OptionEntry> implements Cloneable, 
Serializable
 {
@@ -177,6 +176,7 @@ public class Options extends AbstractSet<OptionEntry> 
implements Cloneable, Seri
      * 
      * @param value the value object
      * @param text the text
+     * @param active flag if element is active (selectable)
      * @param pos the position, see {@link InsertPos}
      */
     public void set(Object value, String text, boolean active, InsertPos pos)
@@ -235,7 +235,7 @@ public class Options extends AbstractSet<OptionEntry> 
implements Cloneable, Seri
      * 
      * @param value the value
      * @param text the text
-     * @param noCheck set to true to skip testing for an existing key (handle 
with care!)
+     * @param active flag if element is active (selectable)
      */
     public void add(Object value, String text, boolean active)
     {
@@ -285,6 +285,8 @@ public class Options extends AbstractSet<OptionEntry> 
implements Cloneable, Seri
     
     /**
      * same as contains(), but IDE may not issue warning
+     * @param value the value to check
+     * @return true if it exists in the options list
      */
     public boolean has(Object value)
     {   // Check if exits
@@ -351,7 +353,7 @@ public class Options extends AbstractSet<OptionEntry> 
implements Cloneable, Seri
      * Adds all these options to the xml element
      * 
      * @param element the element to add the option tags to
-     * @param flags not used for now
+     * @param dataType the dataType of the element
      */
     public void addXml(Element element, DataType dataType)
     { 
diff --git a/empire-db/src/main/java/org/apache/empire/commons/StringUtils.java 
b/empire-db/src/main/java/org/apache/empire/commons/StringUtils.java
index 74c1e547..50a682e4 100644
--- a/empire-db/src/main/java/org/apache/empire/commons/StringUtils.java
+++ b/empire-db/src/main/java/org/apache/empire/commons/StringUtils.java
@@ -539,6 +539,7 @@ public class StringUtils
     /**
      * returns true if the first count characters of s are all upper case (or 
other non-case sensitive characters)
      * @param s the source string
+     * @param count number of characters to check
      * @return true if the first count characters of s are all upper case
      */
     public static boolean isUpper(String s, int count)
@@ -565,6 +566,7 @@ public class StringUtils
     /**
      * returns true if the first count characters of s are all lower case (or 
other non-case sensitive characters)
      * @param s the source string
+     * @param count number of characters to check
      * @return true if the first count characters of s are all lower case
      */
     public static boolean isLower(String s, int count)
@@ -615,7 +617,7 @@ public class StringUtils
     /**
      * truncates a string to a maximum number of chars 
      * @param s the source string
-     * @param the maximum number of chars
+     * @param maxChar the maximum number of chars
      * @return the result string
      */
     public static String truncate(String s, int maxChar)
diff --git a/empire-db/src/main/java/org/apache/empire/commons/Unwrappable.java 
b/empire-db/src/main/java/org/apache/empire/commons/Unwrappable.java
index 8963db1b..b602f5a0 100644
--- a/empire-db/src/main/java/org/apache/empire/commons/Unwrappable.java
+++ b/empire-db/src/main/java/org/apache/empire/commons/Unwrappable.java
@@ -22,6 +22,7 @@ public interface Unwrappable<T>
 {
     /**
      * Returns true if the object is a wrapper for another object
+     * @return true if its a wrapper or false otherwise
      */
     boolean isWrapper();
 
diff --git a/empire-db/src/main/java/org/apache/empire/data/Column.java 
b/empire-db/src/main/java/org/apache/empire/data/Column.java
index c5e5c5e7..8e14431b 100644
--- a/empire-db/src/main/java/org/apache/empire/data/Column.java
+++ b/empire-db/src/main/java/org/apache/empire/data/Column.java
@@ -93,6 +93,7 @@ public interface Column extends ColumnExpr
     /**
      * Checks if the given value is a valid value for this column 
      * If not, an exception is thrown
+     * @param value the value to validate
      * @return the value the validated and possibly converted value
      */
     Object validateValue(Object value);
diff --git a/empire-db/src/main/java/org/apache/empire/data/Record.java 
b/empire-db/src/main/java/org/apache/empire/data/Record.java
index d5ef0c7b..1e6f7abe 100644
--- a/empire-db/src/main/java/org/apache/empire/data/Record.java
+++ b/empire-db/src/main/java/org/apache/empire/data/Record.java
@@ -37,8 +37,8 @@ public interface Record extends RecordData
 {
     /**
      * varArgs to Array
-     * @param parts
-     * @return
+     * @param values the list of key values
+     * @return the record key
      */
     public static Object[] key(Object... values)
     {
@@ -148,6 +148,7 @@ public interface Record extends RecordData
      * sets a record value based on a column.
      * @param column the requested column
      * @param value the new record value for the given column
+     * @return the record (this)
      */
     Record set(Column column, Object value);
 
diff --git a/empire-db/src/main/java/org/apache/empire/data/RecordData.java 
b/empire-db/src/main/java/org/apache/empire/data/RecordData.java
index e42cf063..4400344c 100644
--- a/empire-db/src/main/java/org/apache/empire/data/RecordData.java
+++ b/empire-db/src/main/java/org/apache/empire/data/RecordData.java
@@ -25,7 +25,6 @@ import java.util.Collection;
  * <P>
  * The Record interface is implemented by the classes {@link 
org.apache.empire.db.DBReader}
  * and {@link org.apache.empire.db.DBRecordData}.
- * <P>
  */
 public interface RecordData
 {
@@ -97,6 +96,7 @@ public interface RecordData
      * the property name is detected by ColumnExpr.getBeanPropertyName()     
      * @param bean the Java Bean for which to set the properties
      * @param ignoreList list of columns to skip (optional)
+     * @return number of fields that have been copied
      */
     int setBeanProperties(Object bean, Collection<? extends ColumnExpr> 
ignoreList);
 
diff --git a/empire-db/src/main/java/org/apache/empire/data/bean/BeanClass.java 
b/empire-db/src/main/java/org/apache/empire/data/bean/BeanClass.java
index ccdaf88d..df7ff20b 100644
--- a/empire-db/src/main/java/org/apache/empire/data/bean/BeanClass.java
+++ b/empire-db/src/main/java/org/apache/empire/data/bean/BeanClass.java
@@ -91,7 +91,7 @@ public abstract class BeanClass implements EntityType
 
     /**
      * Sets the key to a single column
-     * @param keyColumn
+     * @param keyColumn the key column
      */
     protected final void setKeyColumn(Column keyColumn)
     {
diff --git 
a/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java 
b/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java
index 57a14ed5..d93f41f7 100644
--- a/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java
+++ b/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java
@@ -52,12 +52,12 @@ public class BeanProperty implements Column
 
     /**
      * Constructs a bean property definition
-     * @param name
-     * @param dataType
-     * @param size
-     * @param required
-     * @param controlType
-     * @param readOnly
+     * @param name the name of the property
+     * @param dataType the type of the property
+     * @param size the size
+     * @param required flag true if required
+     * @param controlType string indication which type of control to use
+     * @param readOnly flag true if read-only
      */
     public BeanProperty(String name, DataType dataType, double size, boolean 
required, String controlType, boolean readOnly)
     {
@@ -71,12 +71,11 @@ public class BeanProperty implements Column
 
     /**
      * Constructs a bean property definition
-     * @param name
-     * @param dataType
-     * @param size
-     * @param required
-     * @param controlType
-     * @param readOnly
+     * @param name the name of the property
+     * @param dataType the type of the property
+     * @param size the size
+     * @param required flag true if required
+     * @param controlType string indication which type of control to use
      */
     public BeanProperty(String name, DataType dataType, double size, boolean 
required, String controlType)
     {
@@ -85,10 +84,10 @@ public class BeanProperty implements Column
     
     /**
      * Constructs a bean property definition
-     * @param name
-     * @param dataType
-     * @param size
-     * @param required
+     * @param name the name of the property
+     * @param dataType the type of the property
+     * @param size the size
+     * @param required flag true if required
      */
     public BeanProperty(String name, DataType dataType, double size, boolean 
required)
     {
diff --git 
a/empire-db/src/main/java/org/apache/empire/data/bean/BeanResult.java 
b/empire-db/src/main/java/org/apache/empire/data/bean/BeanResult.java
index 46d2743a..2b91416c 100644
--- a/empire-db/src/main/java/org/apache/empire/data/bean/BeanResult.java
+++ b/empire-db/src/main/java/org/apache/empire/data/bean/BeanResult.java
@@ -56,8 +56,8 @@ public class BeanResult<T> extends ArrayList<T>
     /**
      * Create a bean result from a command object.
      * No checks will be performed here whether the command is compatible with 
the supplied class.
-     * @param beanType
-     * @param cmd
+     * @param beanType the bean type
+     * @param cmd the command
      */
     public BeanResult(Class<T> beanType, DBCommand cmd)
     {
@@ -71,7 +71,7 @@ public class BeanResult<T> extends ArrayList<T>
      * Creates a bean result for a Table, View or Query from the supplied 
columns.
      * At least one column must match the given getters / setters on the 
supplied class otherwise an BeanIncompatibleException will be thrown.
      * @param beanType the of T
-     * @param rowset the rowset 
+     * @param rowset the rowset
      */
     public BeanResult(Class<T> beanType, DBRowSet rowset)
     {
@@ -110,7 +110,7 @@ public class BeanResult<T> extends ArrayList<T>
     
     /**
      * Executes the query and fetches the result
-     * @param context
+     * @param context the database context
      * @param maxItems the maximum number of items to query
      * @return the number of items fetched by the query
      */
@@ -135,7 +135,7 @@ public class BeanResult<T> extends ArrayList<T>
 
     /**
      * Executes the query and fetches the result
-     * @param context
+     * @param context the database context
      * @return the number of items fetched by the query
      */
     public final int fetch(DBContext context)
@@ -145,7 +145,7 @@ public class BeanResult<T> extends ArrayList<T>
     
     /**
      * Selects all columns for a given rowset
-     * @param rowset
+     * @param rowset the rowset for which to select all columns
      */
     protected void autoSelectColumns(DBRowSet rowset)
     {
@@ -173,8 +173,9 @@ public class BeanResult<T> extends ArrayList<T>
     /**
      * Checks if the property is accessible i.e. has a getter method on the 
beanType
      * @param methods the beanType methods
-     * @param propety the property to check
+     * @param property the property to check
      * @param dataType the dataType
+     * @return true if the property is accessible or false otherwise
      */
     protected boolean isPropertyAcessible(Method[] methods, String property, 
DataType dataType)
     {
diff --git 
a/empire-db/src/main/java/org/apache/empire/data/list/DataListEntry.java 
b/empire-db/src/main/java/org/apache/empire/data/list/DataListEntry.java
index 7e25fb0e..c6e01907 100644
--- a/empire-db/src/main/java/org/apache/empire/data/list/DataListEntry.java
+++ b/empire-db/src/main/java/org/apache/empire/data/list/DataListEntry.java
@@ -208,7 +208,9 @@ public class DataListEntry implements RecordData, 
Serializable
     }
     
     /**
-     * @Deprecated Renamed to get(...)   
+     * Deprecated Renamed to get(...)
+     * @param column the column
+     * @return the field value   
      */
     @Deprecated
     public Object getValue(ColumnExpr column)
diff --git 
a/empire-db/src/main/java/org/apache/empire/data/list/DataListFactoryImpl.java 
b/empire-db/src/main/java/org/apache/empire/data/list/DataListFactoryImpl.java
index 669f9f63..96a0eb1e 100644
--- 
a/empire-db/src/main/java/org/apache/empire/data/list/DataListFactoryImpl.java
+++ 
b/empire-db/src/main/java/org/apache/empire/data/list/DataListFactoryImpl.java
@@ -40,6 +40,7 @@ public class DataListFactoryImpl<T extends DataListEntry> 
implements DataListFac
 {
     /**
      * Finds a constructor for listEntryClass
+     * @param <T> the type of the DataListEntry
      * @param listEntryClass the listEntryClass to instantiate
      * @param listHeadClass the DataListHead class
      * @return the constructor
diff --git 
a/empire-db/src/main/java/org/apache/empire/data/list/DataListHead.java 
b/empire-db/src/main/java/org/apache/empire/data/list/DataListHead.java
index 8ccea110..c48fa2e9 100644
--- a/empire-db/src/main/java/org/apache/empire/data/list/DataListHead.java
+++ b/empire-db/src/main/java/org/apache/empire/data/list/DataListHead.java
@@ -39,7 +39,6 @@ public class DataListHead implements Serializable
 
     /**
      * Constructs a DataListHead based on an DataListEntry constructor
-     * @param constructor the DataListEntry constructor
      * @param columns the list entry columns
      */
     public DataListHead(ColumnExpr[] columns) 
@@ -74,6 +73,7 @@ public class DataListHead implements Serializable
     /**
      * Returns the database instance associated with this DataList (if any)
      * The database is extracted from the column list 
+     * @param <T> the type of the database
      * @param dbClass the desired subclass of DBDatabase
      * @return the database instance or null if no Database instance of this 
type could be found
      */
@@ -96,7 +96,7 @@ public class DataListHead implements Serializable
      * Returns the value of a column as a formatted text
      * This converts the value to a string if necessary and performs an 
options lookup
      * To customize conversion please override convertToString()
-     * @param column the column for which to get the formatted value
+     * @param idx the field index for which to get the formatted value
      * @param value the value to format
      * @return the formatted value
      */
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBCmdParamList.java 
b/empire-db/src/main/java/org/apache/empire/db/DBCmdParamList.java
index 09491937..4508525f 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBCmdParamList.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBCmdParamList.java
@@ -130,6 +130,7 @@ public class DBCmdParamList implements DBCmdParams
     /**
      * internally used to reset the command param usage count.
      * Note: Only one thread my generate an SQL statement 
+     * @param cmd the command object
      */
     public void resetParamUsage(DBCommand cmd)
     {
@@ -145,6 +146,7 @@ public class DBCmdParamList implements DBCmdParams
     /**
      * internally used to remove unused Command Params from list
      * Note: Only one thread my generate an SQL statement 
+     * @param cmd the command object
      */
     public void completeParamUsage(DBCommand cmd)
     {
@@ -164,7 +166,7 @@ public class DBCmdParamList implements DBCmdParams
     
     /**
      * Used to merge CmdParams from a subquery with the current command params 
list
-     * @param subQueryParams
+     * @param subQueryParams the subquery params
      */
     public void mergeSubqueryParams(DBCmdParams subQueryParams)
     {
@@ -179,6 +181,7 @@ public class DBCmdParamList implements DBCmdParams
     
     /**
      * internally used to reorder the command params to match their order of 
occurance
+     * @param param the param being used
      */
     protected void notifyParamUsage(DBCmdParam param)
     {
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBColumn.java 
b/empire-db/src/main/java/org/apache/empire/db/DBColumn.java
index b5bc4e0b..f292d2a0 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBColumn.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBColumn.java
@@ -312,7 +312,6 @@ public abstract class DBColumn extends DBColumnExpr
 
     /**
      * Returns the full qualified column name.
-     *
      * @return the full qualified column name
      */
     public String getFullName()
@@ -325,6 +324,7 @@ public abstract class DBColumn extends DBColumnExpr
 
     /**
      * returns the qualified alias name for this column
+     * @return the alias
      */
     public String getAlias()
     {
@@ -339,6 +339,7 @@ public abstract class DBColumn extends DBColumnExpr
 
     /**
      * returns an expression that renames the column with its alias name
+     * @return a qualified expression for this column
      */
     @Override
     public DBColumnExpr qualified()
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBColumnExpr.java 
b/empire-db/src/main/java/org/apache/empire/db/DBColumnExpr.java
index f9bd0428..73a8c25d 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBColumnExpr.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBColumnExpr.java
@@ -434,7 +434,7 @@ public abstract class DBColumnExpr extends DBExpr
     /**
      * Creates and returns an expression for the SQL "in" operator. 
      * 
-     * @param list the values to compare this column with
+     * @param values the values to compare this column with
      * @return a DBCompareColExpr for the "in" operator
      */
     public final DBCompareColExpr in(Collection<?> values)
@@ -671,7 +671,6 @@ public abstract class DBColumnExpr extends DBExpr
      *
      * @param phrase the id of the SQL-phrase
      * @param params the params to replace in the template
-     * @param isAggregate indicates whether the Function creates an aggregate
      * @param dataType the resulting data Type
      * @return the new DBCalcExpr object
      */
@@ -1356,7 +1355,8 @@ public abstract class DBColumnExpr extends DBExpr
      *  ? = the expression on which the function is applied (usually a column 
expression)
      *  {[param-index]:[DataType]} = a function parameter. The DataType name, 
if supplied, must match the name of a DataType enum value.
      * @param template the sql phrase template (see above)
-     * @param dataType the returned DataType
+     * @param returnType the returned DataType
+     * @param params the list of function parameter values 
      * @return the function expression
      */
     public final DBColumnExpr function(String template, DataType returnType, 
Object... params)
@@ -1370,7 +1370,8 @@ public abstract class DBColumnExpr extends DBExpr
      *  ? = the expression on which the function is applied (usually a column 
expression)
      *  {[param-index]:[DataType]} = a function parameter. The DataType name, 
if supplied, must match the name of a DataType enum value.
      * @param template the sql phrase template (see above)
-     * @param dataType the returned DataType
+     * @param returnType the returned DataType
+     * @param params additional function parameters
      * @return the aggregate expression
      */
     public final DBColumnExpr aggregate(String template, DataType returnType, 
Object... params)
@@ -1403,7 +1404,13 @@ public abstract class DBColumnExpr extends DBExpr
     }
     
     /*
-     * Joins
+     * Join
+     */
+    
+    /**
+     * create a join expression for DBCommand.join()
+     * @param joinWith the column expression to join this expression with
+     * @return the join expression
      */
     public DBColumnJoinExpr on(DBColumnExpr joinWith)
     {
@@ -1423,8 +1430,7 @@ public abstract class DBColumnExpr extends DBExpr
  
     /**
      * returns a corresponding Java type for this expression
-     * @param expr
-     * @return
+     * @return the java type
      */
     public Class<?> getJavaType()
     {
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBCommand.java 
b/empire-db/src/main/java/org/apache/empire/db/DBCommand.java
index 40582d04..1296ba67 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBCommand.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBCommand.java
@@ -113,7 +113,9 @@ public abstract class DBCommand extends DBCommandExpr
     /**
      * Constructs a new DBCommand object and set the specified DBDatabase 
object.
      * 
-     * @param db the current database object
+     * @param dbms the database handler
+     * @param autoPrepareStmt flag whether to automatically use literal values 
as prepared statement params
+     * @param cmdParams the command params list
      */
     protected DBCommand(DBMSHandler dbms, boolean autoPrepareStmt, 
DBCmdParamList cmdParams)
     {
@@ -125,7 +127,8 @@ public abstract class DBCommand extends DBCommandExpr
     /**
      * Constructs a new DBCommand object and set the specified DBDatabase 
object.
      * 
-     * @param db the current database object
+     * @param dbms the database handler
+     * @param autoPrepareStmt flag whether to automatically use literal values 
as prepared statement params
      */
     protected DBCommand(DBMSHandler dbms, boolean autoPrepareStmt)
     {
@@ -222,6 +225,7 @@ public abstract class DBCommand extends DBCommandExpr
     
     /**
      * internally used to remove the command param used in a constraint
+     * @param cmpExpr the compare expression 
      */
        protected void removeCommandParams(DBCompareExpr cmpExpr) 
        {
@@ -255,6 +259,7 @@ public abstract class DBCommand extends DBCommandExpr
 
     /**
      * internally used to remove all command params used in a list of 
constraints
+     * @param list the list of compare expressions
      */
        protected void removeAllCommandParams(List<DBCompareExpr> list)
     {
@@ -269,7 +274,7 @@ public abstract class DBCommand extends DBCommandExpr
     /**
      * Set parent tables for subquery command generation.
      * Parent tables will be omitted to the FROM clause.
-     * @param rowSets
+     * @param rowSets the parent rowsets
      */
     public void setParentTables(DBRowSet... rowSets)
     {
@@ -391,7 +396,7 @@ public abstract class DBCommand extends DBCommandExpr
     /**
      * Adds a list of columns with their qualified name to the select phrase 
of an sql statement.
      * 
-     * @param exprs one or more columns to select
+     * @param columns one or more columns to select
      * @return itself (this)
      */
     public DBCommand selectQualified(DBColumnExpr... columns)
@@ -473,8 +478,8 @@ public abstract class DBCommand extends DBCommandExpr
      * replaces a select expression with another or removes a select expression
      * In order to remove the expression, set the replWith parameter to null
      * If the replace expression is not found, an ItemNotFoundException is 
thrown 
-     * @param replExpr
-     * @param replWith
+     * @param replExpr the expression to replace
+     * @param replWith the expression to replace with
      */
     public void replaceSelect(DBColumnExpr replExpr, DBColumnExpr replWith)
     {
@@ -570,7 +575,7 @@ public abstract class DBCommand extends DBCommandExpr
      * Adds a list of set expressions to this command
      * Use column.to(...) to create a set expression
      *  
-     * @param expr the DBSetExpr object(s)
+     * @param exprs the DBSetExpr object(s)
      * @return itself (this)
      */
     public final DBCommand set(DBSetExpr... exprs)
@@ -582,6 +587,7 @@ public abstract class DBCommand extends DBCommandExpr
     
     /**
      * Returns whether or not the command has group by set
+     * @return true if at least one set expression is present
      */
     public boolean hasSetExpr()
     {
@@ -590,7 +596,7 @@ public abstract class DBCommand extends DBCommandExpr
 
     /**
      * Checks whether a column is in the list of set expressions
-     * @param column
+     * @param column the column to check
      * @return <code>true</code> if there is a set expression 
      */
     protected boolean hasSetExprOn(DBColumn column)
@@ -650,7 +656,7 @@ public abstract class DBCommand extends DBCommandExpr
     /**
      * Adds an command parameter which will be used in a prepared statement.
      * The initial value of the command parameter is null but can be modified 
using the setValue method.
-     *  
+     * @param value the initial value of the added param
      * @return the command parameter object
      */
     public final DBCmdParam addParam(Object value)
@@ -701,6 +707,7 @@ public abstract class DBCommand extends DBCommandExpr
 
     /**
      * Adds a left join to the list of join expressions.
+     * @param join the join expression
      * @return itself (this) 
      */
     public final DBCommand joinLeft(DBJoinExpr join)
@@ -711,6 +718,7 @@ public abstract class DBCommand extends DBCommandExpr
 
     /**
      * Adds a left join to the list of join expressions.
+     * @param join the join expression
      * @return itself (this) 
      */
     public final DBCommand joinRight(DBJoinExpr join)
@@ -726,6 +734,7 @@ public abstract class DBCommand extends DBCommandExpr
      * 
      * @param left the left join value
      * @param right the right join
+     * @param addlConstraints additional compare expressions
      * @return itself (this) 
      */
     public final DBCommand join(DBColumnExpr left, DBColumn right, 
DBCompareExpr... addlConstraints)
@@ -740,6 +749,7 @@ public abstract class DBCommand extends DBCommandExpr
      * 
      * @param left the left join value
      * @param right the right join
+     * @param addlConstraints additional compare expressions
      * @return itself (this) 
      */
     public final DBCommand joinLeft(DBColumnExpr left, DBColumn right, 
DBCompareExpr... addlConstraints)
@@ -754,6 +764,7 @@ public abstract class DBCommand extends DBCommandExpr
      * 
      * @param left the left join value
      * @param right the right join
+     * @param addlConstraints additional compare expressions
      * @return itself (this) 
      */
     public final DBCommand joinRight(DBColumnExpr left, DBColumn right, 
DBCompareExpr... addlConstraints)
@@ -764,11 +775,12 @@ public abstract class DBCommand extends DBCommandExpr
     /**
      * Adds a join based on two columns to the list of join expressions.
      * 
-     * Migration hint from 2.x -> replace ").where(" with just "," 
+     * Migration hint from 2.x: replace ").where(" with just "," 
      * 
      * @param left the left join value
      * @param right the right join
      * @param joinType type of join ({@link DBJoinType#INNER}, {@link 
DBJoinType#LEFT}, {@link DBJoinType#RIGHT})
+     * @param addlConstraints additional compare expressions
      * @return itself (this) 
      */
     public final DBCommand join(DBColumnExpr left, DBColumn right, DBJoinType 
joinType, DBCompareExpr... addlConstraints)
@@ -801,7 +813,7 @@ public abstract class DBCommand extends DBCommandExpr
      * @param left the columsn on the left
      * @param right the columns on the right
      * @param joinType the joinType
-     * @param addlConstraints addlConstraints
+     * @param addlConstraints additional compare expressions
      * @return itself (this) 
      */
     public final DBCommand join(DBColumn[] left, DBColumn[] right, DBJoinType 
joinType, DBCompareExpr... addlConstraints)
@@ -1031,7 +1043,7 @@ public abstract class DBCommand extends DBCommandExpr
      * Adds a list of constraints to the where phrase of the sql statement
      * If another restriction already exists for the same column it will be 
replaced.
      * 
-     * @param expr the DBCompareExpr object
+     * @param exprs the DBCompareExpr object
      * @return itself (this)
      */
     public final DBCommand where(DBCompareExpr... exprs)
@@ -1063,7 +1075,8 @@ public abstract class DBCommand extends DBCommandExpr
     
     /**
      * removes a constraint on a particular column from the where clause
-     * @param col the column expression for which to remove the constraint
+     * @param cmpExpr the compare expression which to remove
+     * @return true if the constraint was removed
      */
     public boolean removeWhereConstraint(DBCompareExpr cmpExpr)
     {
@@ -1083,6 +1096,7 @@ public abstract class DBCommand extends DBCommandExpr
     /**
      * Checks whether the command has a constraint on a particular column 
expression
      * @param col the column expression which to check
+     * @return true if a where constraint for the given column exists
      */
     public boolean hasWhereConstraintOn(DBColumnExpr col)
     {
@@ -1147,7 +1161,8 @@ public abstract class DBCommand extends DBCommandExpr
     
     /**
      * removes a constraint on a particular column from the where clause
-     * @param col the column expression for which to remove the constraint
+     * @param cmpExpr the compare expression which to remove
+     * @return true if the constraint was removed
      */
     public boolean removeHavingConstraint(DBCompareExpr cmpExpr)
     {
@@ -1167,6 +1182,7 @@ public abstract class DBCommand extends DBCommandExpr
     /**
      * Checks whether the command has a constraint on a particular column 
expression
      * @param col the column expression which to check
+     * @return true if a having constraint for the given column exists
      */
     public boolean hasHavingConstraintOn(DBColumnExpr col)
     {
@@ -1175,6 +1191,7 @@ public abstract class DBCommand extends DBCommandExpr
     
     /**
      * Returns whether or not the command has group by set
+     * @return true if a group by expression exists
      */
     public boolean hasGroupBy()
     {
@@ -1400,6 +1417,7 @@ public abstract class DBCommand extends DBCommandExpr
     
     /**
      * returns true if prepared statements are enabled for this command
+     * @return true if prepared statements are enabled for this command
      */
     protected boolean isPreparedStatementsEnabled()
     {
@@ -1408,6 +1426,9 @@ public abstract class DBCommand extends DBCommandExpr
     
     /**
      * returns true if a cmdParam should be used for the given column or false 
otherwise
+     * @param col the column expression
+     * @param value the parameter value
+     * @return true if a cmdParam should be used for the given column
      */
     protected boolean useCmdParam(DBColumnExpr col, Object value)
     {
@@ -1453,7 +1474,8 @@ public abstract class DBCommand extends DBCommandExpr
     /**
      * removes a constraint on a particular column to the 'where' or 'having' 
collections 
      * @param list the 'where' or 'having' list
-     * @param col the column expression for which to remove the constraint
+     * @param cmpExpr the compare expression which to remove
+     * @return true if the constraint was removed
      */
     protected boolean removeConstraint(List<DBCompareExpr> list, DBCompareExpr 
cmpExpr)
     {
@@ -1475,7 +1497,8 @@ public abstract class DBCommand extends DBCommandExpr
     /**
      * removes a constraint on a particular column to the 'where' or 'having' 
collections 
      * @param list the 'where' or 'having' list
-     * @param col the column expression for which to remove the constraint
+     * @param colExpr the column expression for which to remove the constraint
+     * @return the removed constraint
      */
     protected DBCompareExpr removeConstraintOn(List<DBCompareExpr> list, 
DBColumnExpr colExpr)
     {
@@ -1492,7 +1515,8 @@ public abstract class DBCommand extends DBCommandExpr
     /**
      * finds a constraint on a particular column to the 'where' or 'having' 
collections 
      * @param list the 'where' or 'having' list
-     * @param col the column expression for which to remove the constraint
+     * @param colExpr the column expression for which to remove the constraint
+     * @return the constraint for the given column or null if not found
      */
     protected DBCompareExpr findConstraintOn(List<DBCompareExpr> list, 
DBColumnExpr colExpr)
     {
@@ -1583,8 +1607,6 @@ public abstract class DBCommand extends DBCommandExpr
     
     /**
      * Creates a select SQL-Statement
-     * 
-     * @return a select SQL-Statement
      */
     @Override
     public void getSelect(DBSQLBuilder sql)
@@ -1608,7 +1630,6 @@ public abstract class DBCommand extends DBCommandExpr
 
     /**
      * Creates an insert SQL-Statement
-     * 
      * @return an insert SQL-Statement
      */
     // get Insert
@@ -1667,7 +1688,7 @@ public abstract class DBCommand extends DBCommandExpr
      * Appends all nested DBCompareColExpr for a particular RowSet to a list
      * @param table the rowset for which to collect the DBCompareColExpr 
      * @param expr a compare expression
-     * @param list
+     * @param list the list of compare expressions
      */
     protected void appendCompareColExprs(DBRowSet table, DBCompareExpr expr, 
List<DBCompareColExpr> list)
     {
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBCommandExpr.java 
b/empire-db/src/main/java/org/apache/empire/db/DBCommandExpr.java
index 1b883ec2..3d47e6e2 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBCommandExpr.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBCommandExpr.java
@@ -39,7 +39,6 @@ import org.w3c.dom.Element;
 /**
  * This abstract class handles the creation of the SQL-Commands.
  * There are inner classes to construct different SQL-Commands.
- * <P>
  */
 public abstract class DBCommandExpr extends DBExpr
 {
@@ -287,7 +286,10 @@ public abstract class DBCommandExpr extends DBExpr
     protected DBCmdQuery          cmdQuery = null;
     protected List<DBOrderByExpr> orderBy  = null;
 
-    /** Constructs an empty DBCommandExpr object */
+    /**
+     * Constructs an empty DBCommandExpr object 
+     * @param dbms the database handler
+     */
     public DBCommandExpr(DBMSHandler dbms)
     {
         // Default Constructor
@@ -331,7 +333,8 @@ public abstract class DBCommandExpr extends DBExpr
     public abstract boolean hasSelectExpr();
 
     /**
-     * returns whether or not the command has a specific select expression 
+     * returns whether or not the command has a specific select expression
+     * @param expr the column expr 
      * @return true if the command contains the given select expression of 
false otherwise
      */
     public abstract boolean hasSelectExpr(DBColumnExpr expr);
@@ -339,17 +342,19 @@ public abstract class DBCommandExpr extends DBExpr
     /**
      * Returns the list of all select expressions as an array
      * Used internally only
+     * @return the select expression array
      */
     public abstract DBColumnExpr[] getSelectExprList();
     
     /**
      * returns a list of expressions for the SELECT part of the sql statement
+     * @return the select expression list
      */
     public abstract List<DBColumnExpr> getSelectExpressions();
 
     /**
      * returns an SQL select command
-     * @param buf the string builder to add the command to
+     * @param sql the sql builder to add the command to
      */
     public abstract void getSelect(DBSQLBuilder sql);
 
@@ -452,6 +457,7 @@ public abstract class DBCommandExpr extends DBExpr
     
     /**
      * Returns whether or not the command has order by set
+     * @return flag whether an order by is provided
      */
     public boolean hasOrderBy()
     {
@@ -538,7 +544,9 @@ public abstract class DBCommandExpr extends DBExpr
     /**
      * set the maximum number of rows to return when executing a query command
      * A negative value will remove the limit.
-     *
+     * 
+     * @param numRows the number of rows to limit
+     * @return itself (this)
      */
     public DBCommandExpr limitRows(int numRows)
     {
@@ -548,6 +556,9 @@ public abstract class DBCommandExpr extends DBExpr
     /**
      * sets the offset of the first row to return when executing a query 
command.
      * A negative value will remove the offset.
+     * 
+     * @param numRows the number of rows to skip
+     * @return itself (this)
      */
     public DBCommandExpr skipRows(int numRows)
     {
@@ -619,7 +630,9 @@ public abstract class DBCommandExpr extends DBExpr
     }
     
     /**
-     * returns column expression that is specific for to this command and 
detached from its source.
+     * wraps a column expression such that is specific for to this command and 
detached from its source.
+     * @param col the column expression to wrap
+     * @return column expression that is specific for to this command
      */
     protected DBColumnExpr getCmdColumn(DBColumnExpr col)
     {
@@ -661,6 +674,9 @@ public abstract class DBCommandExpr extends DBExpr
      * Create the insert into SQL-Command which copies data
      * from a select statement to a destination table.
      * 
+     * @param table the table to insert 
+     * @param select the selected columns
+     * @param columns the list of column expressions
      * @return the insert into SQL-Command
      */
     protected String getInsertInto(DBTable table, DBColumnExpr[] select, 
List<DBColumnExpr> columns)
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBDatabase.java 
b/empire-db/src/main/java/org/apache/empire/db/DBDatabase.java
index be2810df..a45a74c9 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBDatabase.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBDatabase.java
@@ -321,7 +321,7 @@ public abstract class DBDatabase extends DBObject
      * For general use of Prepared Statements please use 
DBContext.createCommand()
      * However statement parameters can always be manually declared using 
cmd.addCmdParam();   
      *    
-     * @param preparedStatementsEnabled
+     * @param autoPrepareStmt flag whether to automatically convert literal 
values to prepared statement params
      */
     public void setPreparedStatementsEnabled(boolean autoPrepareStmt)
     {
@@ -538,7 +538,7 @@ public abstract class DBDatabase extends DBObject
     
     /**
      * Returns the java class type for a given dataType
-     * @param type the data type
+     * @param expr the column expression for witch to return the java type
      * @return return the java class used for storing values of this dataType 
      */
     public Class<?> getColumnJavaType(DBColumnExpr expr)
@@ -816,7 +816,7 @@ public abstract class DBDatabase extends DBObject
 
     /**
      * removes a relation from the list of relations
-     * @param name
+     * @param relation the relation to remove
      */
     public void removeRelation(DBRelation relation)
     {
@@ -829,7 +829,7 @@ public abstract class DBDatabase extends DBObject
     /**
      * Returns the relations which have been defined in the database.
      * 
-     * @return db relations.
+     * @return the list of relations.
      */
     public List<DBRelation> getRelations()
     {
@@ -930,9 +930,9 @@ public abstract class DBDatabase extends DBObject
     /**
      * Creates a new Command object for this database
      * 
+     * Deprecated instead use context.createCommand();
+     * 
      * @return the command object.
-     *
-     * @Deprecated use context.createCommand();
      */
     public DBCommand createCommand()
     {
@@ -1167,12 +1167,12 @@ public abstract class DBDatabase extends DBObject
     
     /**
      * Creates a case column expression
-     * "case when <condition> then <trueValue> else <falseValue> end"
+     * in the form "case when [condition] then [trueValue] else [falseValue] 
end"
      * This is a helper function to simplify client usage
-     * @param condition
+     * @param condition the compare expression
      * @param trueValue the value to select if the condition is true
      * @param falseValue the value to select if the condition is false
-     * @return an sql case expression
+     * @return the case expression
      */
     public DBColumnExpr caseWhen(DBCompareExpr condition, Object trueValue, 
Object falseValue)
     {
@@ -1189,7 +1189,7 @@ public abstract class DBDatabase extends DBObject
 
     /**
      * Creates a case column expression that check whether a column or column 
expression is null
-     * "case when <condition> is null then <trueValue> else <falseValue> end"
+     * "case when [condition] is null then [trueValue] else [falseValue] end"
      * This is a helper function to simplify client usage
      * @param expr a column or column expression
      * @param trueValue the value to select if the condition is true
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/DBExpressionIndex.java 
b/empire-db/src/main/java/org/apache/empire/db/DBExpressionIndex.java
index 95749887..75aabf42 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBExpressionIndex.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBExpressionIndex.java
@@ -35,7 +35,7 @@ public class DBExpressionIndex extends DBIndex
      * Constructs a DBExpresionIndex
      * 
      * @param name the index name
-     * @param unique true if the index has only unique values or false 
otherwise
+     * @param type the index type
      * @param columnExpressions an array of one or more column expressions of 
the index
      */
     public DBExpressionIndex(String name, DBIndexType type, DBExpr... 
columnExpressions)
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBIndex.java 
b/empire-db/src/main/java/org/apache/empire/db/DBIndex.java
index 574ec856..8273acd3 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBIndex.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBIndex.java
@@ -177,7 +177,7 @@ public class DBIndex extends DBObject
     /**
      * Returns the index type.
      * 
-     * @return the type of this index ({@link #PRIMARYKEY}, {@link #UNIQUE}, 
{@link #STANDARD}) 
+     * @return the type of this index 
      */
     public DBIndexType getType()
     {
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBObject.java 
b/empire-db/src/main/java/org/apache/empire/db/DBObject.java
index e6dfab49..92e52c91 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBObject.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBObject.java
@@ -31,9 +31,10 @@ public abstract class DBObject // *Deprecated* implements 
Serializable
 
     /**
      * Internally used for parameter checking
-     * @param name
-     * @param param
-     * @return
+     * @param <T> the object type
+     * @param name the name of the param to check
+     * @param param the param vlaue to check
+     * @return the param value
      */
     public static <T extends Object> T checkParamNull(String name, T param)
     {
@@ -46,6 +47,7 @@ public abstract class DBObject // *Deprecated* implements 
Serializable
      * Returns the database object to which this object belongs to.
      * For the database object itself this function will return the this 
pointer.
      * 
+     * @param <T> the object type
      * @return the database object
      */
     public abstract <T extends DBDatabase> T getDatabase();
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBQuery.java 
b/empire-db/src/main/java/org/apache/empire/db/DBQuery.java
index 78e7d094..6d5824ae 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBQuery.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBQuery.java
@@ -102,7 +102,7 @@ public class DBQuery extends DBRowSet
      * 
      * @param cmd the SQL-Command
      * @param keyColumns an array of the primary key columns
-     * @param the query alias
+     * @param alias the query alias
      */
     public DBQuery(DBCommandExpr cmd, DBColumn[] keyColumns, String alias)
     { // Set the column expressions
@@ -149,7 +149,7 @@ public class DBQuery extends DBRowSet
      * 
      * @param cmd the SQL-Command
      * @param keyColumn the primary key column
-     * @param the query alias
+     * @param alias the query alias
      */
     public DBQuery(DBCommandExpr cmd, DBColumn keyColumn, String alias)
     { // Set the column expressions
@@ -172,7 +172,7 @@ public class DBQuery extends DBRowSet
      * Creaes a DBQuery object from a given command object.
      * 
      * @param cmd the command object representing an SQL-Command.
-     * @param the query alias
+     * @param alias the query alias
      */
     public DBQuery(DBCommandExpr cmd, String alias)
     { // Set the column expressions
@@ -256,7 +256,7 @@ public class DBQuery extends DBRowSet
     /**
      * This function provides the query column object for a particular query 
command expression 
      * 
-     * @param the column name
+     * @param name the column name
      * @return the query column
      */
     public DBQueryColumn findColumn(String name)
@@ -287,7 +287,7 @@ public class DBQuery extends DBRowSet
     /**
      * This is a convenience shortcut for findQueryColumn
      * 
-     * @param the column name
+     * @param name the column name
      * @return the located column
      */
     public DBQueryColumn column(String name)
@@ -374,8 +374,9 @@ public class DBQuery extends DBRowSet
     /**
      * Returns an error, because it is not possible to add a record to a query.
      * 
-     * @param rec the DBRecord object, contains all fields and the field 
properties
-     * @param conn a valid database connection
+     * @param record the DBRecord object, contains all fields and the field 
properties
+     * @param initalKey the initial record key
+     * @param deferredInit flag whether to defer record initialization
      * @throws NotImplementedException because this is not implemented
      */
     @Override
@@ -388,8 +389,7 @@ public class DBQuery extends DBRowSet
      * Creates a select SQL-Command of the query call the InitRecord method to 
execute the SQL-Command.
      * 
      * @param record the DBRecord object, contains all fields and the field 
properties
-     * @param key an array of the primary key columns
-     * @param conn a valid connection to the database.
+     * @param whereConstraints the constraint for querying the record
      */
     @Override
     public void readRecord(DBRecordBase record, DBCompareExpr whereConstraints)
@@ -407,7 +407,6 @@ public class DBQuery extends DBRowSet
      * Updates a query record by creating individual update commands for each 
table.
      * 
      * @param record the DBRecord object. contains all fields and the field 
properties
-     * @param conn a valid connection to the database.
      */
     @Override
     public void updateRecord(DBRecordBase record)
@@ -583,7 +582,7 @@ public class DBQuery extends DBRowSet
      * Deletes a record identified by its primary key from the database.
      * 
      * @param key array of primary key values
-     * @param conn a valid database connection
+     * @param context the database context
      */
     @Override
     public void deleteRecord(Object[] key, DBContext context)
@@ -593,6 +592,13 @@ public class DBQuery extends DBRowSet
 
     /**
      * Adds join restrictions to the supplied command object.
+     * @param cmd the command
+     * @param updCol the update column
+     * @param joinCol the join column
+     * @param keyColumns the key columns
+     * @param key the record key
+     * @param record the record
+     * @return flag whether the join restriction could be added
      */
     protected boolean addJoinRestriction(DBCommand cmd, DBColumn updCol, 
DBColumn joinCol, DBColumn[] keyColumns, Object[] key, DBRecordBase record)
     {   // Find key for foreign field
@@ -645,8 +651,8 @@ public class DBQuery extends DBRowSet
     
     /**
      * Gets the index of a particular column expression.
-     * <P>
-     * @param column the Column to get the index for
+     * 
+     * @param columnExpr the column expression for which to get the index of
      * 
      * @return the position of a column expression
      */
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBReader.java 
b/empire-db/src/main/java/org/apache/empire/db/DBReader.java
index 10197d73..a9b7e5a2 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBReader.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBReader.java
@@ -21,7 +21,6 @@ package org.apache.empire.db;
 import java.io.Closeable;
 import java.lang.reflect.Constructor;
 import java.lang.reflect.InvocationTargetException;
-import java.sql.Connection;
 import java.sql.ResultSet;
 import java.sql.SQLException;
 import java.util.ArrayList;
@@ -67,7 +66,7 @@ import org.w3c.dom.Element;
  *  <li>access field values directly by using one of the get... functions (see 
{@link DBRecordData})</li> 
  *  <li>get the rows as a list of Java Beans using by using {@link 
DBReader#getBeanList(Class, int)}</li> 
  *  <li>get the rows as an XML-Document using {@link 
DBReader#getXmlDocument()} </li> 
- *  <li>initialize a DBRecord with the current row data using {@link 
DBReader#initRecord(DBRowSet, DBRecordBase)}<br>
+ *  <li>initialize a DBRecord with the current row data using {@link 
DBReader#initRecord(DBRecordBase)}<br>
  *      This will allow you to modify and update the data. 
  *  </li> 
  * </ul>
@@ -465,7 +464,6 @@ public class DBReader extends DBRecordData implements 
Closeable
      * <P>
      * @param cmd the SQL-Command with cmd.getSelect()
      * @param scrollable true if the reader should be scrollable or false if 
not
-     * @param conn a valid JDBC connection.
      */
     public void open(DBCommandExpr cmd, boolean scrollable)
     {
@@ -502,10 +500,9 @@ public class DBReader extends DBRecordData implements 
Closeable
     /**
      * Opens the reader by executing the given SQL command.<BR>
      * <P>
-     * see {@link DBReader#open(DBCommandExpr, boolean, Connection)}
+     * see {@link DBReader#open(DBCommandExpr, boolean)}
      * </P>
      * @param cmd the SQL-Command with cmd.getSelect()
-     * @param conn a valid JDBC connection.
      */
     public final void open(DBCommandExpr cmd)
     {
@@ -523,7 +520,6 @@ public class DBReader extends DBRecordData implements 
Closeable
      * Use <PRE>try { ... } finally { reader.close(); } </PRE> to make sure 
the reader is closed.<BR>
      * <P>
      * @param cmd the SQL-Command with cmd.getSelect()
-     * @param conn a valid JDBC connection.
      */
     public void getRecordData(DBCommandExpr cmd)
     { // Open the record
@@ -686,7 +682,6 @@ public class DBReader extends DBRecordData implements 
Closeable
      * This function is equivalent to calling rowset.initRecord(rec, reader) 
      * set also {@link DBRowSet#initRecord(DBRecordBase, DBRecordData)});
      * </PRE>
-     * @param rowset the rowset to which to attach
      * @param rec the record which to initialize
      */
     public void initRecord(DBRecordBase rec)
@@ -1027,8 +1022,7 @@ public class DBReader extends DBRecordData implements 
Closeable
 
     /**
      * Returns a constructor for a bean class for the set of parameters or 
null if no suitable constructor is found
-     * @param clazz the bean class
-     * @param parameterTypes
+     * @param beanClass the bean class
      * @return a constructor for the readers columns or null if not suitable 
constructor is available
      */
     protected Constructor<?> findBeanConstructor(Class<?> beanClass)
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBRecord.java 
b/empire-db/src/main/java/org/apache/empire/db/DBRecord.java
index d9ae7325..73f83b87 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBRecord.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBRecord.java
@@ -21,7 +21,6 @@ package org.apache.empire.db;
 import java.io.IOException;
 import java.io.ObjectInputStream;
 import java.io.ObjectOutputStream;
-import java.sql.Connection;
 import java.util.Collection;
 
 import org.apache.empire.commons.ClassUtils;
@@ -308,7 +307,7 @@ public class DBRecord extends DBRecordBase
     
     /**
      * Reads a record from the database
-     * @param key an array of the primary key values
+     * @param whereConstraints the compare expression for querying this record
      */
     public DBRecord read(DBCompareExpr whereConstraints)
     {
@@ -382,8 +381,7 @@ public class DBRecord extends DBRecordBase
      * WARING: There is no guarantee that it ist called
      * Implement delete logic in the table's deleteRecord method if possible
      * 
-     * @see org.apache.empire.db.DBTable#deleteRecord(Object[], Connection)
-     * @param conn a valid connection to the database.
+     * @see org.apache.empire.db.DBRowSet#deleteRecord(Object[], DBContext)
      */
     public void delete()
     {
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBRecordBase.java 
b/empire-db/src/main/java/org/apache/empire/db/DBRecordBase.java
index 0344abd7..d1fb5d29 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBRecordBase.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBRecordBase.java
@@ -249,7 +249,7 @@ public abstract class DBRecordBase extends DBRecordData 
implements Record, Clone
 
     /**
      * helper to check if the object is valid
-     * @throws an ObjectNotValidException if the object is not valid
+     * @throws ObjectNotValidException if the object is not valid
      */
     protected void checkValid()
     {
@@ -259,7 +259,7 @@ public abstract class DBRecordBase extends DBRecordData 
implements Record, Clone
 
     /**
      * helper to check if the object is valid
-     * @throws an ObjectNotValidException if the object is not valid
+     * @throws ObjectNotValidException if the object is not valid
      */
     protected void checkValid(int fieldIndex)
     {
@@ -534,10 +534,8 @@ public abstract class DBRecordBase extends DBRecordData 
implements Record, Clone
     }
 
     /**
-     * Returns a array of primary key columns by a specified DBRecord object.
-     * 
-     * @param rec the DBRecord object, contains all fields and the field 
properties
-     * @return a array of primary key columns
+     * Returns a array of key columns by a specified DBRecord object.
+     * @return a array of key columns
      */
     @Override
     public Object[] getKey()
@@ -699,7 +697,7 @@ public abstract class DBRecordBase extends DBRecordData 
implements Record, Clone
     }
 
     /**
-     * @Deprecated Renamed to set(...)   
+     * Deprecated Renamed to set(...)   
      */
     @Deprecated
     public DBRecordBase setValue(Column column, Object value)
@@ -870,7 +868,7 @@ public abstract class DBRecordBase extends DBRecordData 
implements Record, Clone
 
     /**
      * Compares the record to another one
-     * @param otherObject
+     * @param other the record to compare this record with
      * @return true if it is the same record (but maybe a different instance)
      */
     public boolean isSame(DBRecordBase other)
@@ -1014,9 +1012,7 @@ public abstract class DBRecordBase extends DBRecordData 
implements Record, Clone
     
     /**
      * This method is used internally by the RowSet to initialize the record's 
properties
-     * @param rowset the rowset to which to attach this record
-     * @param rowsetData any further RowSet specific data
-     * @param newRecord
+     * @param newRecord flag whether the record is new (non-existing) in the 
database
      */
     protected void initData(boolean newRecord)
     {
@@ -1040,7 +1036,6 @@ public abstract class DBRecordBase extends DBRecordData 
implements Record, Clone
     /**
      * This method is used internally to indicate that the record update has 
completed<BR>
      * This will set change the record's state to Valid
-     * @param rowsetData additional data held by the rowset for this record 
(optional)
      */
     protected void updateComplete()
     {
@@ -1052,6 +1047,7 @@ public abstract class DBRecordBase extends DBRecordData 
implements Record, Clone
     /**
      * Checks whether the record is updateable  
      * If its read-only a RecordReadOnlyException is thrown 
+     * @throws RecordReadOnlyException
      */
     protected void checkUpdateable()
     {
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBRecordBean.java 
b/empire-db/src/main/java/org/apache/empire/db/DBRecordBean.java
index a593538f..8d6513b1 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBRecordBean.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBRecordBean.java
@@ -18,13 +18,13 @@
  */
 package org.apache.empire.db;
 
-import java.sql.Connection;
 import java.util.Collection;
 
 import org.apache.empire.commons.ObjectUtils;
 import org.apache.empire.commons.StringUtils;
 import org.apache.empire.data.Column;
 import org.apache.empire.db.DBRowSet.PartialMode;
+import org.apache.empire.db.exceptions.InvalidKeyException;
 import org.apache.empire.db.exceptions.NoPrimaryKeyException;
 import org.apache.empire.db.expr.compare.DBCompareExpr;
 import org.apache.empire.exceptions.InvalidArgumentException;
@@ -77,8 +77,6 @@ public class DBRecordBean extends DBRecordBase
 
     /**
      * Constructs a new DBRecordBean.<BR>
-     * @param context the DBContext for this record
-     * @param rowset the corresponding RowSet(Table, View, Query, etc.)
      */
     public DBRecordBean()
     {
@@ -189,10 +187,9 @@ public class DBRecordBean extends DBRecordBase
     
     /**
      * Reads a record from the database
+     * @param context the database context
+     * @param rowset the rowset from which to read the record
      * @param key an array of the primary key values
-     *
-     * @throws NoPrimaryKeyException if the associated RowSet has no primary 
key
-     * @throws InvalidKeyException if the key does not match the key columns 
of the associated RowSet
      */
     public DBRecordBean read(DBContext context, DBRowSet rowset, Object[] key)
     {   // read
@@ -209,6 +206,8 @@ public class DBRecordBean extends DBRecordBase
     /**
      * Reads a record from the database
      * This method can only be used for tables with a single primary key
+     * @param context the database context
+     * @param rowset the rowset from which to read the record
      * @param id the primary key of the record
      * 
      * @throws NoPrimaryKeyException if the associated RowSet has no primary 
key
@@ -235,7 +234,9 @@ public class DBRecordBean extends DBRecordBase
     
     /**
      * Reads a record from the database
-     * @param key an array of the primary key values
+     * @param context the database context
+     * @param rowset the rowset from which to read the record
+     * @param whereConstraints the compare expression for querying the record
      */
     public DBRecordBean read(DBContext context, DBRowSet rowset, DBCompareExpr 
whereConstraints)
     {   // read
@@ -254,6 +255,8 @@ public class DBRecordBean extends DBRecordBase
      *  1. PartialMode.INCLUDE reads only the fields provided with the column 
list
      *  2. PartialMode.EXCLUDE reads all but the fields provided with the 
column list
      * The primary key is always fetched implicitly
+     * @param context the database context
+     * @param rowset the rowset from which to read the record
      * @param key the primary key values
      * @param mode flag whether to include only the given columns or whether 
to add all but the given columns
      * @param columns the columns to include or exclude (depending on mode)
@@ -281,7 +284,7 @@ public class DBRecordBean extends DBRecordBase
     
     /**
      * Updates the record in the database
-     * @param context the current context
+     * @param context the database context
      */
     public void update(DBContext context)
     {   // update
@@ -312,8 +315,8 @@ public class DBRecordBean extends DBRecordBase
      * WARING: There is no guarantee that it ist called
      * Implement delete logic in the table's deleteRecord method if possible
      * 
-     * @see org.apache.empire.db.DBTable#deleteRecord(Object[], Connection)
-     * @param context the current context
+     * @see org.apache.empire.db.DBRowSet#deleteRecord(Object[], DBContext)
+     * @param context the database context
      */
     public void delete(DBContext context)
     {
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBRecordData.java 
b/empire-db/src/main/java/org/apache/empire/db/DBRecordData.java
index fb740639..8a1a8c7f 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBRecordData.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBRecordData.java
@@ -84,7 +84,7 @@ public abstract class DBRecordData extends DBObject
     public abstract Object getValue(int index);
     
     /**
-     * @Deprecated Renamed to get(...)   
+     * Deprecated Renamed to get(...)   
      */
     @Deprecated
     public Object getValue(ColumnExpr column)
@@ -93,7 +93,7 @@ public abstract class DBRecordData extends DBObject
     }
 
     /**
-     * @Deprecated Renamed to get(...)   
+     * Deprecated Renamed to get(...)   
      */
     @Deprecated
     public final <T> T getValue(Column column, Class<T> returnType)
@@ -102,7 +102,7 @@ public abstract class DBRecordData extends DBObject
     }
 
     /**
-     * @Deprecated Renamed to get(...)   
+     * Deprecated Renamed to get(...)   
      */
     @Deprecated
     public final Object[] getValues(ColumnExpr... columns)
@@ -139,7 +139,7 @@ public abstract class DBRecordData extends DBObject
     /**
      * Returns an array of values for the given column expressions
      * 
-     * @param column the column expressions
+     * @param columns the column expressions
      * @return the corresponding record values
      */
     public final Object[] getArray(ColumnExpr... columns)
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBRowSet.java 
b/empire-db/src/main/java/org/apache/empire/db/DBRowSet.java
index 66cf2396..45577c47 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBRowSet.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBRowSet.java
@@ -156,9 +156,8 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
 
     /**
      * Internally used for parameter checking
-     * @param name the paramter name
-     * @param record the record
-     * @return the record
+     * @param record the record to check
+     * @param checkValid flag whether to check the validity
      */
     protected void checkParamRecord(DBRecordBase record, boolean checkValid)
     {
@@ -177,8 +176,8 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
     
     /**
      * varArgs to Array
-     * @param parts
-     * @return
+     * @param parts the parts
+     * @return the key columns array
      */
     public static DBColumn[] key(DBColumn... parts)
     {
@@ -281,7 +280,7 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
     
     /**
      * Compares the rowset to another one
-     * @param otherObject
+     * @param other the rowset to compare this rowset with
      * @return true if it is the same rowset (but maybe a different instance)
      */
     public boolean isSame(DBRowSet other)
@@ -353,7 +352,7 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
     
     /**
      * sets the bean type for this rowset
-     * @param beanType
+     * @param beanType the bean type for this rowset
      */
     public void setBeanType(Class<?> beanType)
     {
@@ -362,7 +361,7 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
     
     /**
      * sets the bean type for this rowset
-     * @param beanType
+     * @param beanType the bean type for this rowset
      */
     public <T> void setBeanType(Class<T> beanType, DBBeanListFactory<T> 
factory)
     {
@@ -401,7 +400,6 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
 
     /**
      * Gets all columns of this rowset (e.g. for cmd.select()).
-     * <P>
      * @return all columns of this rowset
      */
     @Override
@@ -412,9 +410,7 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
 
     /**
      * Gets the index of a particular column expression.
-     * <P>
      * @param column column the DBColumn to get the index for
-     * 
      * @return the position of a column expression
      */
     public int getColumnIndex(DBColumn column)
@@ -424,9 +420,7 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
     
     /**
      * Gets the index of a particular column expression.
-     * <P>
-     * @param column the Column to get the index for
-     * 
+     * @param columnExpr the Column to get the index for
      * @return the position of a column expression
      */
     public int getColumnIndex(ColumnExpr columnExpr)
@@ -444,9 +438,7 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
 
     /**
      * Returns a DBColumn object by a specified index value.
-     * 
      * @param iColumn the index to get the DBColumn for
-     * 
      * @return the index value
      */
     public DBColumn getColumn(int iColumn)
@@ -458,9 +450,7 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
 
     /**
      * Gets the column Expression with a particular name.
-     * 
      * @param name the name of the column to look for 
-     * 
      * @return the column Expression at position
      */
     public DBColumn getColumn(String name)
@@ -478,9 +468,7 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
      * Checks whether a column is read only or writable.
      * Only the timestamp column is read only by default.
      * The primary is read only if the column is of type.
-     * 
      * @param col the column object 
-     * 
      * @return a new DBCountExpr object
      */
     public boolean isColumnReadOnly(DBColumn col)
@@ -722,7 +710,7 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
     /**
      * initializes the Record Default Values
      * @param record the record
-     * @param conn (optional) to allow the dbms handle autogenerated fields
+     * @param fieldInitMode the field initialization mode
      */
     protected void initRecordDefaultValues(DBRecordBase record, FieldInitMode 
fieldInitMode)
     {
@@ -749,8 +737,7 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
      * Initialize this DBRowSet object and sets it's initial state.
      * 
      * @param record the DBRecord object to initialize this DBRowSet object
-     * @param rowSetData any further RowSet specific data
-     * @param insert
+     * @param newRecord flag whether the record is new (non-existing) in the 
database
      */
     protected void prepareInitRecord(DBRecordBase record, boolean newRecord)
     {
@@ -765,7 +752,7 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
     /**
      * Completes the record initialization.<BR>
      * Override this function to do post initialization processing.
-     * <P>
+     * 
      * @param record the DBRecord object to initialize
      */
     protected void completeInitRecord(DBRecordBase record)
@@ -775,8 +762,8 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
     
     /**
      * Set the constraints for a single record from a supplied key 
-     * @param cmd the command to which to add the constraints
      * @param key the record key
+     * @return the primary key constraint expression
      */
     protected DBCompareExpr getKeyConstraints(Object[] key)
     {
@@ -802,10 +789,9 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
     /**
      * Reads a single record from the database using the given command 
object.<BR>
      * If a record is found the DBRecord object will hold all record data. 
-     * <P>
+     * 
      * @param record the DBRecord object which holds the record data
      * @param cmd the SQL-Command used to query the record
-     * @param rowSetData optional rowset specific data to be held on the record
      */
     protected void readRecord(DBRecordBase record, DBCommand cmd)
     {
@@ -846,7 +832,7 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
     /**
      * Reads the record with the given primary key from the database.
      * If the record cannot be found, a RecordNotFoundException is thrown.
-     * <P>
+     * 
      * @param record the DBRecord object which will hold the record data
      * @param key the primary key values
     public <R extends DBRecordBase> void readRecord(R record, Object[] key)
@@ -865,7 +851,8 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
    
     /**
      * Reads a record from the database
-     * @param key an array of the primary key values
+     * @param record the DBRecord object which will hold the record data
+     * @param whereConstraints the constraint for querying the record
      */
     public void readRecord(DBRecordBase record, DBCompareExpr whereConstraints)
     {
@@ -887,7 +874,7 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
     /**
      * Reads the partial record for a given primary key from the database
      * @param record the DBRecord object which will hold the record data
-     * @param key the primary key values
+     * @param whereConstraints a compare expression for querying the record
      * @param mode flag whether to include only the given columns or whether 
to add all but the given columns
      * @param columns the columns to include or exclude (depending on mode)
      */
@@ -947,7 +934,7 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
 
     /**
      * Returns true if the record exists in the database or false otherwise.
-     * <P>
+     * 
      * @param id id of the record
      * @param context the DBContext
      * @return true if the record exists or false otherwise
@@ -1245,8 +1232,8 @@ public abstract class DBRowSet extends DBExpr implements 
EntityType
     
     /**
      * May be used by a Rowset to store additional data on a record
-     * @param rec the record 
-     * @return the rowset data
+     * @param record the record 
+     * @param rowsetData the extra data to set on this record
      */
     protected final void setRowsetData(DBRecordBase record, Object rowsetData)
     {
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBSQLBuilder.java 
b/empire-db/src/main/java/org/apache/empire/db/DBSQLBuilder.java
index f84ed408..476a06f3 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBSQLBuilder.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBSQLBuilder.java
@@ -163,7 +163,7 @@ public abstract class DBSQLBuilder implements Appendable
 
     /**
      * Appends the SQL representation of a value
-     * @param dataType the DataType
+     * @param type the data type
      * @param value an DBExpr object, array or a basis data type(e.g. int, 
String)
      */
     public void appendValue(DataType type, Object value)
@@ -222,13 +222,11 @@ public abstract class DBSQLBuilder implements Appendable
     /**
      * Expands an SQL template and adds it to the SQL command
      * 
-     * @param StringBuilder but the SQL builder
      * @param template the SQL template
-     * @param values an array of values to be inserted into the template
-     * @param dataType the DataType
+     * @param values list of values to be inserted into the template
+     * @param dataTypes list of data types
      * @param context the context of the DBColumnExpr object
      * @param arraySep the separator value
-     * @return the new SQL-Command
      */
     public void appendTemplate(String template, Object[] values, DataType[] 
dataTypes, long context, String arraySep)
     {
@@ -274,9 +272,8 @@ public abstract class DBSQLBuilder implements Appendable
      * Empty strings are treated as null.
      * The syntax of Date, Datetime and Boolean values are DBMS specific.
      * 
+     * @param type the data type of the supplied value
      * @param value the value which is inserted to the new String
-     * @param type the sql data type of the supplied value
-     * @return the sql string representing this value
      */
     protected void appendSimpleValue(DataType type, Object value)
     { 
@@ -349,11 +346,11 @@ public abstract class DBSQLBuilder implements Appendable
 
     /**
      * encodes a Date value for an SQL command string. 
-     * @param value
-     * @param sqlTemplate
-     * @param sqlPattern
-     * @param sqlCurrentDate
-     * @return
+     * @param value the value to encode
+     * @param sqlTemplate the template
+     * @param sqlPattern the pattern
+     * @param sqlCurrentDate the current date phrase
+     * @return the date time string
      */
     protected String getDateTimeString(Object value, DBSqlPhrase sqlTemplate, 
DBSqlPhrase sqlPattern, DBSqlPhrase sqlCurrentDate)
     {
@@ -411,8 +408,7 @@ public abstract class DBSQLBuilder implements Appendable
     /**
      * encodes Text values for an SQL command string.
      * @param type date type (can only be TEXT, CHAR, CLOB and UNIQUEID)
-     * @param text the text to be encoded
-     * @return the encoded sql value
+     * @param value the literal to be encoded
      */
     protected void appendStringLiteral(DataType type, Object value)
     {   // text
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBSQLScript.java 
b/empire-db/src/main/java/org/apache/empire/db/DBSQLScript.java
index bf21260f..762d6c91 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBSQLScript.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBSQLScript.java
@@ -23,6 +23,7 @@ import java.sql.SQLException;
 import java.util.ArrayList;
 import java.util.Iterator;
 
+import org.apache.empire.db.DBDDLGenerator.DDLActionType;
 import org.apache.empire.db.context.DBContextAware;
 import org.apache.empire.db.exceptions.EmpireSQLException;
 import org.apache.empire.dbms.DBMSHandler;
@@ -34,7 +35,7 @@ import org.slf4j.LoggerFactory;
  * DBSQLScript<br>
  * This class is a collection of sql command strings.<br>
  * The class is used for obtaining and executing DDL commands supplied by the
- * database dbms (@see {@link DBMSHandler#getDDLScript(DBCmdType, DBObject, 
DBSQLScript)})
+ * database dbms (@see {@link DBMSHandler#getDDLScript(DDLActionType, 
DBObject, DBSQLScript)})
  */
 public class DBSQLScript implements DBContextAware, Iterable<String>
 {
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBTable.java 
b/empire-db/src/main/java/org/apache/empire/db/DBTable.java
index 651fd3e6..1034b437 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBTable.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBTable.java
@@ -401,7 +401,7 @@ public class DBTable extends DBRowSet implements Cloneable
      * @param type the type of the column e.g. integer, text, date
      * @param size the column width
      * @param required true if not null column
-     * @param enumType  defValue the default value
+     * @param enumValue the default value
      * @return the new column object 
      */
     public final DBTableColumn addColumn(String columnName, DataType type, 
double size, boolean required, Enum<?> enumValue)
@@ -597,7 +597,7 @@ public class DBTable extends DBRowSet implements Cloneable
      * Adds an index.
      * 
      * @param name the index name
-     * @param unique is this a unique index
+     * @param type the index type
      * @param columns the columns indexed by this index
      * 
      * @return the Index object
@@ -664,7 +664,8 @@ public class DBTable extends DBRowSet implements Cloneable
      * Set this to the specified DBRecord object.
      * 
      * @param record the DBRecord object. contains all fields and the field 
properties
-     * @param conn a valid connection to the database.
+     * @param initalKey the initial key values
+     * @param deferredInit flag whether to defer initialization
      */
     @Override
     public void createRecord(DBRecordBase record, Object[] initalKey, boolean 
deferredInit)
@@ -675,9 +676,8 @@ public class DBTable extends DBRowSet implements Cloneable
     
     /**
      * Checks weather a unique constraint is violated when inserting or 
updating a record.<BR>
-     * <P>
-     * @param id the record's primary key
-     * @param conn a valid JDBC connection
+     * 
+     * @param record the record to check
      */
     public DBIndex checkUniqueConstraints(DBRecordBase record)
     {
@@ -741,7 +741,7 @@ public class DBTable extends DBRowSet implements Cloneable
      * executeSQL method.
      * 
      * @param key an array of the primary key columns
-     * @param conn a valid connection to the database.
+     * @param context the database context
      */
     @Override
     public void deleteRecord(Object[] key, DBContext context)
@@ -806,7 +806,7 @@ public class DBTable extends DBRowSet implements Cloneable
     /**
      * initializes the Record Default Values
      * @param record the record
-     * @param conn (optional) to allow the dbms handle autogenerated fields
+     * @param fieldInitMode the field initialization mode
      */
     @Override
     protected void initRecordDefaultValues(DBRecordBase record, FieldInitMode 
fieldInitMode)
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBTableColumn.java 
b/empire-db/src/main/java/org/apache/empire/db/DBTableColumn.java
index 9ee2f0ed..a86c1e6e 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBTableColumn.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBTableColumn.java
@@ -66,7 +66,8 @@ public class DBTableColumn extends DBColumn
      * @param type the type of the column e.g. integer, text, date
      * @param name the column name
      * @param size the column width
-     * @param dataMode determines whether this column is optional, required or 
auto-generated 
+     * @param required flag whether the column is required 
+     * @param autoGenerated flag whether the column is auto generated 
      * @param defValue the object value
      */
     public DBTableColumn(DBTable table, DataType type, String name, double 
size, boolean required, boolean autoGenerated, Object defValue)
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBUtils.java 
b/empire-db/src/main/java/org/apache/empire/db/DBUtils.java
index 5b393cd2..f391c14c 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBUtils.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBUtils.java
@@ -56,6 +56,12 @@ import 
org.apache.empire.exceptions.UnexpectedReturnValueException;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+/**
+ * DBUtils
+ * This class provides various query functions and functions for command 
execution. 
+ * It also performs logging
+ * @author doebele
+ */
 public class DBUtils implements DBContextAware
 {
     // Logger (Use logger from DBDatabase.class)
@@ -78,8 +84,8 @@ public class DBUtils implements DBContextAware
     protected final DBMSHandler dbms;
     
     /**
-     * Constructs an empty DBRecordSet object.
-     * @param useFieldIndexMap 
+     * DBUtils constructor
+     * @param context the database context 
      */
     public DBUtils(DBContext context)
     {
@@ -160,8 +166,8 @@ public class DBUtils implements DBContextAware
 
     /**
      * Log Query Statement
-     * @param sqlCmd
-     * @param sqlParams
+     * @param sqlCmd the sql command
+     * @param sqlParams the command params
      */
     protected void logQueryStatement(String sqlCmd, Object[] sqlParams)
     {
@@ -176,8 +182,8 @@ public class DBUtils implements DBContextAware
 
     /**
      * Log Update Statement
-     * @param sqlCmd
-     * @param sqlParams
+     * @param sqlCmd the sql command
+     * @param sqlParams the command params
      */
     protected void logUpdateStatement(String sqlCmd, Object[] sqlParams)
     {
@@ -303,7 +309,8 @@ public class DBUtils implements DBContextAware
      * If the query does not return a result a QueryNoResultException is thrown
      * 
      * @param cmd the Command object that contains the select statement
-     * @param dataType the expected data type
+     * @param resultType the expected data type
+     * @param failOnNoResult flag whether to fail on empty resultset
      * 
      * @return the value of the first column in the first row of the query 
      */
@@ -318,6 +325,7 @@ public class DBUtils implements DBContextAware
      * If the query does not return a result a QueryNoResultException is thrown
      * 
      * @param cmd the Command object that contains the select statement
+     * @param failOnNoResult flag whether to fail on empty resultset
      * 
      * @return the value of the first column in the first row of the query 
      */
@@ -343,8 +351,9 @@ public class DBUtils implements DBContextAware
      * Returns the value of the first row/column of a sql-query as an int.
      * If the query does not return a result or if the query result is NULL, 
then the defaultValue is returned
      * 
-     * @param cmd the Command object that contains the select statement
-     * @param defaultValue the default value if no value was returned by the 
database
+     * @param sqlCmd the sql command
+     * @param sqlParams the command params
+     * @param defaultValue the default value 
      *
      * @return the result as a int value
      */
@@ -387,8 +396,9 @@ public class DBUtils implements DBContextAware
      * Returns the value of the first row/column of a sql-query as an int.
      * If the query does not return a result or if the query result is NULL, 
then the defaultValue is returned
      * 
-     * @param cmd the Command object that contains the select statement
-     * @param defaultValue the default value if no value was returned by the 
database
+     * @param sqlCmd the sql command
+     * @param sqlParams the command params
+     * @param defaultValue the default value 
      *
      * @return the result as a int value
      */
@@ -499,10 +509,12 @@ public class DBUtils implements DBContextAware
      * Adds the first column of a query result to a collection.
      * If the query has no result, an empty list is returned.
      * 
-     * @param c the class type for the list 
      * @param <T> the type for the list
-     * @param sqlCmd the SQL statement
+     * @param c the class type for the list 
+     * @param sqlCmd the sql command
+     * @param sqlParams the command params
      * @param dataType the expected data type
+     * @param result the reusult colletion
      * @param maxRows maximum number of rows or -1 for all rows
      * 
      * @return the number of elements that have been added to the collection 
@@ -596,7 +608,8 @@ public class DBUtils implements DBContextAware
      * Fills an option list provided with the result from a query.
      * The option list is filled with the values of the first and second 
column.
      * 
-     * @param sqlCmd the SQL statement
+     * @param sqlCmd the sql command
+     * @param sqlParams the command params
      * @param options the option list to where the options are added
      * @return an Options object containing a set a of values and their 
corresponding names 
      */
@@ -673,8 +686,11 @@ public class DBUtils implements DBContextAware
      * <p>This function should only be used for small lists.
      * Otherwise a DBReader should be used!</p>
      * 
-     * @param sqlCmd the SQL statement
-     * @return a list of object arrays
+     * @param sqlCmd the sql command
+     * @param sqlParams the command params
+     * @param result the result colleciton
+     * @param maxRows the maximum number of rows
+     * @return the number of rows queried
      */
     public int queryObjectList(String sqlCmd, Object[] sqlParams, 
Collection<Object[]> result, int maxRows)
     {   // Perform query
@@ -777,7 +793,7 @@ public class DBUtils implements DBContextAware
     /**
      * Crates a default DataListFactory for a DataListEntry class
      * The DataListEntry class must provide the following constructor
-     *      DataListEntry(DataListFactory<? extends DataListEntry> head, int 
rownum, Object values[])
+     *      DataListEntry(DataListFactory&lt;? extends DataListEntry&gt; head, 
int rownum, Object values[])
      * @param entryClass the entryClass for which to create the list head 
      * @return
      */
@@ -798,7 +814,7 @@ public class DBUtils implements DBContextAware
     
     /**
      * Executes a query and returns a list of DataListEntry items
-     * @param sqlCmd the SQL-Command for the query
+     * @param cmd the command
      * @param factory the Factory to be used for each list item
      * @param first the number of records to skip from the beginning of the 
result
      * @param pageSize the maximum number of items to add to the list or -1 
(default) for all
@@ -908,6 +924,7 @@ public class DBUtils implements DBContextAware
 
     /**
      * Queries a single DataListEntry item
+     * @param failOnNoResult flag whether to fail on empty resultset
      */
     public final <T extends DataListEntry> T queryDataEntry(DBCommandExpr cmd, 
Class<T> entryClass, boolean failOnNoResult)
     {
@@ -951,8 +968,8 @@ public class DBUtils implements DBContextAware
     
     /**
      * Executes a query and returns a list of DBRecord items
-     * @param sqlCmd the SQL-Command for the query
-     * @param listHead the HeadInfo to be used for each list item
+     * @param cmd the command
+     * @param factory the factory for creating record objects
      * @param first the number of records to skip from the beginning of the 
result
      * @param pageSize the maximum number of items to add to the list or -1 
(default) for all
      * @return the list 
@@ -1054,7 +1071,8 @@ public class DBUtils implements DBContextAware
      *      either a standard construtor with correspondig property set 
fundtions
      *      or a constructor using the fields of the query
      * @param beanType the beanType for which to create the list head 
-     * @param constructorParams the columns to be used for the constructor 
(optional) 
+     * @param keyColumns the key columns
+     * @param selectColumns the select columns 
      * @return the bean factory
      */
     protected <T> DBBeanListFactory<T> createDefaultBeanListFactory(Class<T> 
beanType, Column[] keyColumns, List<? extends DBColumnExpr> selectColumns) 
@@ -1083,7 +1101,7 @@ public class DBUtils implements DBContextAware
     /**
      * gets or creates DBBeanListFactory for the given rowset
      * @param beanType the beanType for which to create the list head 
-     * @param rowset the rowset for which to return the factory 
+     * @param cmd the command 
      * @return the bean factory
      */
     public synchronized <T> DBBeanListFactory<T> 
getCommandBeanListFactory(Class<T> beanType, DBCommandExpr cmd) 
@@ -1103,9 +1121,10 @@ public class DBUtils implements DBContextAware
     
     /**
      * Query a list of simple Java objects (beans)
-     * @param cmd the comman
-     * @param type
-     * @param first
+     * @param cmd the command
+     * @param factory the bean factory
+     * @param parent the parent object for the created beans (optional)
+     * @param first the first row
      * @param pageSize the maximum number of items to add to the list or -1 
(default) for all
      * @return
      */
@@ -1191,7 +1210,7 @@ public class DBUtils implements DBContextAware
      * Queries a list of Java beans for a given command
      * @param cmd the query command
      * @param beanType the beanType
-     * @param constructorParams the list of params used for the bean 
constructor (optional, may be null)
+     * @param rowset the rowset
      * @param parent (optional) the parent bean if any 
      * @return the list of java beans
      */
@@ -1246,7 +1265,6 @@ public class DBUtils implements DBContextAware
      * Queries a single Java Bean for a given command
      * @param cmd the query command
      * @param beanType the beanType
-     * @param parent (optional) the parent bean if any 
      * @return the list of java beans
      */
     public <T> T queryBean(DBCommandExpr cmd, Class<T> beanType)
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/context/DBContextBase.java 
b/empire-db/src/main/java/org/apache/empire/db/context/DBContextBase.java
index 2f4f05a0..e1976396 100644
--- a/empire-db/src/main/java/org/apache/empire/db/context/DBContextBase.java
+++ b/empire-db/src/main/java/org/apache/empire/db/context/DBContextBase.java
@@ -182,8 +182,6 @@ public abstract class DBContextBase implements DBContext
      * Discards all changes made since the previous commit/rollback
      * and releases any database locks currently held by this
      * Connection.
-     * <P>
-     * @param conn a valid database connection
      */
     @Override
     public void rollback()
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/context/DBContextStatic.java 
b/empire-db/src/main/java/org/apache/empire/db/context/DBContextStatic.java
index 9819e7ce..7133f213 100644
--- a/empire-db/src/main/java/org/apache/empire/db/context/DBContextStatic.java
+++ b/empire-db/src/main/java/org/apache/empire/db/context/DBContextStatic.java
@@ -46,8 +46,8 @@ public class DBContextStatic extends DBContextBase
 
     /**
      * Creates a static DBContext with default options
-     * @param dbmsHandler
-     * @param conn
+     * @param dbmsHandler the database handler
+     * @param conn a database connection
      */
     public DBContextStatic(DBMSHandler dbmsHandler, Connection conn)
     {
@@ -56,10 +56,9 @@ public class DBContextStatic extends DBContextBase
     
     /**
      * Creates a static DBContext with custom options
-     * @param dbmsHandler
-     * @param conn
-     * @param enableRollbackHandling
-     * @param closeOnDiscard
+     * @param dbmsHandler the database handler
+     * @param conn a database connection
+     * @param closeOnDiscard flag whether to close the connection when calling 
discard()
      */
     public DBContextStatic(DBMSHandler dbmsHandler, Connection conn, boolean 
closeOnDiscard)
     {
@@ -81,9 +80,10 @@ public class DBContextStatic extends DBContextBase
     }
     
     /**
-     * enables or disables the use of prepared statements for update and 
insert commands as well as for read operations on a DBRecord.
+     * Enables or disables the use of prepared statements for update and 
insert commands as well as for read operations on a DBRecord.
      * Note: For custom SQL commands parameters must be explicitly declared 
using cmd.addCmdParam();   
-     * @param preparedStatementsEnabled
+     * @param enabled flag whether to enable prepared statements
+     * @return the context (this)
      */
     public DBContextStatic setPreparedStatementsEnabled(boolean enabled)
     {
@@ -98,7 +98,12 @@ public class DBContextStatic extends DBContextBase
     {
         return enableRollbackHandling;
     }
-    
+
+    /**
+     * Enables or disables rollback handling
+     * @param enabled flag whether to enable rollback handling
+     * @return the context (this)
+     */
     public DBContextStatic setRollbackHandlingEnabled(boolean enabled)
     {
         this.enableRollbackHandling = enabled;
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/context/DBRollbackManager.java 
b/empire-db/src/main/java/org/apache/empire/db/context/DBRollbackManager.java
index b8c1d687..e6ab968e 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/context/DBRollbackManager.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/context/DBRollbackManager.java
@@ -46,6 +46,11 @@ public class DBRollbackManager
     private final Map<Integer, Map<DBObject, DBRollbackHandler>> connectionMap;
     private final int initialObjectCapacity;
     
+    /**
+     * DBRollbackManager constructor
+     * @param initialConnectionCapacity initial capacity 
+     * @param initialObjectCapacity initial capacity
+     */
     public DBRollbackManager(int initialConnectionCapacity, int 
initialObjectCapacity)
     {
         this.connectionMap = new HashMap<Integer, Map<DBObject, 
DBRollbackHandler>>(initialConnectionCapacity);
@@ -54,8 +59,8 @@ public class DBRollbackManager
 
     /**
      * Add a rollback handler for a particular Connection
-     * @param conn
-     * @param handler
+     * @param conn the database connection
+     * @param handler the handler to append
      */
     public synchronized void appendHandler(Connection conn, DBRollbackHandler 
handler)
     {
@@ -84,8 +89,8 @@ public class DBRollbackManager
     
     /**
      * Remove the rollback handler for a particular Connection and Object
-     * @param conn
-     * @param object
+     * @param conn the database connection
+     * @param object the object for which to remove the handler
      */
     public synchronized void removeHandler(Connection conn, DBObject object)
     {
@@ -113,6 +118,8 @@ public class DBRollbackManager
     
     /**
      * releaseConnection from handler and perform 
+     * @param conn the database connection
+     * @param action the release action
      */
     public synchronized void releaseConnection(Connection conn, ReleaseAction 
action)
     {
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/column/DBAbstractFuncExpr.java
 
b/empire-db/src/main/java/org/apache/empire/db/expr/column/DBAbstractFuncExpr.java
index 6784175e..e1da8399 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/expr/column/DBAbstractFuncExpr.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/expr/column/DBAbstractFuncExpr.java
@@ -54,7 +54,6 @@ public abstract class DBAbstractFuncExpr extends DBColumnExpr
      * Do not use directly - use any of the DBColumnExpr.??? factory functions 
instead!
      * 
      * @param expr the DBColumnExpr object
-     * @param updateColumn optional update column if any. This parameter may 
be null
      * @param isAggregate indicates whether the function is an aggregate 
function (sum, min, max, avg, ...)
      * @param dataType indicates the data type of the function result 
      */
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/column/DBCaseWhenExpr.java 
b/empire-db/src/main/java/org/apache/empire/db/expr/column/DBCaseWhenExpr.java
index 88c048c5..d55192e3 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/expr/column/DBCaseWhenExpr.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/expr/column/DBCaseWhenExpr.java
@@ -37,10 +37,9 @@ import org.w3c.dom.Element;
  *           when {cond2} then {result2}
  *           ... 
  *      else {defaultResult} end"
- * <P>
+ * 
  * There is no need to explicitly create instances of this class.<BR>
- * Instead use {@link DBDatabase#caseWhen(Map<DBCompareExpr, DBColumnExpr>, 
DBColumnExpr) }
- * <P>
+ * 
  * @author doebele
  */
 public class DBCaseWhenExpr extends DBColumnExpr
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/column/DBConcatExpr.java 
b/empire-db/src/main/java/org/apache/empire/db/expr/column/DBConcatExpr.java
index d4dcac2d..5b2cffdf 100644
--- a/empire-db/src/main/java/org/apache/empire/db/expr/column/DBConcatExpr.java
+++ b/empire-db/src/main/java/org/apache/empire/db/expr/column/DBConcatExpr.java
@@ -65,9 +65,9 @@ public class DBConcatExpr extends DBColumnExpr
     }
 
     /**
-     * Returns the data type: {@link DataType#TEXT}
+     * Returns the data type: {@link DataType#VARCHAR}
      * 
-     * @return {@link DataType#TEXT}
+     * @return {@link DataType#VARCHAR}
      */
     @Override
     public DataType getDataType()
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/column/DBFuncExpr.java 
b/empire-db/src/main/java/org/apache/empire/db/expr/column/DBFuncExpr.java
index 5084a3d3..300ef723 100644
--- a/empire-db/src/main/java/org/apache/empire/db/expr/column/DBFuncExpr.java
+++ b/empire-db/src/main/java/org/apache/empire/db/expr/column/DBFuncExpr.java
@@ -93,7 +93,6 @@ public class DBFuncExpr extends DBAbstractFuncExpr
      * @param expr the DBColumnExpr object
      * @param template specifies a template for the expression. The template 
must contain a ? placeholder for the column expression
      * @param params an array of params which will be replaced in the template
-     * @param updateColumn optional update column if any. This parameter may 
be null
      * @param isAggregate indicates whether the function is an aggregate 
function (sum, min, max, avg, ...)
      * @param dataType indicates the data type of the function result 
      */
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/column/DBParenthesisExpr.java
 
b/empire-db/src/main/java/org/apache/empire/db/expr/column/DBParenthesisExpr.java
index c5ca6a7a..c506d189 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/expr/column/DBParenthesisExpr.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/expr/column/DBParenthesisExpr.java
@@ -44,7 +44,6 @@ public class DBParenthesisExpr extends DBColumnExpr 
implements Unwrappable<DBCol
      * Constructs a DBAliasExpr object combine the DBColumnExpr object with 
the alias name.
      *
      * @param expr an DBColumnExpr object, one column
-     * @param alias the alias name of the column
      */
     public DBParenthesisExpr(DBColumnExpr expr)
     {
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/column/DBScalarExpr.java 
b/empire-db/src/main/java/org/apache/empire/db/expr/column/DBScalarExpr.java
index 45db3d81..d0388e6a 100644
--- a/empire-db/src/main/java/org/apache/empire/db/expr/column/DBScalarExpr.java
+++ b/empire-db/src/main/java/org/apache/empire/db/expr/column/DBScalarExpr.java
@@ -52,8 +52,9 @@ public class DBScalarExpr extends DBColumnExpr
      * Constructs a new DBValueExpr object.
      * 
      * @param db the database
-     * @param value the value for this constant
-     * @param type the data type for this constant
+     * @param template the format template
+     * @param params the format params
+     * @param dataType the data type for this constant
      */
     public DBScalarExpr(DBDatabase db, String template, Object[] params, 
DataType dataType)
     {
@@ -67,8 +68,9 @@ public class DBScalarExpr extends DBColumnExpr
      * Constructs a new DBValueExpr object.
      * 
      * @param db the database
-     * @param value the value for this constant
-     * @param type the data type for this constant
+     * @param template the format template
+     * @param param a format param
+     * @param dataType the data type for this constant
      */
     public DBScalarExpr(DBDatabase db, String template, Object param, DataType 
dataType)
     {
@@ -89,7 +91,7 @@ public class DBScalarExpr extends DBColumnExpr
 
     /**
      * set the value associated with this value expression
-     * @param the value
+     * @param params the params array
      */
     public void setParams(Object[] params)
     {
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/column/DBValueExpr.java 
b/empire-db/src/main/java/org/apache/empire/db/expr/column/DBValueExpr.java
index db7f71de..4767655e 100644
--- a/empire-db/src/main/java/org/apache/empire/db/expr/column/DBValueExpr.java
+++ b/empire-db/src/main/java/org/apache/empire/db/expr/column/DBValueExpr.java
@@ -77,7 +77,7 @@ public class DBValueExpr extends DBColumnExpr
 
     /**
      * set the value associated with this value expression
-     * @param the value
+     * @param value the value to set
      */
     public void setValue(Object value)
     {
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareAndOrExpr.java
 
b/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareAndOrExpr.java
index 8f7d16ee..b293b3b3 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareAndOrExpr.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareAndOrExpr.java
@@ -97,7 +97,7 @@ public class DBCompareAndOrExpr extends DBCompareExpr
 
     /**
      * Copy Command
-     * @param cmd
+     * @param newCmd the new command object
      */
     @Override
     public DBCompareExpr copy(DBCommand newCmd)
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareColExpr.java
 
b/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareColExpr.java
index ec4d73d9..eac1cd65 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareColExpr.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareColExpr.java
@@ -152,7 +152,7 @@ public class DBCompareColExpr extends DBCompareExpr
 
     /**
      * Copy Command
-     * @param cmd
+     * @param newCmd the new command object
      */
     @Override
     public DBCompareExpr copy(DBCommand newCmd)
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareExpr.java 
b/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareExpr.java
index 40a33957..86ca4fba 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareExpr.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareExpr.java
@@ -73,7 +73,7 @@ public abstract class DBCompareExpr extends DBExpr
     
     /**
      * internally used for command cloning
-     * @param cmd
+     * @param newCmd the new command object
      */
     public abstract DBCompareExpr copy(DBCommand newCmd); 
 
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareNotExpr.java
 
b/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareNotExpr.java
index f3c95c6f..57bd75a2 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareNotExpr.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBCompareNotExpr.java
@@ -85,7 +85,7 @@ public class DBCompareNotExpr extends DBCompareExpr
 
     /**
      * Copy Command
-     * @param cmd
+     * @param newCmd the new command object
      */
     @Override
     public DBCompareExpr copy(DBCommand newCmd)
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBExistsExpr.java 
b/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBExistsExpr.java
index b81bf732..59cbc8d7 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBExistsExpr.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/expr/compare/DBExistsExpr.java
@@ -90,7 +90,7 @@ public class DBExistsExpr extends DBCompareExpr
 
     /**
      * Copy Command
-     * @param cmd
+     * @param newCmd the new command object
      */
     @Override
     public DBCompareExpr copy(DBCommand newCmd)
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/join/DBColumnJoinExpr.java 
b/empire-db/src/main/java/org/apache/empire/db/expr/join/DBColumnJoinExpr.java
index df04a790..b5ffc51c 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/expr/join/DBColumnJoinExpr.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/expr/join/DBColumnJoinExpr.java
@@ -182,7 +182,7 @@ public class DBColumnJoinExpr extends DBJoinExpr
 
     /**
      * Copy Command
-     * @param cmd
+     * @param newCmd the new command object
      */
     @Override
     public DBJoinExpr copy(DBCommand newCmd)
@@ -216,10 +216,8 @@ public class DBColumnJoinExpr extends DBJoinExpr
 
     /**
      * This function adds an additional constraint to the join.
-     * 
-     * @param c1 the first column
-     * @param c2 the second column
-     * 
+
+     * @param expr the expression to add
      * @return the object itself
      */
     public DBColumnJoinExpr and(DBCompareExpr expr)
@@ -236,7 +234,6 @@ public class DBColumnJoinExpr extends DBJoinExpr
      * 
      * @param c1 the first column
      * @param c2 the second column
-     * 
      * @return the object itself
      */
     public DBColumnJoinExpr and(DBColumnExpr c1, DBColumnExpr c2)
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/join/DBCompareJoinExpr.java 
b/empire-db/src/main/java/org/apache/empire/db/expr/join/DBCompareJoinExpr.java
index 93149b9b..df357f7e 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/expr/join/DBCompareJoinExpr.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/expr/join/DBCompareJoinExpr.java
@@ -99,7 +99,7 @@ public class DBCompareJoinExpr extends DBColumnJoinExpr
     
     /**
      * Copy Command
-     * @param cmd
+     * @param newCmd the new command object
      */
     @Override
     public DBJoinExpr copy(DBCommand newCmd)
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/join/DBCrossJoinExpr.java 
b/empire-db/src/main/java/org/apache/empire/db/expr/join/DBCrossJoinExpr.java
index 3f48d63f..09f797b7 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/expr/join/DBCrossJoinExpr.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/expr/join/DBCrossJoinExpr.java
@@ -21,7 +21,6 @@ package org.apache.empire.db.expr.join;
 import java.util.Set;
 
 import org.apache.empire.db.DBColumn;
-import org.apache.empire.db.DBColumnExpr;
 import org.apache.empire.db.DBCommand;
 import org.apache.empire.db.DBDatabase;
 import org.apache.empire.db.DBJoinType;
@@ -31,10 +30,8 @@ import org.apache.empire.exceptions.NotSupportedException;
 
 /**
  * This class is used for building a join expression of an SQL statement.
- * <P>
- * There is no need to explicitly create instances of this class.<BR>
- * Instead use @link {@link org.apache.empire.db.DBCommand#join(DBColumnExpr, 
DBColumn, DBJoinType)}
- * <P>
+ * 
+ * There is no need to explicitly create instances of this class.
  *
  */
 public class DBCrossJoinExpr extends DBJoinExpr
@@ -51,7 +48,6 @@ public class DBCrossJoinExpr extends DBJoinExpr
      * 
      * @param left left value
      * @param right right value
-     * @param type data type (JOIN_INNER, JOIN_LEFT or JOIN_RIGHT)
      */
     public DBCrossJoinExpr(DBRowSet left, DBRowSet right)
     {
@@ -155,7 +151,7 @@ public class DBCrossJoinExpr extends DBJoinExpr
 
     /**
      * Copy Command
-     * @param cmd
+     * @param newCmd the new command object
      */
     @Override
     public DBJoinExpr copy(DBCommand newCmd)
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/join/DBJoinExpr.java 
b/empire-db/src/main/java/org/apache/empire/db/expr/join/DBJoinExpr.java
index 6111935b..83319c5c 100644
--- a/empire-db/src/main/java/org/apache/empire/db/expr/join/DBJoinExpr.java
+++ b/empire-db/src/main/java/org/apache/empire/db/expr/join/DBJoinExpr.java
@@ -19,7 +19,6 @@
 package org.apache.empire.db.expr.join;
 
 import org.apache.empire.db.DBColumn;
-import org.apache.empire.db.DBColumnExpr;
 import org.apache.empire.db.DBCommand;
 import org.apache.empire.db.DBExpr;
 import org.apache.empire.db.DBJoinType;
@@ -27,11 +26,8 @@ import org.apache.empire.db.DBRowSet;
 
 /**
  * This class is used for building a join expression of an SQL statement.
- * <P>
- * There is no need to explicitly create instances of this class.<BR>
- * Instead use @link {@link org.apache.empire.db.DBCommand#join(DBColumnExpr, 
DBColumn, DBJoinType)}
- * <P>
- *
+ * 
+ * There is no need to explicitly create instances of this class.
  */
 public abstract class DBJoinExpr extends DBExpr
 {
@@ -44,9 +40,7 @@ public abstract class DBJoinExpr extends DBExpr
      * the left and right column and the data type of the join
      * expression.
      * 
-     * @param left left value
-     * @param right right value
-     * @param type data type (JOIN_INNER, JOIN_LEFT or JOIN_RIGHT)
+     * @param type the join type (JOIN_INNER, JOIN_LEFT or JOIN_RIGHT)
      */
     protected DBJoinExpr(DBJoinType type)
     {
@@ -111,7 +105,7 @@ public abstract class DBJoinExpr extends DBExpr
 
     /**
      * Copy Command
-     * @param cmd
+     * @param newCmd the new command object
      */
     public abstract DBJoinExpr copy(DBCommand newCmd);
 
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/expr/set/DBSetExpr.java 
b/empire-db/src/main/java/org/apache/empire/db/expr/set/DBSetExpr.java
index f3258d9e..9cca583f 100644
--- a/empire-db/src/main/java/org/apache/empire/db/expr/set/DBSetExpr.java
+++ b/empire-db/src/main/java/org/apache/empire/db/expr/set/DBSetExpr.java
@@ -116,7 +116,7 @@ public class DBSetExpr extends DBExpr
 
     /**
      * Copy Command
-     * @param cmd
+     * @param newCmd the new command object
      */
     public DBSetExpr copy(DBCommand newCmd)
     {
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/list/DBRecordListFactoryImpl.java
 
b/empire-db/src/main/java/org/apache/empire/db/list/DBRecordListFactoryImpl.java
index 9006a26f..70192453 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/list/DBRecordListFactoryImpl.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/list/DBRecordListFactoryImpl.java
@@ -83,7 +83,6 @@ public class DBRecordListFactoryImpl<T extends DBRecordBase> 
implements DBRecord
     /**
      * Constructs a DBRecordListFactoryImpl based on an DBRecord constructor
      * @param constructor the DBRecord constructor
-     * @param context the database context
      * @param rowset the rowset for the created records
      */
     public DBRecordListFactoryImpl(Constructor<T> constructor, DBRowSet 
rowset) 
@@ -95,7 +94,7 @@ public class DBRecordListFactoryImpl<T extends DBRecordBase> 
implements DBRecord
     /**
      * Constructs a DBRecordListFactoryImpl based on an DBRecord class
      * @param recordClass the record class to be created for this list
-     * @param context the database context
+     * @param contextClass the database context class
      * @param rowset the rowset for the created records
      */
     public DBRecordListFactoryImpl(Class<T> recordClass, Class<? extends 
DBContext> contextClass, DBRowSet rowset) 
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/validation/DBModelChecker.java 
b/empire-db/src/main/java/org/apache/empire/db/validation/DBModelChecker.java
index 460ebf80..4ef34aa1 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/validation/DBModelChecker.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/validation/DBModelChecker.java
@@ -43,8 +43,7 @@ public class DBModelChecker
             
     /**
      * Creates a new Model Checker
-     * @param catalog
-     * @param schemaPattern
+     * @param modelParser the model parser
      */
     public DBModelChecker(DBModelParser modelParser)
     {
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/validation/DBModelErrorHandler.java
 
b/empire-db/src/main/java/org/apache/empire/db/validation/DBModelErrorHandler.java
index a49f75fd..b3e1be1e 100644
--- 
a/empire-db/src/main/java/org/apache/empire/db/validation/DBModelErrorHandler.java
+++ 
b/empire-db/src/main/java/org/apache/empire/db/validation/DBModelErrorHandler.java
@@ -38,8 +38,9 @@ public interface DBModelErrorHandler
      * This method is called when an object (e. g. table or column) is missing 
in
      * the database.
      * 
-     * @param dbo
-     *            The missing object
+     * @param object the missing object
+     * @param name the name of the object
+     * @param expectedType the expected type
      */
     void objectTypeMismatch(DBObject object, String name, Class<?> 
expectedType);
 
@@ -59,9 +60,9 @@ public interface DBModelErrorHandler
      * does not match the primary key of the existing table
      * 
      * @param primaryKey
-     *            The primary key as defined in the model
-     * @param column
-     *            The primary key of the existing table
+     *            The index key
+     * @param tableKey
+     *            The referenced table key
      */
     void primaryKeyMismatch(DBIndex primaryKey, DBColumn[] tableKey);
 
diff --git 
a/empire-db/src/main/java/org/apache/empire/db/validation/DBModelParser.java 
b/empire-db/src/main/java/org/apache/empire/db/validation/DBModelParser.java
index a3232d15..15a8f22c 100644
--- a/empire-db/src/main/java/org/apache/empire/db/validation/DBModelParser.java
+++ b/empire-db/src/main/java/org/apache/empire/db/validation/DBModelParser.java
@@ -200,8 +200,8 @@ public class DBModelParser
     
     /**
      * collects table and view information from database meta data
-     * @param dbMeta
-     * @param dbSchema
+     * @param dbMeta the database meta data
+     * @param tablePattern the table pattern
      * @throws SQLException
      */
     protected int collectTablesAndViews(DatabaseMetaData dbMeta, String 
tablePattern)
@@ -284,8 +284,7 @@ public class DBModelParser
     
     /**
      * collects primary key information from database meta data
-     * @param dbMeta
-     * @param dbSchema
+     * @param dbMeta the database meta data
      * @throws SQLException
      */
     protected int collectPrimaryKeys(DatabaseMetaData dbMeta)
@@ -324,6 +323,7 @@ public class DBModelParser
 
     /**
      * collects foreign key information from database meta data
+     * @param dbMeta the database meta data
      * @throws SQLException
      */
     protected int collectForeignKeys(DatabaseMetaData dbMeta)
@@ -340,6 +340,8 @@ public class DBModelParser
     
     /**
      * collects foreign key information from database meta data
+     * @param dbMeta the database meta data
+     * @param tablePattern the table pattern
      * @throws SQLException
      */
     protected int collectForeignKeys(DatabaseMetaData dbMeta, String 
tablePattern)
diff --git a/empire-db/src/main/java/org/apache/empire/dbms/DBMSHandler.java 
b/empire-db/src/main/java/org/apache/empire/dbms/DBMSHandler.java
index 3d6583c5..1bc8c999 100644
--- a/empire-db/src/main/java/org/apache/empire/dbms/DBMSHandler.java
+++ b/empire-db/src/main/java/org/apache/empire/dbms/DBMSHandler.java
@@ -28,7 +28,6 @@ import org.apache.empire.db.DBCommand;
 import org.apache.empire.db.DBCommandExpr;
 import org.apache.empire.db.DBDDLGenerator.DDLActionType;
 import org.apache.empire.db.DBDatabase;
-import org.apache.empire.db.DBExpr;
 import org.apache.empire.db.DBObject;
 import org.apache.empire.db.DBRelation;
 import org.apache.empire.db.DBSQLBuilder;
@@ -193,13 +192,11 @@ public interface DBMSHandler
         throws SQLException;
 
     /**
-     * <P>
-     * Reads a single column value from the given JDBC ResultSet and returns a 
value object of desired data type.<BR> 
-     * See {@link DBExpr#getValueClass(DataType)} for java class type mapping.
-     * <P>
+     * Reads a single column value from the given JDBC ResultSet and returns a 
value object of desired data type. 
+     * 
      * This gives the dbms the opportunity to change the value
      * i.e. to simulate missing data types with other types.
-     * <P>
+     * 
      * @param rset the sql Resultset with the current data row
      * @param columnIndex one based column Index of the desired column
      * @param dataType the required data type
diff --git 
a/empire-db/src/main/java/org/apache/empire/dbms/DBMSHandlerBase.java 
b/empire-db/src/main/java/org/apache/empire/dbms/DBMSHandlerBase.java
index e8efb700..b2c95443 100644
--- a/empire-db/src/main/java/org/apache/empire/dbms/DBMSHandlerBase.java
+++ b/empire-db/src/main/java/org/apache/empire/dbms/DBMSHandlerBase.java
@@ -44,7 +44,6 @@ import org.apache.empire.db.DBCommand;
 import org.apache.empire.db.DBCommandExpr;
 import org.apache.empire.db.DBDDLGenerator.DDLActionType;
 import org.apache.empire.db.DBDatabase;
-import org.apache.empire.db.DBExpr;
 import org.apache.empire.db.DBRelation;
 import org.apache.empire.db.DBRowSet;
 import org.apache.empire.db.DBSQLBuilder;
@@ -309,7 +308,7 @@ public abstract class DBMSHandlerBase implements DBMSHandler
 
     /**
      * This function creates a DBCommand derived object this database
-     * @param db the database for which to create a command object for
+     * @param autoPrepareStmt flag whether to automatically provide literal 
values as prepared statement params
      * @return a DBCommand object
      */
     @Override
@@ -417,7 +416,7 @@ public abstract class DBMSHandlerBase implements DBMSHandler
     /**
      * Returns an expression for creating a sequence value.
      * This is intended for the use with INSERT INTO statements where many 
records are affected. 
-     * @param col the column for which to obtain an expression providing the 
next sequence value
+     * @param column the column for which to obtain an expression providing 
the next sequence value
      * @return an expression for the next sequence value
      */
     public abstract DBColumnExpr getNextSequenceValueExpr(DBTableColumn 
column);
@@ -486,13 +485,11 @@ public abstract class DBMSHandlerBase implements 
DBMSHandler
     }
     
     /**
-     * <P>
      * Reads a single column value from the given JDBC ResultSet and returns a 
value object of desired data type.<BR> 
-     * See {@link DBExpr#getValueClass(DataType)} for java class type mapping.
-     * <P>
+     * 
      * This gives the dbms the opportunity to change the value
      * i.e. to simulate missing data types with other types.
-     * <P>
+     * 
      * @param rset the sql Resultset with the current data row
      * @param columnIndex one based column Index of the desired column
      * @param dataType the required data type
diff --git a/empire-db/src/main/java/org/apache/empire/dbms/DBSqlPhrase.java 
b/empire-db/src/main/java/org/apache/empire/dbms/DBSqlPhrase.java
index 29e9e328..879e7fe9 100644
--- a/empire-db/src/main/java/org/apache/empire/dbms/DBSqlPhrase.java
+++ b/empire-db/src/main/java/org/apache/empire/dbms/DBSqlPhrase.java
@@ -23,7 +23,6 @@ package org.apache.empire.dbms;
  * The phase may consist of the following placeholders:
  *  ? = the expression on which the function is applied (usually a column 
expression)
  *  {[param-index]:[DataType]} = a function parameter. The DataType name, if 
supplied, must match the name of a DataType enum value.
- * @param phrase
  * @author rainer
  */
 public enum DBSqlPhrase
diff --git 
a/empire-db/src/main/java/org/apache/empire/dbms/derby/DBMSHandlerDerby.java 
b/empire-db/src/main/java/org/apache/empire/dbms/derby/DBMSHandlerDerby.java
index ae371604..2c31b380 100644
--- a/empire-db/src/main/java/org/apache/empire/dbms/derby/DBMSHandlerDerby.java
+++ b/empire-db/src/main/java/org/apache/empire/dbms/derby/DBMSHandlerDerby.java
@@ -145,7 +145,7 @@ public class DBMSHandlerDerby extends DBMSHandlerBase
     
     /**
      * Gets an sql phrase template for this database system.<br>
-     * @see DBMSHandler#getSQLPhrase(int)
+     * @see DBMSHandler#getSQLPhrase(DBSqlPhrase)
      * @return the phrase template
      */
     @Override
@@ -250,7 +250,7 @@ public class DBMSHandlerDerby extends DBMSHandlerBase
     }
     
     /**
-     * @see DBMSHandler#getNextSequenceValue(DBDatabase, String, int, 
Connection)
+     * @see DBMSHandlerBase#getNextSequenceValue(DBDatabase, String, int, 
Connection)
      */
     @Override
     public Object getNextSequenceValue(DBDatabase db, String seqName, int 
minValue, Connection conn)
@@ -267,7 +267,7 @@ public class DBMSHandlerDerby extends DBMSHandlerBase
     }
 
     /**
-     * @see DBMSHandler#getNextSequenceValueExpr(DBTableColumn col)
+     * @see DBMSHandlerBase#getNextSequenceValueExpr(DBTableColumn col)
      */
     @Override
     public DBColumnExpr getNextSequenceValueExpr(DBTableColumn column)
diff --git 
a/empire-db/src/main/java/org/apache/empire/dbms/h2/DBMSHandlerH2.java 
b/empire-db/src/main/java/org/apache/empire/dbms/h2/DBMSHandlerH2.java
index b7b519c2..0f73347a 100644
--- a/empire-db/src/main/java/org/apache/empire/dbms/h2/DBMSHandlerH2.java
+++ b/empire-db/src/main/java/org/apache/empire/dbms/h2/DBMSHandlerH2.java
@@ -221,7 +221,7 @@ public class DBMSHandlerH2 extends DBMSHandlerBase
     
     /**
      * Gets an sql phrase template for this database system.<br>
-     * @see DBMSHandler#getSQLPhrase(int)
+     * @see DBMSHandler#getSQLPhrase(DBSqlPhrase)
      * @return the phrase template
      */
     @Override
@@ -326,7 +326,7 @@ public class DBMSHandlerH2 extends DBMSHandlerBase
     }
     
     /**
-     * @see DBMSHandler#getNextSequenceValue(DBDatabase, String, int, 
Connection)
+     * @see DBMSHandlerBase#getNextSequenceValue(DBDatabase, String, int, 
Connection)
      */
     @Override
     public Object getNextSequenceValue(DBDatabase db, String seqName, int 
minValue, Connection conn)
@@ -343,7 +343,7 @@ public class DBMSHandlerH2 extends DBMSHandlerBase
     }
 
     /**
-     * @see DBMSHandler#getNextSequenceValueExpr(DBTableColumn col)
+     * @see DBMSHandlerBase#getNextSequenceValueExpr(DBTableColumn col)
      */
     @Override
     public DBColumnExpr getNextSequenceValueExpr(DBTableColumn column)
diff --git 
a/empire-db/src/main/java/org/apache/empire/dbms/hsql/DBMSHandlerHSql.java 
b/empire-db/src/main/java/org/apache/empire/dbms/hsql/DBMSHandlerHSql.java
index 22f6760e..3c16610c 100644
--- a/empire-db/src/main/java/org/apache/empire/dbms/hsql/DBMSHandlerHSql.java
+++ b/empire-db/src/main/java/org/apache/empire/dbms/hsql/DBMSHandlerHSql.java
@@ -96,7 +96,7 @@ public class DBMSHandlerHSql extends DBMSHandlerBase
     
     /**
      * Gets an sql phrase template for this database system.<br>
-     * @see DBMSHandler#getSQLPhrase(int)
+     * @see DBMSHandler#getSQLPhrase(DBSqlPhrase)
      * @return the phrase template
      */
     @Override
@@ -230,7 +230,7 @@ public class DBMSHandlerHSql extends DBMSHandlerBase
     }
 
     /**
-     * @see DBMSHandler#getNextSequenceValue(DBDatabase, String, int, 
Connection)
+     * @see DBMSHandlerBase#getNextSequenceValue(DBDatabase, String, int, 
Connection)
      */
     @Override
     public Object getNextSequenceValue(DBDatabase db, String seqName, int 
minValue, Connection conn)
@@ -255,7 +255,7 @@ public class DBMSHandlerHSql extends DBMSHandlerBase
     }
 
     /**
-     * @see DBMSHandler#getNextSequenceValueExpr(DBTableColumn col)
+     * @see DBMSHandlerBase#getNextSequenceValueExpr(DBTableColumn col)
      */
     @Override
     public DBColumnExpr getNextSequenceValueExpr(DBTableColumn column)
diff --git 
a/empire-db/src/main/java/org/apache/empire/dbms/mysql/DBMSHandlerMySQL.java 
b/empire-db/src/main/java/org/apache/empire/dbms/mysql/DBMSHandlerMySQL.java
index ac0b322d..daba146d 100644
--- a/empire-db/src/main/java/org/apache/empire/dbms/mysql/DBMSHandlerMySQL.java
+++ b/empire-db/src/main/java/org/apache/empire/dbms/mysql/DBMSHandlerMySQL.java
@@ -109,10 +109,6 @@ public class DBMSHandlerMySQL extends DBMSHandlerBase
             }
         }
         
-        /**
-         * Creates an MySQL specific delete statement.
-         * @return the delete SQL-Command
-         */
         @Override
         protected void addDeleteWithJoins(DBSQLBuilder sql, DBRowSet table)
         {
@@ -1024,7 +1020,7 @@ public class DBMSHandlerMySQL extends DBMSHandlerBase
     
     /**
      * Gets an sql phrase template for this database system.<br>
-     * @see DBMSHandler#getSQLPhrase(int)
+     * @see DBMSHandler#getSQLPhrase(DBSqlPhrase)
      * @return the phrase template
      */
     @Override
@@ -1135,7 +1131,7 @@ public class DBMSHandlerMySQL extends DBMSHandlerBase
     }
     
     /**
-     * @see DBMSHandler#getNextSequenceValue(DBDatabase, String, int, 
Connection)
+     * @see DBMSHandlerBase#getNextSequenceValue(DBDatabase, String, int, 
Connection)
      */
     @Override
     public Object getNextSequenceValue(DBDatabase db, String seqName, int 
minValue, Connection conn)
@@ -1152,7 +1148,7 @@ public class DBMSHandlerMySQL extends DBMSHandlerBase
     }
 
     /**
-     * @see DBMSHandler#getNextSequenceValueExpr(DBTableColumn col)
+     * @see DBMSHandlerBase#getNextSequenceValueExpr(DBTableColumn col)
      */
     @Override
     public DBColumnExpr getNextSequenceValueExpr(DBTableColumn column)
diff --git 
a/empire-db/src/main/java/org/apache/empire/dbms/oracle/DBCommandOracle.java 
b/empire-db/src/main/java/org/apache/empire/dbms/oracle/DBCommandOracle.java
index d93ec9ef..a206bcae 100644
--- a/empire-db/src/main/java/org/apache/empire/dbms/oracle/DBCommandOracle.java
+++ b/empire-db/src/main/java/org/apache/empire/dbms/oracle/DBCommandOracle.java
@@ -62,7 +62,8 @@ public class DBCommandOracle extends DBCommand
      * 
      * @see org.apache.empire.db.DBCommand
      * 
-     * @param db the oracle database object this command belongs to
+     * @param dbms the oracle database handler
+     * @param autoPrepareStmt flag whether to automatically use prepared 
statements 
      */
     public DBCommandOracle(DBMSHandlerOracle dbms, boolean autoPrepareStmt)
     {
@@ -346,11 +347,6 @@ public class DBCommandOracle extends DBCommand
         addListExpr(sql, mergeSet, CTX_DEFAULT, ", ");
     }
     
-    /**
-     * Creates an Oracle specific delete statement.
-     * @return the delete SQL-Command
-     */
-    
     @Override
     protected void addDeleteForTable(DBSQLBuilder sql, DBRowSet table)
     {
diff --git 
a/empire-db/src/main/java/org/apache/empire/dbms/oracle/DBMSHandlerOracle.java 
b/empire-db/src/main/java/org/apache/empire/dbms/oracle/DBMSHandlerOracle.java
index 923782d9..d6322a14 100644
--- 
a/empire-db/src/main/java/org/apache/empire/dbms/oracle/DBMSHandlerOracle.java
+++ 
b/empire-db/src/main/java/org/apache/empire/dbms/oracle/DBMSHandlerOracle.java
@@ -160,7 +160,7 @@ public class DBMSHandlerOracle extends DBMSHandlerBase
 
     /**
      * Gets an sql phrase template for this database system.<br>
-     * @see DBMSHandler#getSQLPhrase(int)
+     * @see DBMSHandler#getSQLPhrase(DBSqlPhrase)
      * @return the phrase template
      */
     @Override
@@ -340,7 +340,7 @@ public class DBMSHandlerOracle extends DBMSHandlerBase
     }
 
     /**
-     * @see DBMSHandler#getNextSequenceValue(DBDatabase, String, int, 
Connection)
+     * @see DBMSHandlerBase#getNextSequenceValue(DBDatabase, String, int, 
Connection)
      */
     @Override
     public Object getNextSequenceValue(DBDatabase db, String seqName, int 
minValue, Connection conn)
@@ -364,7 +364,7 @@ public class DBMSHandlerOracle extends DBMSHandlerBase
     }
 
     /**
-     * @see DBMSHandler#getNextSequenceValueExpr(DBTableColumn col)
+     * @see DBMSHandlerBase#getNextSequenceValueExpr(DBTableColumn col)
      */
     @Override
     public DBColumnExpr getNextSequenceValueExpr(DBTableColumn column)
diff --git 
a/empire-db/src/main/java/org/apache/empire/dbms/postgresql/DBMSHandlerPostgreSQL.java
 
b/empire-db/src/main/java/org/apache/empire/dbms/postgresql/DBMSHandlerPostgreSQL.java
index 8ad4e782..c49f4443 100644
--- 
a/empire-db/src/main/java/org/apache/empire/dbms/postgresql/DBMSHandlerPostgreSQL.java
+++ 
b/empire-db/src/main/java/org/apache/empire/dbms/postgresql/DBMSHandlerPostgreSQL.java
@@ -157,7 +157,7 @@ public class DBMSHandlerPostgreSQL extends DBMSHandlerBase
     
     /**
      * Gets an sql phrase template for this database system.<br>
-     * @see DBMSHandler#getSQLPhrase(int)
+     * @see DBMSHandler#getSQLPhrase(DBSqlPhrase)
      * @return the phrase template
      */
     @Override
@@ -263,7 +263,7 @@ public class DBMSHandlerPostgreSQL extends DBMSHandlerBase
 
     
     /**
-     * @see DBMSHandler#getNextSequenceValue(DBDatabase, String, int, 
Connection)
+     * @see DBMSHandlerBase#getNextSequenceValue(DBDatabase, String, int, 
Connection)
      */
     @Override
     public Object getNextSequenceValue(DBDatabase db, String seqName, int 
minValue, Connection conn)
@@ -280,7 +280,7 @@ public class DBMSHandlerPostgreSQL extends DBMSHandlerBase
     }
 
     /**
-     * @see DBMSHandler#getNextSequenceValueExpr(DBTableColumn col)
+     * @see DBMSHandlerBase#getNextSequenceValueExpr(DBTableColumn col)
      */
     @Override
     public DBColumnExpr getNextSequenceValueExpr(DBTableColumn column)
diff --git 
a/empire-db/src/main/java/org/apache/empire/dbms/sqlite/DBMSHandlerSQLite.java 
b/empire-db/src/main/java/org/apache/empire/dbms/sqlite/DBMSHandlerSQLite.java
index b6ff2c00..31921a6b 100644
--- 
a/empire-db/src/main/java/org/apache/empire/dbms/sqlite/DBMSHandlerSQLite.java
+++ 
b/empire-db/src/main/java/org/apache/empire/dbms/sqlite/DBMSHandlerSQLite.java
@@ -69,8 +69,8 @@ public class DBMSHandlerSQLite extends DBMSHandlerBase
         // *Deprecated* private static final long serialVersionUID = 1L;
         
         /**
-         * @param db
-         *            the database
+         * @param dmbs the SQLLite database handler
+         * @param autoPrepareStmt flag whether to automatically prepare 
statements
          * @see org.apache.empire.db.DBCommand
          */
         public DBCommandSQLite(DBMSHandlerSQLite dmbs, boolean autoPrepareStmt)
@@ -299,7 +299,7 @@ public class DBMSHandlerSQLite extends DBMSHandlerBase
     /**
      * Gets an sql phrase template for this database system.<br>
      * 
-     * @see DBMSHandler#getSQLPhrase(int)
+     * @see DBMSHandler#getSQLPhrase(DBSqlPhrase)
      * @return the phrase template
      */
     @Override
@@ -536,7 +536,7 @@ public class DBMSHandlerSQLite extends DBMSHandlerBase
     }
 
     /**
-     * @see DBMSHandler#getNextSequenceValueExpr(DBTableColumn col)
+     * @see DBMSHandlerBase#getNextSequenceValueExpr(DBTableColumn col)
      */
     @Override
     public DBColumnExpr getNextSequenceValueExpr(DBTableColumn column)
diff --git 
a/empire-db/src/main/java/org/apache/empire/dbms/sqlserver/DBMSHandlerMSSQL.java
 
b/empire-db/src/main/java/org/apache/empire/dbms/sqlserver/DBMSHandlerMSSQL.java
index a3322a75..1235d85f 100644
--- 
a/empire-db/src/main/java/org/apache/empire/dbms/sqlserver/DBMSHandlerMSSQL.java
+++ 
b/empire-db/src/main/java/org/apache/empire/dbms/sqlserver/DBMSHandlerMSSQL.java
@@ -346,7 +346,7 @@ public class DBMSHandlerMSSQL extends DBMSHandlerBase
 
     /**
      * Gets an sql phrase template for this database system.<br>
-     * @see DBMSHandler#getSQLPhrase(int)
+     * @see DBMSHandler#getSQLPhrase(DBSqlPhrase)
      * @return the phrase template
      */
     @Override
@@ -470,7 +470,7 @@ public class DBMSHandlerMSSQL extends DBMSHandlerBase
     }
 
     /**
-     * @see DBMSHandler#getNextSequenceValue(DBDatabase, String, int, 
Connection)
+     * @see DBMSHandlerBase#getNextSequenceValue(DBDatabase, String, int, 
Connection)
      */
     @Override
     public Object getNextSequenceValue(DBDatabase db, String seqName, int 
minValue, Connection conn)
@@ -487,7 +487,7 @@ public class DBMSHandlerMSSQL extends DBMSHandlerBase
     }
 
     /**
-     * @see DBMSHandler#getNextSequenceValueExpr(DBTableColumn col)
+     * @see DBMSHandlerBase#getNextSequenceValueExpr(DBTableColumn col)
      */
     @Override
     public DBColumnExpr getNextSequenceValueExpr(DBTableColumn column)
diff --git 
a/empire-db/src/main/java/org/apache/empire/dbms/sqlserver/MSSqlDBModelParser.java
 
b/empire-db/src/main/java/org/apache/empire/dbms/sqlserver/MSSqlDBModelParser.java
index ef78a212..28d97b19 100644
--- 
a/empire-db/src/main/java/org/apache/empire/dbms/sqlserver/MSSqlDBModelParser.java
+++ 
b/empire-db/src/main/java/org/apache/empire/dbms/sqlserver/MSSqlDBModelParser.java
@@ -34,8 +34,8 @@ public class MSSqlDBModelParser extends DBModelParser
 {
     /**
      * create a MSSqlDBModelChecker
-     * @param db the database 
      * @param catalog the catalog
+     * @param schema the schema ("DBO" is the default)
      */
     public MSSqlDBModelParser(String catalog, String schema)
     {


Reply via email to