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

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

public class StringJdbcIO
extends Object
implements JdbcIO<String>

Author:
ufo

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

StringJdbcIO

public StringJdbcIO()
Method Detail

getValueFromResultSet

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

getValueFromResultSet

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

setValueToPreparedStatement

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

getDBClass

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


Copyright © 2013. All Rights Reserved.