Edit D:\app\Administrator\product\11.2.0\dbhome_1\apex\images\doc\advnc_coll_status.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Determining Collection Status</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1" /> <meta name="date" content="2009-04-14T16:11:32Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Determining Collection Status" /> <meta name="relnum" content="Release 3.2" /> <meta name="partnum" content="E11947-01" /> <link rel="copyright" href="dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="up" href="preface.htm" title="Home" type="text/html" /> <link rel="up" href="advnc.htm" title="Advanced Programming Techni..." type="text/html" /> <link rel="up" href="advnc_collections.htm" title="Using Collections" type="text/html" /> <link rel="up" href="advnc_coll_status.htm" title="Determining Collection Status" type="text/html" /> <link rel="prev" href="advnc_coll_del_mem.htm" title="Previous" type="text/html" /> <link rel="next" href="advnc_coll_merge.htm" title="Next" type="text/html" /> </head> <body> <p id="BREADCRUMBING"><a href="preface.htm" title="Home">Home</a> > <a href="advnc.htm" title="Advanced Programming Techni...">Advanced Programming Techni...</a> > <a href="advnc_collections.htm" title="Using Collections">Using Collections</a> > Determining Collection Status</p> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="advnc_coll_del_mem.htm"><img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="advnc_coll_merge.htm"><img src="dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="BABIAEDH" name="BABIAEDH"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1><a name="HTMDB25870" id="HTMDB25870"></a>Determining Collection <a id="sthref2217" name="sthref2217"></a>Status</h1> <p>The <code>p_generate_md5</code> parameter determines if the MD5 message digests are computed for each member of a collection. The collection status flag is set to <code>FALSE</code> immediately after you create a collection. If any operations are performed on the collection (such as add, update, truncate, and so on), this flag is set to <code>TRUE</code>.</p> <p>You can reset this flag manually by calling <code>RESET_COLLECTION_CHANGED</code>, for example:</p> <pre xml:space="preserve" class="oac_no_warn"> <a id="sthref2218" name="sthref2218"></a>APEX_COLLECTION.RESET_COLLECTION_CHANGED ( p_collection_name => collection name) </pre> <p>Once this flag has been reset, you can determine if a collection has changed by calling <code>COLLECTION_HAS_CHANGED</code>, for example:</p> <pre xml:space="preserve" class="oac_no_warn"> l_changed := APEX_COLLECTION.COLLECTION_HAS_CHANGED( p_collection_name => collection_name); </pre> <p>When you add a new member to a collection, an MD5 message digest is computed against all 50 attributes and the CLOB attribute if the <code>p_generated_md5</code> parameter is set to <code>YES</code>. You can access this value from the <code>MD5_ORIGINAL</code> column of the view <code>APEX_COLLECTION</code>. You can access the MD5 message digest for the current value of a specified collection member by using the function <code>GET_MEMBER_MD5</code>. For example:</p> <pre xml:space="preserve" class="oac_no_warn"> <a id="sthref2219" name="sthref2219"></a>APEX_COLLECTION.GET_MEMBER_MD5 ( p_collection_name => collection name, p_seq => member sequence number ); RETURN VARCHAR2; </pre></div> <!-- class="sect2" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="advnc_coll_del_mem.htm"><img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="advnc_coll_merge.htm"><img src="dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de