org.dbunit.dataset.datatype
Class BigIntegerDataType
java.lang.Object
org.dbunit.dataset.datatype.DataType
org.dbunit.dataset.datatype.AbstractDataType
org.dbunit.dataset.datatype.BigIntegerDataType
public class BigIntegerDataType
- extends AbstractDataType
Inserts and reads BigInteger values into/from a database.
- Since:
- 2.4.6
- Version:
- $Revision: 1032 $ $Date: 2009-09-14 09:15:47 +0200 (lun, 14 set 2009) $
- Author:
- gommma (gommma AT users.sourceforge.net), Last changed by: $Author: gommma $
| Fields inherited from class org.dbunit.dataset.datatype.DataType |
BIGINT, BIGINT_AUX_LONG, BINARY, BIT, BLOB, BOOLEAN, CHAR, CLOB, DATE, DECIMAL, DOUBLE, FLOAT, INTEGER, LONGNVARCHAR, LONGVARBINARY, LONGVARCHAR, NCHAR, NUMERIC, NVARCHAR, REAL, SMALLINT, TIME, TIMESTAMP, TINYINT, UNKNOWN, VARBINARY, VARCHAR |
|
Method Summary |
java.lang.Object |
getSqlValue(int column,
java.sql.ResultSet resultSet)
Returns the specified column value from the specified resultset object. |
void |
setSqlValue(java.lang.Object value,
int column,
java.sql.PreparedStatement statement)
Set the specified value to the specified prepared statement object. |
java.lang.Object |
typeCast(java.lang.Object value)
Returns the specified value typecasted to this DataType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BigIntegerDataType
public BigIntegerDataType()
typeCast
public java.lang.Object typeCast(java.lang.Object value)
throws TypeCastException
- Description copied from class:
DataType
- Returns the specified value typecasted to this
DataType
- Specified by:
typeCast in class DataType
- Throws:
TypeCastException
getSqlValue
public java.lang.Object getSqlValue(int column,
java.sql.ResultSet resultSet)
throws java.sql.SQLException,
TypeCastException
- Description copied from class:
DataType
- Returns the specified column value from the specified resultset object.
- Overrides:
getSqlValue in class AbstractDataType
- Throws:
java.sql.SQLException
TypeCastException
setSqlValue
public void setSqlValue(java.lang.Object value,
int column,
java.sql.PreparedStatement statement)
throws java.sql.SQLException,
TypeCastException
- Description copied from class:
DataType
- Set the specified value to the specified prepared statement object.
- Overrides:
setSqlValue in class AbstractDataType
- Throws:
java.sql.SQLException
TypeCastException
Copyright © 2002-2010. All Rights Reserved.