com.espertech.esperio.db.core
Class DBUtil

java.lang.Object
  extended by com.espertech.esperio.db.core.DBUtil

public class DBUtil
extends java.lang.Object


Constructor Summary
DBUtil()
           
 
Method Summary
static java.lang.Object getValue(java.sql.ResultSet rs, int index, int valueType)
          Returns the object value for a given column and type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBUtil

public DBUtil()
Method Detail

getValue

public static java.lang.Object getValue(java.sql.ResultSet rs,
                                        int index,
                                        int valueType)
                                 throws java.sql.SQLException
Returns the object value for a given column and type.

Parameters:
rs - result set
index - column index
valueType - value type
Returns:
object value
Throws:
java.sql.SQLException - if the column could not be read

© 2006-2016 EsperTech Inc.
All rights reserved.
Visit us at espertech.com