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

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

public class DoublePrimitiveJdbcIO
extends Object
implements JdbcIO<Double>

Author:
ufo

Constructor Summary
DoublePrimitiveJdbcIO()
           
 
Method Summary
 Class<Double> getDBClass()
           
 Double getValueFromResultSet(ResultSet rs, int rsColumnIndex)
           
 Double getValueFromResultSet(ResultSet rs, String rsColumnName)
           
 void setValueToPreparedStatement(Double 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

DoublePrimitiveJdbcIO

public DoublePrimitiveJdbcIO()
Method Detail

getValueFromResultSet

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

getValueFromResultSet

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

setValueToPreparedStatement

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

getDBClass

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


Copyright © 2013. All Rights Reserved.