Class JpaMapperFactory
java.lang.Object
org.jdbi.v3.jpa.JpaMapperFactory
- All Implemented Interfaces:
RowMapperFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(Type type, ConfigRegistry config) Supplies a row mapper which will map result set rows to type if the factory supports it; empty otherwise.
-
Constructor Details
-
JpaMapperFactory
public JpaMapperFactory()
-
-
Method Details
-
build
Description copied from interface:RowMapperFactory
Supplies a row mapper which will map result set rows to type if the factory supports it; empty otherwise.- Specified by:
build
in interfaceRowMapperFactory
- Parameters:
type
- the target type to map toconfig
- the config registry, for composition- Returns:
- a row mapper for the given type if this factory supports it;
Optional.empty()
otherwise. - See Also:
-