net.mlw.vlh.adapter.jdbc.util.setter
Class ObjectSetter
java.lang.Object
net.mlw.vlh.adapter.jdbc.util.setter.AbstractSetter
net.mlw.vlh.adapter.jdbc.util.setter.ObjectSetter
- All Implemented Interfaces:
- Setter
- public class ObjectSetter
- extends AbstractSetter
Sets a object on a query using PreparedStatement.setObject()
.
- Version:
- $Revision: 1.2 $ $Date: 2005/12/19 10:58:01 $
- Author:
- Stepan Marek
- See Also:
PreparedStatement.setObject(int, java.lang.Object)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectSetter
public ObjectSetter()
set
public int set(PreparedStatement query,
int index,
Object value)
throws SQLException,
ParseException
- Description copied from interface:
Setter
- Set the object on the given query.
- Parameters:
query
- The PreparedStatement.index
- The name of the argumentvalue
- The value to be set
- Throws:
ParseException
- If an error occurs.
SQLException
- If an error occurs.- See Also:
Setter.set(java.sql.PreparedStatement, int, java.lang.Object)
Copyright © 2003-2006 mlavilson. All Rights Reserved.