Package rife.database.types
Interface SqlConversion
public interface SqlConversion
-
Method Summary
Modifier and TypeMethodDescriptiongetSqlType
(Class type, int precision, int scale) getSqlValue
(Object value) getTypedObject
(ResultSet resultSet, int columnNumber, int type, Class targetType) void
setTypedParameter
(DbPreparedStatement statement, int parameterIndex, Class targetType, String name, Object value, Constrained constrained)
-
Method Details
-
getSqlValue
-
getSqlType
-
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
-