net.ontopia.topicmaps.db2tm
Class JDBCUtils

java.lang.Object
  extended by net.ontopia.topicmaps.db2tm.JDBCUtils

public class JDBCUtils
extends java.lang.Object

INTERNAL: Data source that reads tables via JDBC.


Constructor Summary
JDBCUtils()
           
 
Method Summary
static java.lang.String getHighPrecisionString(java.sql.ResultSet rs, int ix, int sql_type)
           
static java.lang.String getString(java.sql.ResultSet rs, int ix, int sql_type)
           
static void setHighPrecisionObject(java.sql.PreparedStatement stmt, int ix, java.lang.String value, int sql_type)
           
static void setObject(java.sql.PreparedStatement stmt, int ix, java.lang.String value, int sql_type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCUtils

public JDBCUtils()
Method Detail

getString

public static java.lang.String getString(java.sql.ResultSet rs,
                                         int ix,
                                         int sql_type)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

setObject

public static void setObject(java.sql.PreparedStatement stmt,
                             int ix,
                             java.lang.String value,
                             int sql_type)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getHighPrecisionString

public static java.lang.String getHighPrecisionString(java.sql.ResultSet rs,
                                                      int ix,
                                                      int sql_type)
                                               throws java.lang.Exception
Throws:
java.lang.Exception

setHighPrecisionObject

public static void setHighPrecisionObject(java.sql.PreparedStatement stmt,
                                          int ix,
                                          java.lang.String value,
                                          int sql_type)
                                   throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2000-2012 Ontopia.