|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.util.SQLTypeMapUtil
public class SQLTypeMapUtil
Utility for mapping SQL types of Types
to Java classes.
Constructor Summary | |
---|---|
SQLTypeMapUtil()
|
Method Summary | |
---|---|
static int |
getSQLTypeByName(java.lang.String type)
Returns the SQL type by type name. |
static java.lang.Class |
sqlTypeToClass(int sqlType,
java.lang.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 |
Constructor Detail |
---|
public SQLTypeMapUtil()
Method Detail |
---|
public static java.lang.Class sqlTypeToClass(int sqlType, java.lang.String className)
sqlType
- to return Java class forclassName
- is the classname that result metadata returns for a column
public static int getSQLTypeByName(java.lang.String type)
type
- sql type name
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |