Class CharType

java.lang.Object
org.apache.cayenne.access.types.CharType
All Implemented Interfaces:
ExtendedType<String>
Direct Known Subclasses:
OracleCharType

public class CharType
extends Object
implements ExtendedType<String>
Handles java.lang.String, mapping it as either of JDBC types - CLOB or (VAR)CHAR. Can be configured to trim trailing spaces.
  • Field Details

    • trimmingChars

      protected boolean trimmingChars
    • usingClobs

      protected boolean usingClobs
  • Constructor Details

    • CharType

      public CharType​(boolean trimmingChars, boolean usingClobs)
  • Method Details