Class SQLDoubleTypeHandler
- java.lang.Object
-
- org.apache.ibatis.type.TypeReference<T>
-
- org.apache.ibatis.type.BaseTypeHandler<Object>
-
- org.ametys.plugins.contentio.synchronize.impl.typehandler.SQLDoubleTypeHandler
-
- All Implemented Interfaces:
org.apache.ibatis.type.TypeHandler<Object>
public class SQLDoubleTypeHandler extends org.apache.ibatis.type.BaseTypeHandler<Object>
Handle Float SQL types to return Double value
-
-
Constructor Summary
Constructors Constructor Description SQLDoubleTypeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getNullableResult(CallableStatement cs, int columnIndex)
Object
getNullableResult(ResultSet rs, int columnIndex)
Object
getNullableResult(ResultSet rs, String columnName)
void
setNonNullParameter(PreparedStatement ps, int i, Object parameter, org.apache.ibatis.type.JdbcType jdbcType)
-
-
-
Constructor Detail
-
SQLDoubleTypeHandler
public SQLDoubleTypeHandler()
-
-
Method Detail
-
setNonNullParameter
public void setNonNullParameter(PreparedStatement ps, int i, Object parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
- Specified by:
setNonNullParameter
in classorg.apache.ibatis.type.BaseTypeHandler<Object>
- Throws:
SQLException
-
getNullableResult
public Object getNullableResult(ResultSet rs, String columnName) throws SQLException
- Specified by:
getNullableResult
in classorg.apache.ibatis.type.BaseTypeHandler<Object>
- Throws:
SQLException
-
getNullableResult
public Object getNullableResult(ResultSet rs, int columnIndex) throws SQLException
- Specified by:
getNullableResult
in classorg.apache.ibatis.type.BaseTypeHandler<Object>
- Throws:
SQLException
-
getNullableResult
public Object getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
- Specified by:
getNullableResult
in classorg.apache.ibatis.type.BaseTypeHandler<Object>
- Throws:
SQLException
-
-