public final class TypeMapper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Map |
CLASS_TO_TYPE_MAP
map the java classes to jdbc type int *
|
Modifier | Constructor and Description |
---|---|
private |
TypeMapper()
Constructor
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isJdbcType(java.lang.Class c)
Return whether a java type is a jdbc type
|
static int |
toJdbcType(java.lang.Class c)
Return the jdbc type given the java type (based on JDBC spec)
|
public static final java.util.Map CLASS_TO_TYPE_MAP
public static int toJdbcType(java.lang.Class c)
c
- the java classpublic static boolean isJdbcType(java.lang.Class c)
c
- the class