public final class Util extends Object
Modifier and Type | Field and Description |
---|---|
static rx.functions.Func1<Reader,String> |
READER_TO_STRING
Returns a function that reads a
Reader into a String. |
Modifier and Type | Method and Description |
---|---|
static Object |
autoMap(Object o,
Class<?> cls)
Converts from java.sql Types to common java types like java.util.Date and
numeric types.
|
static <T> Object |
mapObject(ResultSet rs,
Class<T> cls,
int i) |
static void |
setNamedParameters(PreparedStatement ps,
List<com.github.davidmoten.rx.jdbc.Parameter> parameters,
List<String> names) |
public static Object autoMap(Object o, Class<?> cls)
QuerySelect.Builder.autoMap(Class)
.o
- cls
- public static void setNamedParameters(PreparedStatement ps, List<com.github.davidmoten.rx.jdbc.Parameter> parameters, List<String> names) throws SQLException
SQLException
Copyright © 2014–2015. All rights reserved.