net.mlw.vlh.adapter.jdbc.util
Interface Setter

All Known Implementing Classes:
AbstractSetter

public interface Setter

Sets a java.lang.????? on a PreparedStatement.

Version:
$Revision: 1.2 $ $Date: 2004/08/10 20:41:32 $
Author:
Matthew L. Wilson

Method Summary
 String getReplacementString(Object value)
           
 int set(PreparedStatement query, int index, Object value)
          Set the object on the given query.
 

Method Detail

set

public int set(PreparedStatement query,
               int index,
               Object value)
        throws SQLException,
               ParseException
Set the object on the given query.

Parameters:
query - The PreparedStatement.
index - The name of the argument
value - The value to be set
Throws:
SQLException - If an error occurs.
ParseException - If an error occurs.

getReplacementString

public String getReplacementString(Object value)


Copyright © 2003-2006 mlavilson. All Rights Reserved.