com.jpattern.orm.persistor.type.jdbc
Class BigDecimalJdbcIO

java.lang.Object
  extended by com.jpattern.orm.persistor.type.jdbc.BigDecimalJdbcIO
All Implemented Interfaces:
JdbcIO<BigDecimal>

public class BigDecimalJdbcIO
extends Object
implements JdbcIO<BigDecimal>

Author:
ufo

Constructor Summary
BigDecimalJdbcIO()
           
 
Method Summary
 Class<BigDecimal> getDBClass()
           
 BigDecimal getValueFromResultSet(ResultSet rs, int rsColumnIndex)
           
 BigDecimal getValueFromResultSet(ResultSet rs, String rsColumnName)
           
 void setValueToPreparedStatement(BigDecimal value, PreparedStatement ps, int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigDecimalJdbcIO

public BigDecimalJdbcIO()
Method Detail

getValueFromResultSet

public BigDecimal getValueFromResultSet(ResultSet rs,
                                        String rsColumnName)
                                 throws SQLException
Specified by:
getValueFromResultSet in interface JdbcIO<BigDecimal>
Throws:
SQLException

getValueFromResultSet

public BigDecimal getValueFromResultSet(ResultSet rs,
                                        int rsColumnIndex)
                                 throws SQLException
Specified by:
getValueFromResultSet in interface JdbcIO<BigDecimal>
Throws:
SQLException

setValueToPreparedStatement

public void setValueToPreparedStatement(BigDecimal value,
                                        PreparedStatement ps,
                                        int index)
                                 throws SQLException
Specified by:
setValueToPreparedStatement in interface JdbcIO<BigDecimal>
Throws:
SQLException

getDBClass

public Class<BigDecimal> getDBClass()
Specified by:
getDBClass in interface JdbcIO<BigDecimal>


Copyright © 2013. All Rights Reserved.