ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling
complimentary technical Workshops on Database Security for the first 30
Oracle Database customers located anywhere in North America, EMEA, LATAM, or
APAC that send an email to
asra_us@oracle.com. Request a Workshop for
your organization today.
The example, at right, demonstrates that the directories, files, and paths are DBMS_DBFS file system not a file system external to the database
dbms_xdb_content.createDir(path IN VARCHAR2) RETURN NUMBER;
DECLARE
retVal NUMBER;
BEGIN
retVal := xdb.dbms_xdb_content.createDir('/home/oracle/test');
dbms_output.put_line(retVal);
END;
/
DECLARE
*
ERROR at line 1:
ORA-64002: specified path is invalid
ORA-06512: at "SYS.DBMS_DBFS_CONTENT", line 536
ORA-01403: no data found
ORA-06512: at "SYS.DBMS_DBFS_CONTENT", line 527
ORA-06512: at "SYS.DBMS_DBFS_CONTENT", line 3575
ORA-06512: at "SYS.DBMS_DBFS_CONTENT", line 3605
ORA-06512: at "XDB.DBMS_XDB_CONTENT", line 279
ORA-06512: at line 4
dbms_xdb_content.getEverything(
path IN VARCHAR2,
creationdate OUT VARCHAR2,
modificationdate OUT VARCHAR2,
guid OUT VARCHAR2,
content OUT BLOB,
item_type OUT NUMBER);
dbms_xdb_content.getPath(
path IN VARCHAR2,
properties IN OUT public.dbms_dbfs_content_properties_t,
content OUT BLOB,
item_type OUT NUMBER);
TBD
Overload 2
dbms_xdb_content.getPath(
path IN VARCHAR2,
properties IN OUT public.dbms_dbfs_content_properties_t,
amount IN OUT NUMBER,
offset IN NUMBER,
content OUT RAW);