public class JDBCUtils extends Object
Modifier and Type | Field and Description |
---|---|
protected static DateFormat |
df_date |
protected static DateFormat |
df_datetime |
Constructor and Description |
---|
JDBCUtils() |
Modifier and Type | Method and Description |
---|---|
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) |
protected static DateFormat df_date
protected static DateFormat df_datetime
public static String getString(ResultSet rs, int ix, int sql_type) throws SQLException
SQLException
public static void setObject(PreparedStatement stmt, int ix, String value, int sql_type) throws SQLException
SQLException
public static String getHighPrecisionString(ResultSet rs, int ix, int sql_type) throws Exception
Exception
public static void setHighPrecisionObject(PreparedStatement stmt, int ix, String value, int sql_type) throws SQLException
SQLException