In order to map a version column, either the column index or the column name
must be set, and the version column jdbc type (one of
java.sql.Types). The version column jdbc type defaults to
java.sql.Types.BIGINT.
Creates an empty version column mapping. Must set at least the colum
index or colum name.
The sqlType defaults to java.sql.Types.BIGINT.
VersionColumnMapping
public VersionColumnMapping(String columnName)(Code)
Creates a new version column mapping given the column name.
The sqlType defaults to java.sql.Types.BIGINT.
Parameters: columnName - The version column name that will be used to look up thecolumn value.
VersionColumnMapping
public VersionColumnMapping(int columnIndex)(Code)
Creates a new version column mapping given the column name.
The sqlType defaults to java.sql.Types.BIGINT.
Parameters: columnIndex - The version column name that will be used to look up thecolumn value.
VersionColumnMapping
public VersionColumnMapping(String columnName, int sqlType)(Code)
Creates a new version column mapping given the column name and the column
sql type.
Parameters: columnName - The version column name that will be used to look up thecolumn value. Parameters: sqlType - The sql type (java.sql.Types) of the versioncolumn.
VersionColumnMapping
public VersionColumnMapping(int columnIndex, int sqlType)(Code)
Creates a new version column mapping given the column index and the
column sql type.
Parameters: columnIndex - The version column name that will be used to look up thecolumn value. Parameters: sqlType - The sql type (java.sql.Types) of the versioncolumn.