- All Implemented Interfaces:
SqlLogFormatter<BigDecimal>,JdbcType<BigDecimal>
A JDBC type for
Types.DECIMAL and BigDecimal.-
Field Summary
Fields inherited from class org.seasar.doma.jdbc.type.AbstractJdbcType
type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdoConvertToLogFormat(BigDecimal value) protected BigDecimaldoGetValue(CallableStatement callableStatement, int index) protected BigDecimaldoGetValue(ResultSet resultSet, int index) protected voiddoSetValue(PreparedStatement preparedStatement, int index, BigDecimal value) Methods inherited from class org.seasar.doma.jdbc.type.AbstractJdbcType
convertToLogFormat, getValue, getValue, registerOutParameter, setValue
-
Constructor Details
-
BigDecimalType
public BigDecimalType()
-
-
Method Details
-
doGetValue
- Specified by:
doGetValuein classAbstractJdbcType<BigDecimal>- Throws:
SQLException
-
doSetValue
protected void doSetValue(PreparedStatement preparedStatement, int index, BigDecimal value) throws SQLException - Specified by:
doSetValuein classAbstractJdbcType<BigDecimal>- Throws:
SQLException
-
doGetValue
- Specified by:
doGetValuein classAbstractJdbcType<BigDecimal>- Throws:
SQLException
-
doConvertToLogFormat
- Specified by:
doConvertToLogFormatin classAbstractJdbcType<BigDecimal>
-