SQLMappingCatalog
classin packageklyn.data.sql.internal
public final class SQLMappingCatalog:
SQLMappingCatalog

Immutable SQL mapping catalog built once by EntityManagerFactory.

Annotation reflection and external mapping selection happen during factory acquisition. Repository creation then performs one hash lookup and never repeats entity reflection.

Properties
Modifier and Type Member Description
public readonly property mappedTypes
mappedTypes as IList<Type>:
Deterministically ordered entity types represented by this catalog.
public readonly property mappingFingerprint
mappingFingerprint as String
Stable fingerprint of every effective SQL entity mapping.
Constructors
Modifier and Type Member Description
public SQLMappingCatalog
SQLMappingCatalog( mappedTypes as IList<Type>, mappings as MappingRegistry = MappingRegistry.empty ):
Builds and validates all effective SQL mappings.
Methods
Modifier and Type Member Description
public resolve
resolve(entityType as Type) as SQLMappedEntity:
Resolves one effective mapping by entity type.