net.sf.letsparty.driver.typehandlers
Class ObjectHandler
java.lang.Object
net.sf.letsparty.driver.typehandlers.ObjectHandler
- All Implemented Interfaces:
- TypeHandler
- public class ObjectHandler
- extends java.lang.Object
- implements TypeHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
private java.lang.Object value
targetSqlType
private int targetSqlType
scale
private int scale
ObjectHandler
public ObjectHandler(java.lang.Object value)
ObjectHandler
public ObjectHandler(java.lang.Object value,
int targetSqlType)
ObjectHandler
public ObjectHandler(java.lang.Object value,
int targetSqlType,
int scale)
setParameter
public void setParameter(java.sql.PreparedStatement preparedStatement,
int indexAt)
throws java.sql.SQLException
- Specified by:
setParameter
in interface TypeHandler
- Throws:
java.sql.SQLException
getValueAsObject
public java.lang.Object getValueAsObject()
- Specified by:
getValueAsObject
in interface TypeHandler