Home > database >  Consult an Oracle reads the image file.
Consult an Oracle reads the image file.

Time:09-17

Simple code following structure
Dim bf As OracleBFile
.
If bf. FileExists then
Bf. OpenFile ()

Is usually considered to determine whether a file on the server to save and open again,
But in FileExists method error, invalid operation, decompiled Oracle. DataAccess. DLL, found in FileExists attribute, will determine whether the file open,
And sign a file is opened, only in the OpenFile set to True, the result is a contradiction, not perform OpenFile can't use FileExists,
And if the file does not exist, OpenFile directly to an error, FileExits there would be no existence,
This phenomenon exists in 12 c, no problem in oracle 9 series, the DLL of oracle 9 series, whether FileExists methods do not add to the file open judgment,

This is the Oracle Bug or interested to? Thank you
  • Related