net.ontopia.topicmaps.db2tm
Class JDBCUtils

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

public class JDBCUtils
extends Object

INTERNAL: Data source that reads tables via JDBC.


Constructor Summary
JDBCUtils()
           
 
Method Summary
static String getHighPrecisionString(ResultSet rs, int ix, int sql_type)
           
static String getString(ResultSet rs, int ix, int sql_type)
           
static void setHighPrecisionObject(PreparedStatement stmt, int ix, String value, int sql_type)
           
static void setObject(PreparedStatement stmt, int ix, 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 String getString(ResultSet rs,
                               int ix,
                               int sql_type)
                        throws SQLException
Throws:
SQLException

setObject

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

getHighPrecisionString

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

setHighPrecisionObject

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


Copyright © 2000-2012 Ontopia.