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

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

public class RowIdJdbcIO
extends Object
implements JdbcIO<RowId>

Author:
ufo

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

RowIdJdbcIO

public RowIdJdbcIO()
Method Detail

getValueFromResultSet

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

getValueFromResultSet

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

setValueToPreparedStatement

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

getDBClass

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


Copyright © 2013. All Rights Reserved.