próbuję wstawić obrazek DICOM do bazy, ale wyskakuje mi taki błąd:

Error report:
ORA-22285: dla operacji GETLENGTH podano nieistniejący katalog lub plik
ORA-06512: przy "SYS.DBMS_LOB", linia 787
ORA-06512: przy "ORDSYS.ORDDATASOURCE", linia 217
ORA-06512: przy "ORDSYS.ORDDICOM", linia 49
ORA-06512: przy linia 1
ORA-06512: przy linia 4
22285. 00000 - "non-existent directory or file for %s operation"
*Cause: Attempted to access a directory that does not exist, or attempted
to access a file in a directory that does not exist.
*Action: Ensure that a system object corresponding to the specified
directory exists in the database dictionary, or
make sure the name is correct.



Tworzę taka tabelkę:
  1. CREATE TABLE obrazy_med
  2. (id INTEGER PRIMARY KEY,
  3. pacjent VARCHAR2(30),
  4. dicom ordsys.ORDDicom);


Ładowanie obiektu DICOM:
  1. DECLARE
  2. temp ordsys.ORDDicom;
  3. BEGIN
  4. INSERT INTO obrazy_med (id, dicom)
  5. VALUES (55,
  6. ordsys.ORDDicom('FILE',
  7. 'DICOMY', 'sample.dcm', 0))
  8. RETURNING dicom INTO temp;
  9. temp.import(1);
  10. UPDATE obrazy_med SET dicom=temp WHERE id=55;
  11. COMMIT;
  12. END;
  13. /


Czy może ktoś powiedzieć co jest źle i jak poprawić