klyn.data.MappingRegistry.resolve
method

    public resolve<T, TId>(
    providerName as String,
    mappingName as String = ""
    ) as MappingDescriptor<T, TId>:

Description

Resolves one exact typed descriptor or reports missing metadata.

Parameters

Parameter | Description
--- | ---
`providerName` | Provider family.
`mappingName` | Explicit mapping name, or empty for the default.

Returns

Exact typed mapping descriptor.

Throws

- EntityMappingException when no matching descriptor exists.

Example

    mapping = registry.resolve<User, Int>("sql")