net.esper.util
Class SQLTypeMapUtil

java.lang.Object
  extended by net.esper.util.SQLTypeMapUtil

public class SQLTypeMapUtil
extends Object

Utility for mapping SQL types of Types to Java classes.


Constructor Summary
SQLTypeMapUtil()
           
 
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
 

Constructor Detail

SQLTypeMapUtil

public SQLTypeMapUtil()
Method Detail

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 for
className - is the classname that result metadata returns for a column
Returns:
Java class for JDBC sql types

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com