HI @sijms this issue is related to the nil value of the BFILE bulk insert.
I tested this with version 2.7.24, the behavior is same as the BLOB(in version 2.7.24, blob issue already fixed).
I use the following codes, insert two records, it worked well,(bfiles[0] is not nil).
But if used the following codes, it will fail, the error is: ORA-00932: inconsistent datatypes: expected FILE got CHAR
the difference is bfiles[0] and bfiles[1] both are nil.
HI @sijms this issue is related to the nil value of the BFILE bulk insert. I tested this with version 2.7.24, the behavior is same as the BLOB(in version 2.7.24, blob issue already fixed). I use the following codes, insert two records, it worked well,(bfiles[0] is not nil).
But if used the following codes, it will fail, the error is: ORA-00932: inconsistent datatypes: expected FILE got CHAR the difference is bfiles[0] and bfiles[1] both are nil.