Class MetadataBuilderImpl.MappingDefaultsImpl

    • Method Detail

      • getImplicitSchemaName

        public String getImplicitSchemaName()
        Description copied from interface: MappingDefaults
        Identifies the database schema name to use if none specified in the mapping.
        Specified by:
        getImplicitSchemaName in interface MappingDefaults
        Returns:
        The implicit schema name; may be null
      • getImplicitCatalogName

        public String getImplicitCatalogName()
        Description copied from interface: MappingDefaults
        Identifies the database catalog name to use if none specified in the mapping.
        Specified by:
        getImplicitCatalogName in interface MappingDefaults
        Returns:
        The implicit catalog name; may be null
      • shouldImplicitlyQuoteIdentifiers

        public boolean shouldImplicitlyQuoteIdentifiers()
        Description copied from interface: MappingDefaults
        Should all database identifiers encountered in this context be implicitly quoted? true indicates that all identifier encountered within this context should be quoted. false indicates indicates that identifiers within this context are onl;y quoted if explicitly quoted.
        Specified by:
        shouldImplicitlyQuoteIdentifiers in interface MappingDefaults
        Returns:
        true/false
      • getImplicitIdColumnName

        public String getImplicitIdColumnName()
        Description copied from interface: MappingDefaults
        Identifies the column name to use for the identifier column if none specified in the mapping.
        Specified by:
        getImplicitIdColumnName in interface MappingDefaults
        Returns:
        The implicit identifier column name
      • getImplicitTenantIdColumnName

        public String getImplicitTenantIdColumnName()
        Description copied from interface: MappingDefaults
        Identifies the column name to use for the tenant identifier column if none is specified in the mapping.
        Specified by:
        getImplicitTenantIdColumnName in interface MappingDefaults
        Returns:
        The implicit tenant identifier column name
      • getImplicitDiscriminatorColumnName

        public String getImplicitDiscriminatorColumnName()
        Description copied from interface: MappingDefaults
        Identifies the column name to use for the discriminator column if none specified in the mapping.
        Specified by:
        getImplicitDiscriminatorColumnName in interface MappingDefaults
        Returns:
        The implicit discriminator column name
      • getImplicitPackageName

        public String getImplicitPackageName()
        Description copied from interface: MappingDefaults
        Identifies the package name to use if none specified in the mapping. Really only pertinent for hbm.xml mappings.
        Specified by:
        getImplicitPackageName in interface MappingDefaults
        Returns:
        The implicit package name.
      • isAutoImportEnabled

        public boolean isAutoImportEnabled()
        Description copied from interface: MappingDefaults
        Is auto-importing of entity (short) names enabled?
        Specified by:
        isAutoImportEnabled in interface MappingDefaults
        Returns:
        true if auto-importing is enabled; false otherwise.
      • getImplicitCascadeStyleName

        public String getImplicitCascadeStyleName()
        Description copied from interface: MappingDefaults
        Identifies the cascade style to apply to associations if none specified in the mapping.
        Specified by:
        getImplicitCascadeStyleName in interface MappingDefaults
        Returns:
        The implicit cascade style
      • areEntitiesImplicitlyLazy

        public boolean areEntitiesImplicitlyLazy()
        Description copied from interface: MappingDefaults
        Identifies whether singular associations (many-to-one, one-to-one) are lazy by default if not specified in the mapping.
        Specified by:
        areEntitiesImplicitlyLazy in interface MappingDefaults
        Returns:
        The implicit association laziness
      • areCollectionsImplicitlyLazy

        public boolean areCollectionsImplicitlyLazy()
        Description copied from interface: MappingDefaults
        Identifies whether plural attributes are lazy by default if not specified in the mapping.
        Specified by:
        areCollectionsImplicitlyLazy in interface MappingDefaults
        Returns:
        The implicit association laziness