blob: 50f1b498253067bec129ef958c5e5f2a1db6eac4 [file] [log] [blame]
public void setFieldObject (Object anObject,PreparedStatement aStatement,int anIndex) throws SQLException{
if (getSQLType() == Types.BINARY || getSQLType() == Types.VARBINARY)
aStatement.setBytes(anIndex,(byte[])anObject);
else
aStatement.setObject(anIndex, anObject, getSQLType());
}