Modifier and Type | Method and Description |
---|---|
static void |
setValue(TimeZone tz,
PreparedStatement stat,
int parameterIndex,
SQLItem item) |
static short |
toCFType(int sqlType,
short defaultValue) |
static Object |
toCFType(Object value) |
static Object |
toCFType(Object value,
int type) |
static Object |
toCFType(Object value,
Object defaultValue) |
static Object |
toCFTypeEL(SQLItem item) |
static Object |
toCFTypex(SQLItem item)
cast a Value to a correspondance CF Type
|
static Object |
toSqlType(SQLItem item)
sets a Value to a PreparedStatement
|
static int |
toSQLType(String strType)
cast a String SQL Type to int Type
|
static String |
toString(SQLItem item)
Cast a SQL Item to a String (Display) Value
|
static String |
toStringType(int type)
returns CF SQL Type as String
|
public static Object toSqlType(SQLItem item) throws PageException, DatabaseException
stat
- parameterIndex
- item
- SQLException
PageException
DatabaseException
public static void setValue(TimeZone tz, PreparedStatement stat, int parameterIndex, SQLItem item) throws PageException, SQLException, DatabaseException
public static String toString(SQLItem item)
item
- public static Object toCFTypex(SQLItem item) throws PageException
item
- PageException
public static Object toCFTypeEL(SQLItem item)
public static Object toCFType(Object value) throws PageException
PageException
public static Object toCFType(Object value, int type) throws PageException
PageException
public static String toStringType(int type) throws DatabaseException
type
- DatabaseException
public static int toSQLType(String strType) throws DatabaseException
strType
- DatabaseException
public static short toCFType(int sqlType, short defaultValue)
Copyright © 2015 Lucee