com.espertech.esper.util
Class SQLTypeMapUtil
java.lang.Object
com.espertech.esper.util.SQLTypeMapUtil
public class SQLTypeMapUtil
- extends Object
Utility for mapping SQL types of Types
to Java classes.
Method Summary |
static Class |
sqlTypeToClass(int sqlType,
String className)
Mapping as defined by JDBC 3 Spec , page B-177, table B-1 JBDC Types mapped to Java Types. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLTypeMapUtil
public SQLTypeMapUtil()
sqlTypeToClass
public static Class sqlTypeToClass(int sqlType,
String className)
- Mapping as defined by JDBC 3 Spec , page B-177, table B-1 JBDC Types mapped to Java Types.
- Parameters:
sqlType
- to return Java class forclassName
- is the classname that result metadata returns for a column
- Returns:
- Java class for JDBC sql types