org.sourceforge.jxdbcon.postgresql
Class PGDateTimeTypes.PGdate
java.lang.Object
|
+--org.sourceforge.jxutil.sql.type.AbstractType
|
+--org.sourceforge.jxutil.sql.type.AbstractDATE
|
+--org.sourceforge.jxdbcon.postgresql.PGDateTimeTypes.PGdate
- Enclosing class:
- PGDateTimeTypes
- public static class PGDateTimeTypes.PGdate
- extends AbstractDATE
DATE type.
Stores internally number of days since 2000.1.1 in ant int4 value.
Methods inherited from class org.sourceforge.jxutil.sql.type.AbstractType |
dataTruncationRead, dataTruncationWrite, deriveType, getArray, getAsciiStream, getAutoInc, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getCaseSensitive, getCharacterStream, getClob, getCreateParams, getCurrency, getDate, getDouble, getFloat, getInt, getLiteral, getLocalName, getLong, getMaxScale, getMinScale, getName, getNullable, getNumRadix, getObject, getPrecision, getRef, getScale, getSearchable, getShort, getTime, getTime, getTimestamp, getUnsigned, getURL, noConversion, noConversion, noConversion, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setStruct, setTime, setTime, setTimestamp, setURL, toString |
INSTANCE
public static final PGDateTimeTypes.PGdate INSTANCE
PGDateTimeTypes.PGdate
private PGDateTimeTypes.PGdate()
getBytes
public byte[] getBytes(Object row,
ConversionContext ctx)
- Overrides:
getBytes
in class AbstractType
getDate
public Date getDate(Object row,
Calendar cal,
ConversionContext ctx)
throws SQLException
- Specified by:
getDate
in class AbstractDATE
SQLException
getLiteralPrefix
public String getLiteralPrefix()
- Overrides:
getLiteralPrefix
in class AbstractDATE
getLiteralSuffix
public String getLiteralSuffix()
- Overrides:
getLiteralSuffix
in class AbstractDATE
setDate
public void setDate(Object row,
Date val,
Calendar cal,
ConversionContext ctx)
throws SQLException
- Specified by:
setDate
in class AbstractDATE
SQLException
setNull
public void setNull(Object row,
ConversionContext ctx)
throws SQLException
- Overrides:
setNull
in class AbstractType
SQLException
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.