Oracle DBMS_XS_FIDM
Version 12.1.0.1

General Information
Library Note Morgan's Library Page Footer
The Library is currently in the process of being upgraded from Oracle Database Version 11.2.0.3 to 12.1.0.1. Demos are being upgraded to reflect the new Container paradigm as well as EBR (Edition Based Redefinition) and may contain references to CDBs, PDBs, and other objects you may not be familiar with such as CDB_OBJECTS_AE: Welcome to 12c.
Purpose Undocumented. My demos all "work:" Meaning they don't create an exception. But I have no idea what they actually do if anything.
AUTHID CURRENT_USER
Dependencies
XMLTYPE    
Documented No
First Available 12.1.0
Security Model Owned by SYS with no privileges granted
Source {ORACLE_HOME}/rdbms/admin/dbmskzxp.sql
Subprograms
 
DBMS_XS_FIDM_DELETE
Undocumented dbms_xs_fidm_delete(contentXML IN XMLType) ;
DECLARE
 x XMLType := xmltype.createxml('<?xml version="1.0" encoding="utf-8"?>
       <ShoppingCartData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <Id>Morgan</Id>
         <SiteId>1</SiteId>
         <ProductId>100</ProductId>
         <Quantity>2</Quantity>
       </ShoppingCartData>');
BEGIN
  dbms_xs_fidm.dbms_xs_fidm_delete(x);
END;
/
 
DBMS_XS_FIDM_INSERT
Undocumented dbms_xs_fidm_insert(contentXML IN XMLType) ;
DECLARE
 x XMLType := xmltype.createxml('<?xml version="1.0" encoding="utf-8"?>
       <ShoppingCartData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <Id>Morgan</Id>
         <SiteId>1</SiteId>
         <ProductId>100</ProductId>
         <Quantity>2</Quantity>
       </ShoppingCartData>');
BEGIN
  dbms_xs_fidm.dbms_xs_fidm_insert(x);
END;
/
 
DBMS_XS_FIDM_UPDATE
Undocumented dbms_xs_fidm_update(contentXMLold IN XMLType, contentXMLnew IN XMLTYPE) ;
DECLARE
 o XMLType := xmltype.createxml('<?xml version="1.0" encoding="utf-8"?>
       <ShoppingCartData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <Id>Morgan</Id>
         <SiteId>1</SiteId>
         <ProductId>100</ProductId>
         <Quantity>2</Quantity>
       </ShoppingCartData>');
 n XMLType := xmltype.createxml('<?xml version="1.0" encoding="utf-8"?>
       <ShoppingCartData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <Id>Morgan</Id>
         <SiteId>1</SiteId>
         <ProductId>100</ProductId>
         <Quantity>0</Quantity>
       </ShoppingCartData>');
BEGIN
  dbms_xs_fidm.dbms_xs_fidm_update(o, n);
END;
/

Related Topics
Packages

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2014 Daniel A. Morgan All Rights Reserved