org.objectweb.jorm.mapper.rdb.adapter.api
Interface ValueAsSQLStringAdapter
- RdbAdapter, RdbAdapter
- BasicRdbAdapter, CloudscapeAdapter, Db2Adapter, FirebirdAdapter, HsqlAdapter, MckoiAdapter, MysqlAdapter, Oracle8Adapter, OracleAdapter, PostgresAdapter, ProgressAdapter, SapdbAdapter, SqlserverAdapter, SybaseAdapter
public interface ValueAsSQLStringAdapter
- S.Chassande-Barrioz
String | getValueAsSQLString(Object value, int typeCode) - This method returns a String value that represents a value.
|
String | getValueAsSQLString(boolean value) - This method returns a String value that represents a boolean value.
|
String | getValueAsSQLString(byte value) - This method returns a String value that represents a byte value.
|
String | getValueAsSQLString(char value) - This method returns a String value that represents a char value.
|
String | getValueAsSQLString(double value) - This method returns a String value that represents a double value.
|
String | getValueAsSQLString(float value) - This method returns a String value that represents a float value.
|
String | getValueAsSQLString(int value) - This method returns a String value that represents a int value.
|
String | getValueAsSQLString(long value) - This method returns a String value that represents a long value.
|
String | getValueAsSQLString(short value) - This method returns a String value that represents a short value.
|
getValueAsSQLString
public String getValueAsSQLString(Object value,
int typeCode)
This method returns a String value that represents a value. This method
can be used for the constant parameters of SQL queries.
value
- typeCode
- is the java type of the value
getValueAsSQLString
public String getValueAsSQLString(boolean value)
This method returns a String value that represents a boolean value. This
method can be used for the constant parameters of SQL queries.
getValueAsSQLString
public String getValueAsSQLString(byte value)
This method returns a String value that represents a byte value. This
method can be used for the constant parameters of SQL queries.
getValueAsSQLString
public String getValueAsSQLString(char value)
This method returns a String value that represents a char value. This
method can be used for the constant parameters of SQL queries.
getValueAsSQLString
public String getValueAsSQLString(double value)
This method returns a String value that represents a double value. This
method can be used for the constant parameters of SQL queries.
getValueAsSQLString
public String getValueAsSQLString(float value)
This method returns a String value that represents a float value. This
method can be used for the constant parameters of SQL queries.
getValueAsSQLString
public String getValueAsSQLString(int value)
This method returns a String value that represents a int value. This
method can be used for the constant parameters of SQL queries.
getValueAsSQLString
public String getValueAsSQLString(long value)
This method returns a String value that represents a long value. This
method can be used for the constant parameters of SQL queries.
getValueAsSQLString
public String getValueAsSQLString(short value)
This method returns a String value that represents a short value. This
method can be used for the constant parameters of SQL queries.