net.mlw.vlh.adapter.jdbc.util.setter
Class SasDateSetter
java.lang.Object
net.mlw.vlh.adapter.jdbc.util.setter.AbstractSetter
net.mlw.vlh.adapter.jdbc.util.setter.TimestampSetter
net.mlw.vlh.adapter.jdbc.util.setter.SasDateSetter
- All Implemented Interfaces:
- Setter
- public class SasDateSetter
- extends TimestampSetter
This setter is a ahck to fix problems with the SAS JDBC driver...
- Version:
- $Revision: 1.2 $ $Date: 2005/12/19 10:56:41 $
- Author:
- Matthew L. Wilson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
formatter
protected SimpleDateFormat formatter
DEFAULT_SAS_FORMAT
public static final String DEFAULT_SAS_FORMAT
- See Also:
- Constant Field Values
sasFormatter
protected SimpleDateFormat sasFormatter
SasDateSetter
public SasDateSetter()
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.
- Specified by:
set
in interface Setter
- Overrides:
set
in class TimestampSetter
- Throws:
SQLException
ParseException
- See Also:
net.mlw.util.sql.StatementBuilder.Setter#set(java.sql.PreparedStatement, int, java.lang.Object)
setSasDateFormat
public void setSasDateFormat(String format)
- Parameters:
format
- The format to set.
Copyright © 2003-2006 mlavilson. All Rights Reserved.