net.sourceforge.backpedal.impl.db
Class StringBindVariable

java.lang.Object
  |
  +--net.sourceforge.backpedal.impl.db.AbstractBindVariable
        |
        +--net.sourceforge.backpedal.impl.db.StringBindVariable
All Implemented Interfaces:
BindVariable, Cloneable

public class StringBindVariable
extends AbstractBindVariable


Constructor Summary
StringBindVariable(int index, String value, String columnName)
           
 
Method Summary
 int getSqlType()
          Return the value from java.sql.Types that I represent.
 void setInto(int index, PreparedStatement preparedStatement)
          Call the relevant set() method on preparedStatement but with a index override supplied
 
Methods inherited from class net.sourceforge.backpedal.impl.db.AbstractBindVariable
clone, getColumnName, getIndex, getValue, isNull, setColumnName, setIndex, setInto, setValue, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringBindVariable

public StringBindVariable(int index,
                          String value,
                          String columnName)
Method Detail

setInto

public void setInto(int index,
                    PreparedStatement preparedStatement)
             throws SQLException
Description copied from interface: BindVariable
Call the relevant set() method on preparedStatement but with a index override supplied

SQLException

getSqlType

public int getSqlType()
Description copied from interface: BindVariable
Return the value from java.sql.Types that I represent.

Specified by:
getSqlType in interface BindVariable
Specified by:
getSqlType in class AbstractBindVariable


Copyright © Sourceforge. All Rights Reserved.