Class VarCharColumnMapping

All Implemented Interfaces:
ColumnMapping

public class VarCharColumnMapping extends CharColumnMapping
Mapping of a VARCHAR column.
  • Constructor Details

    • VarCharColumnMapping

      public VarCharColumnMapping(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col)
      Constructor.
      Parameters:
      mapping - Java type mapping
      storeMgr - Store Manager
      col - Column
  • Method Details

    • initialize

      protected void initialize()
      Method to initialise the column mapping. Provides default length specifications for the VARCHAR column to fit the data being stored.
      Overrides:
      initialize in class CharColumnMapping
    • getJDBCType

      public int getJDBCType()
      Description copied from class: AbstractColumnMapping
      Method to return the java.sql.Types type that this relates to.
      Overrides:
      getJDBCType in class CharColumnMapping
      Returns:
      The JDBC "type"