public class ObjectMappers extends Object
Constructs Mappers for mapping a ResultSet row into a plain java object based on object field vs ResultSet column match. Matching is case insensitive and ignore '_' characters. The target class must have a no-arg constructor, fields can be private, no need for accessors.
In addition to JDBC types, supports java.time types out of the box. Supports plugins for custom types.
Mapper
Modifier and Type | Class and Description |
---|---|
static class |
ObjectMappers.Builder |
Modifier and Type | Method and Description |
---|---|
static ObjectMappers.Builder |
builder() |
<T> Mapper<T> |
forClass(Class<T> clazz) |
public static ObjectMappers.Builder builder()
Copyright © 2016. All rights reserved.