blob: 4309ae31b9c846217c612e978e537193574944f5 [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());
}