public interface ResultSetMapperComponent
ResultSetMapperComponent provides a mapping from a certain
DbmsType and Class to a certain ResultSetMapping.
By implementing this interface, arbitrary mappings may be carried out.
This component is primarily used by custom database connectors so that non-standard JDBC mappings can be used.
| Modifier and Type | Method and Description |
|---|---|
<T> ResultSetMapping<T> |
apply(Class<T> javaClass)
Gets the mapping from the javaClass to the
ResultSetMapping. |
<T> ResultSetMapping<T> |
apply(DbmsType dbmsType,
Class<T> javaClass)
Gets the mapping from the javaClass to the
ResultSetMapping. |
<T> ResultSetMapping<T> apply(DbmsType dbmsType, Class<T> javaClass)
ResultSetMapping. If a
specific mapping for the given DbmsType is present, that mapping
is selected over the general mapping for any DbmsType.T - the java class type to mapdbmsType - the Dbms typejavaClass - the java class to map<T> ResultSetMapping<T> apply(Class<T> javaClass)
ResultSetMapping. The
mapping will not consider DbmsType specific mappings.T - the java class type to mapjavaClass - the java class to mapCopyright © 2019 Speedment, Inc.. All rights reserved.