|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.onemind.commons.java.sql.TypeMapper
public final class TypeMapper
May jdbc type to java type
Field Summary | |
---|---|
static java.util.Map |
CLASS_TO_TYPE_MAP
map the java classes to jdbc type int * |
Constructor Summary | |
---|---|
private |
TypeMapper()
Constructor |
Method Summary | |
---|---|
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) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.util.Map CLASS_TO_TYPE_MAP
Constructor Detail |
---|
private TypeMapper()
Method Detail |
---|
public static int toJdbcType(java.lang.Class c)
c
- the java class
public static boolean isJdbcType(java.lang.Class c)
c
- the class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |