Class MapMappers
java.lang.Object
org.jdbi.v3.core.mapper.MapMappers
- All Implemented Interfaces:
JdbiConfig<MapMappers>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a copy of this configuration object.Case change strategy for the database column names.setCaseChange
(UnaryOperator<String> caseChange) Sets the case change strategy for the database column names.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jdbi.v3.core.config.JdbiConfig
setRegistry
-
Constructor Details
-
MapMappers
public MapMappers()
-
-
Method Details
-
getCaseChange
Case change strategy for the database column names. By default, the row names are lowercased using the system locale.- Returns:
- The current case change strategy.
- See Also:
-
setCaseChange
Sets the case change strategy for the database column names. By default, the row names are lowercased using the system locale.- Parameters:
caseChange
- The strategy to use. Must not be null.- See Also:
-
createCopy
Description copied from interface:JdbiConfig
Returns a copy of this configuration object. Changes to the copy should not modify the original, and vice-versa.- Specified by:
createCopy
in interfaceJdbiConfig<MapMappers>
- Returns:
- a copy of this configuration object.
-