Class JDBCTypeSystemReader

java.lang.Object
de.hybris.platform.util.jdbc.JDBCTypeSystemReader

public class JDBCTypeSystemReader extends Object
Reader for loading the bootstrap type system from an existing database. TODO: - read meta types dynamically to support subtyping of meta types e.g. own enum and relation types
  • Constructor Details

  • Method Details

    • getTableName

      protected String getTableName(String baseName)
    • getConnection

      protected Connection getConnection()
    • getHandler

      protected YTypeSystemHandler getHandler()
    • read

      public void read()
    • registerType

      protected void registerType(String typeCode, PK pk)
    • registerAttribute

      protected void registerAttribute(String enclosing, String qualifier, PK pk)
    • registerEnumValue

      protected void registerEnumValue(String type, String code, PK pk)
    • readAtomicTypes

      protected void readAtomicTypes(String extensionName)
    • readCollectionTypes

      protected void readCollectionTypes(String extensionName)
    • readMapTypes

      protected void readMapTypes(String extensionName)
    • readComposedTypes

      protected void readComposedTypes(String extensionName)
    • readAttributes

      protected void readAttributes(String extensionName)
    • readEnumTypes

      protected void readEnumTypes(String extensionName)
    • readEnumValues

      protected void readEnumValues(String extensionName)
    • readRelationTypes

      protected void readRelationTypes(String extensionName)