com.uwyn.rife.database.types
Interface SqlConversion
public interface SqlConversion
|
Method Summary |
String |
getSqlType(Class type,
int precision,
int scale)
|
String |
getSqlValue(Object value)
|
Object |
getTypedObject(ResultSet resultSet,
int columnNumber,
int type,
Class targetType)
|
void |
setTypedParameter(DbPreparedStatement statement,
int parameterIndex,
Class targetType,
String name,
Object value,
Constrained constrained)
|
getSqlValue
String getSqlValue(Object value)
getSqlType
String getSqlType(Class type,
int precision,
int scale)
getTypedObject
Object getTypedObject(ResultSet resultSet,
int columnNumber,
int type,
Class targetType)
throws DatabaseException
- Throws:
DatabaseException
setTypedParameter
void setTypedParameter(DbPreparedStatement statement,
int parameterIndex,
Class targetType,
String name,
Object value,
Constrained constrained)
throws DatabaseException
- Throws:
DatabaseException
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.