Interface IMappingStrategy.Props

  • Enclosing interface:
    IMappingStrategy

    public static interface IMappingStrategy.Props
    Contains symbolic constants that specifiy valid keys of mapping strategy properties.
    Since:
    4.4
    Author:
    Eike Stepper
    No Implement
    This interface is not intended to be implemented by clients.
    No Extend
    This interface is not intended to be extended by clients.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String COLUMN_TYPE_MODIFIER
      Name of a String property that specifies the name of a column type modifier.
      static java.lang.String EAGER_TABLE_CREATION
      Name of a boolean property that configures whether all tables for a package are created eagerly.
      static java.lang.String FORCE_INDEXES
      Name of the String property that configures on what types of structural features additional indexes are to be created.
      static java.lang.String FORCE_NAMES_WITH_ID
      Name of the boolean property that configures whether table names and column names are always suffixed with the internal DBID or only in cases where generated names violate the naming constraints of the underlying backend.
      static java.lang.String MAX_FIELD_NAME_LENGTH
      Name of the integer property that configures the maximum length for column names.
      static java.lang.String MAX_TABLE_NAME_LENGTH
      Name of the integer property that configures the maximum length for table names.
      static java.lang.String OBJECT_TYPE_CACHE_SIZE
      Name of the integer property that configures the size of the object type in-memory cache.
      static java.lang.String QUALIFIED_NAMES
      Name of the boolean property that configures whether the table names are made of simple class names or of qualified class names.
      static java.lang.String TABLE_NAME_PREFIX
      Name of the String property that specifies a common prefix for table names.
      static java.lang.String TYPE_MAPPING_PROVIDER
      Name of an optional String property that specifies the factory type for a custom type mapping provider.
    • Field Detail

      • MAX_TABLE_NAME_LENGTH

        static final java.lang.String MAX_TABLE_NAME_LENGTH
        Name of the integer property that configures the maximum length for table names. A value of zero indicates the value of the db adapter to be used.
        See Also:
        Constant Field Values
      • MAX_FIELD_NAME_LENGTH

        static final java.lang.String MAX_FIELD_NAME_LENGTH
        Name of the integer property that configures the maximum length for column names. A value of zero indicates the value of the db adapter to be used.
        See Also:
        Constant Field Values
      • TABLE_NAME_PREFIX

        static final java.lang.String TABLE_NAME_PREFIX
        Name of the String property that specifies a common prefix for table names.
        See Also:
        Constant Field Values
      • QUALIFIED_NAMES

        static final java.lang.String QUALIFIED_NAMES
        Name of the boolean property that configures whether the table names are made of simple class names or of qualified class names.
        See Also:
        Constant Field Values
      • FORCE_NAMES_WITH_ID

        static final java.lang.String FORCE_NAMES_WITH_ID
        Name of the boolean property that configures whether table names and column names are always suffixed with the internal DBID or only in cases where generated names violate the naming constraints of the underlying backend.
        See Also:
        Constant Field Values
      • FORCE_INDEXES

        static final java.lang.String FORCE_INDEXES
        Name of the String property that configures on what types of structural features additional indexes are to be created.
        See Also:
        Constant Field Values
      • OBJECT_TYPE_CACHE_SIZE

        static final java.lang.String OBJECT_TYPE_CACHE_SIZE
        Name of the integer property that configures the size of the object type in-memory cache. Possible configuration values are:
        • 0 (zero). Don't use memory caching.
        • >0. Use memory caching with the cache size given.
        Default is a memory cache size of 10,000,000.
        See Also:
        Constant Field Values
      • EAGER_TABLE_CREATION

        static final java.lang.String EAGER_TABLE_CREATION
        Name of a boolean property that configures whether all tables for a package are created eagerly.
        Since:
        4.6
        See Also:
        Constant Field Values
      • TYPE_MAPPING_PROVIDER

        static final java.lang.String TYPE_MAPPING_PROVIDER
        Name of an optional String property that specifies the factory type for a custom type mapping provider.
        Since:
        4.10
        See Also:
        Constant Field Values