A very tough test for the ADF gurus...

one of these code chunks works and one doesn't, can you tell which???
CODE EXAMPLE ONE:
  protected void prepareModel(DataActionContext ctx) throws Exception
    String periodName = "May-05";
    ViewObject vo = ctx.getBindingContainer().getApplicationModule().findViewObject("CalendarView1");
    vo.setWhereClause("period_name = ?");
    vo.setWhereClauseParam(0, periodName);
    vo.executeQuery();
    super.prepareModel(ctx);
  }CODE EXAMPLE TWO:
  protected void prepareModel(DataActionContext ctx) throws Exception
    String periodName = "May-05";
    ViewObject vo = ctx.getBindingContainer().getApplicationModule().findViewObject("CalendarView1");
    vo.setWhereClause("period_name = ? ");
    vo.setWhereClauseParam(0, periodName);
    vo.executeQuery();
    super.prepareModel(ctx);
  }It's a non-Oracle db, hence the ? style parameters... One of these returns a UIX table with your selected criteria and the other will return a no data found. I think some exception is thrown and handled somewhere in the lifecycle, but not propagated anywhere useful. If you get the answer right, you may save yourself hours of debuging, coding and frustration one day...

code example two works, but example one doesn't. I don't know if the 'bug' is in ADF or the JDBC vendors code.

Similar Messages

  • How do I test for the presence of an active open document in Photoshop?

    I’m new to Adobe scripting, and one of my first scripts deals with the activeDocument in Photoshop.
    If there is no activeDocument, I want to display a message and terminate the script.  My efforts
    so far have been met with frustration.  While developing the script in ExtendScript Toolkit,
    I used the  test expression "activeDocument in app", and everything worked as expected. And when I installed the script
    in the Photoshop scripts folder and ran it from Photoshop with a document open, it also worked.
    But when I ran the script from Photoshop with no document open, it failed.
    Moreover, after that,the script failed when I tried to run it in ESTK.
    I did some testing and found that my test expression, "activeDocument in app"
    was returning true, even though no document was open.
    Still in ESTK, I replaced the “app” with ”Application” in the test expression.  That worked when
    I stepped through the script.  But when I tried to run it without stopping, it stopped at the
    test expression, and displayed the error message, “Application is undefined.”
    So how do I test for the presence of an open document in Photoshop ??

    After posting this, I discovered the Photoshop Scripting Forum, and I found my answer there.—
    I should have used “app.Documents.length” as my test expression.

  • How can I test for the bas unit enterd in a control?

    How can I to create a polymorphic vi where the user can enter either volume or temperature.
    how can Labwiev test for the base unit entered
    pseudocode example:
    input X
    if X.base_unit == m^3 do ....... 
    thanks for any suggestion to resolve or avoid my problem
    Solved!
    Go to Solution.

    Hi schaerm,
    you have to dig deeper.
    An idea is this one:
    The red marked word is containing the unit - in a coded way. Somewhere in the LV help you can find the description of this coding (I remember a chapter on memory representations of all LV datatypes...). (There surely is an easier or better way - but the example is done quic&dirty.)
    You can also format the number into a string and analyze the unit here...
    Message Edited by GerdW on 02-07-2010 07:21 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Condition to test for the browser closing/refreshing

    I have an applet that rotates pictures in a html file. I have it in an eternal loop to keep it running. It loads fine, but if you refresh or try to close the browser, the browser locks. Without question this happens because the loop does not test for the browser closing or refreshing so the loop never stops. Does anyone have an idea of a Java condition to test for the browser closing/refreshing so I can stop my loop when these events occur.

    The applets stop message should be called on a reload and/or a close. You could set a flag in your stop method that could be checked by a thread that actually sits and loops.
    When the flag is set, kill the tread.
    You should clear that flag in your start method.
    I have an applet that rotates pictures in a html file.
    I have it in an eternal loop to keep it running. It
    loads fine, but if you refresh or try to close the
    browser, the browser locks. Without question this
    happens because the loop does not test for the
    browser closing or refreshing so the loop never
    stops. Does anyone have an idea of a Java condition
    to test for the browser closing/refreshing so I can
    stop my loop when these events occur.

  • [svn:bz-trunk] 22381: Add some unit tests for the flex.messaging.client. FlexClientManager, including one for the new getFlexClient(String id, boolean createNewIfNotExist) method signature.

    Revision: 22381
    Revision: 22381
    Author:   [email protected]
    Date:     2011-09-02 05:10:41 -0700 (Fri, 02 Sep 2011)
    Log Message:
    Add some unit tests for the flex.messaging.client.FlexClientManager, including one for the new getFlexClient(String id, boolean createNewIfNotExist) method signature.
    Added Paths:
        blazeds/trunk/modules/core/test/src/flex/messaging/client/
        blazeds/trunk/modules/core/test/src/flex/messaging/client/FlexClientManagerTest.java

  • [svn:osmf:] 11282: updated the unit tests for the DRM subsystem.

    Revision: 11282
    Author:   [email protected]
    Date:     2009-10-29 16:44:46 -0700 (Thu, 29 Oct 2009)
    Log Message:
    updated the unit tests for the DRM subsystem.  Still lacking tests for Authentication Token.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/.actionScriptProperties
        osmf/trunk/framework/MediaFramework/org/osmf/drm/DRMServices.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/NetStreamContentProtectableTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/video/VideoElement.as
        osmf/trunk/framework/MediaFrameworkAirTest/.actionScriptProperties
        osmf/trunk/framework/MediaFrameworkFlexTest/.actionScriptProperties
        osmf/trunk/framework/MediaFrameworkFlexTest/.flexProperties
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/traits/TestIContentProtectable.as
        osmf/trunk/framework/MediaFrameworkIntegrationTest/.actionScriptProperties
        osmf/trunk/framework/MediaFrameworkIntegrationTest/org/osmf/MediaFrameworkIntegrationTest s.as
        osmf/trunk/framework/MediaFrameworkIntegrationTest/org/osmf/net/TestNetContentProtectable .as
    Added Paths:
        osmf/trunk/framework/MediaFrameworkIntegrationTest/org/osmf/video/
        osmf/trunk/framework/MediaFrameworkIntegrationTest/org/osmf/video/TestVideoElement.as
    Property Changed:
        osmf/trunk/framework/MediaFrameworkFlexTest/
        osmf/trunk/framework/MediaFrameworkIntegrationTest/

    Hello Alex,
    I don't have an answer for you.
    But, can you try to use http://drmtest2.adobe.com:8080/Content/anonymous.f4v with locally hosted OSMF player? This content doens't require user/pass info.
    I'm wondering that Google TV's flash player doesn't support prompt dialog.
    http://drmtest2.adobe.com/AccessPlayer/player.html requires flash player 11. That's why it won't be loaded with flash player 10.x.
    Thanks,
    -- Hiroshi

  • [svn:osmf:] 14535: Unit tests for the syndication library.

    Revision: 14535
    Revision: 14535
    Author:   [email protected]
    Date:     2010-03-02 15:42:45 -0800 (Tue, 02 Mar 2010)
    Log Message:
    Unit tests for the syndication library.
    Added Paths:
        osmf/trunk/libs/SyndicationTest/
        osmf/trunk/libs/SyndicationTest/.actionScriptProperties
        osmf/trunk/libs/SyndicationTest/.flexProperties
        osmf/trunk/libs/SyndicationTest/.project
        osmf/trunk/libs/SyndicationTest/SyndicationTest.mxml
        osmf/trunk/libs/SyndicationTest/html-template/
        osmf/trunk/libs/SyndicationTest/html-template/AC_OETags.js
        osmf/trunk/libs/SyndicationTest/html-template/history/
        osmf/trunk/libs/SyndicationTest/html-template/history/history.css
        osmf/trunk/libs/SyndicationTest/html-template/history/history.js
        osmf/trunk/libs/SyndicationTest/html-template/history/historyFrame.html
        osmf/trunk/libs/SyndicationTest/html-template/index.template.html
        osmf/trunk/libs/SyndicationTest/html-template/playerProductInstall.swf
        osmf/trunk/libs/SyndicationTest/libs/
        osmf/trunk/libs/SyndicationTest/libs/FlexUnit.swc
        osmf/trunk/libs/SyndicationTest/libs/FlexUnitOptional.swc
        osmf/trunk/libs/SyndicationTest/org/
        osmf/trunk/libs/SyndicationTest/org/osmf/
        osmf/trunk/libs/SyndicationTest/org/osmf/syndication/
        osmf/trunk/libs/SyndicationTest/org/osmf/syndication/SyndicationTestConstants.as
        osmf/trunk/libs/SyndicationTest/org/osmf/syndication/SyndicationTests.as
        osmf/trunk/libs/SyndicationTest/org/osmf/syndication/loader/
        osmf/trunk/libs/SyndicationTest/org/osmf/syndication/loader/TestFeedLoader.as
        osmf/trunk/libs/SyndicationTest/org/osmf/syndication/media/
        osmf/trunk/libs/SyndicationTest/org/osmf/syndication/media/TestSyndicationMediaGenerator. as
        osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/
        osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/TestAtomParser.as
        osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/TestFeedParser.as
        osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/TestRSS20Parser.as
        osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/extensions/
        osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/extensions/TestITunesExtensi onParser.as
        osmf/trunk/libs/SyndicationTest/org/osmf/syndication/parsers/extensions/TestMediaRSSExten sionParser.as

    Hi ventura8,
    >> I have added a Unit Test Library (windows) project to the solution and the tests are discovered in the test explorer and the unit tests work just fine. But i can't test the dll for Windows Phone.
    >> The test are discovered in test explorer but I cannot test async methods.
    >>  How do I run a unit test for WP for a universal portable lib
    What the async methods are. Are they the class methods in the dll?
    If so, the link below shows the details of creating testing apps for windows phone.
    Reference:
    https://msdn.microsoft.com/en-us/library/windows/apps/dn168930(v=vs.105).aspx
    >> And if i try the Unit Test App (windows Phone), it does not get discovered by test explorer. I am using VS2013 U4.
    I am wondering how you created you unit test project. After you create the unit test, if you build the solution, could you get the test method in test explorer window?
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • [svn:osmf:] 12761: Unit test for the captioning plugin.

    Revision: 12761
    Revision: 12761
    Author:   [email protected]
    Date:     2009-12-09 16:46:21 -0800 (Wed, 09 Dec 2009)
    Log Message:
    Unit test for the captioning plugin.
    Modified Paths:
        osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/media/CaptioningProxyElement.as
        osmf/trunk/plugins/CaptioningPlugin/org/osmf/captioning/parsers/DFXPParser.as
    Added Paths:
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/.actionScriptProperties
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/.flexProperties
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/.project
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/AC_OETags.js
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/history/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/history/history.css
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/history/history.js
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/history/historyFrame.htm l
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/index.template.html
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/html-template/playerProductInstall.swf
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/libs/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/libs/FlexUnit.swc
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/CaptioningPluginIntegrationTest.mx ml
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/CaptioningPluginIntegrati onTests.as
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/Captionin gTestConstants.as
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/TestCapti oningPluginInfo.as
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/loader/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/loader/Te stCaptioningLoader.as
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/media/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/media/Tes tCaptioningProxyElement.as
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/parsers/
        osmf/trunk/plugins/CaptioningPluginIntegrationTest/src/org/osmf/test/captioning/parsers/T estDFXPParser.as

  • Where can I download FF 4? I need it to test for the company I work for. Thanks!

    I need version 4 of Firefox to be able to test for the software company I work for. We support FF3-6. My version 4 was updated to version 5 and I need it back to version 4. I'm not finding anywhere online to download 4.

    For those that really need an earlier version of Firefox to '''test with''', find your system and the Firefox version you want in releases, download and start the install.
    * ftp://ftp.mozilla.org/pub/firefox/releases/
    :or with the latest of version 3
    * http://www.mozilla.com/firefox/all-older.html
    : Note Mac OS X 10.4 user, and Mac OS X 10.5 users without Intel cannot upgrade to Firefox 4 or 5.
    When reinstalling Firefox from a download, Firefox must be down once the installation starts. When the installation finishes, don't let the install start firefox for you. Instead end the install and start your '''test install''' of Firefox in your normal manner, thus preventing creating a new profile which does not have your bookmarks cookies, etc (but your old profile would still be around and would).
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • Testing for the present of a local link in a friendly URL

    I have a friendly url like this:
    http://127.0.0.1/petitions/client/index.cfm/2006/8/18/Ex-navi-proiecit-atque-in-hostes-aqu ilam-ferre-coe#cF3117E44-D618-19D6-0DE84586EF454DD6
    which does not have a cgi.query_string.
    How do i test for the presence of the link identified with "
    #c "?
    Can a kind soul please shed some light because I am at the
    end of my wits.

    Unfortunately that's exactly the function of that link:
    moving to a certain anchor when opening the page.
    But let me rephrase the question. It looks like "
    cgi.query_string " ignores - or it does not recognize - the anchor
    if one is attached at the end of the URL. Is there any other way to
    capture the anchor?
    Contiw

  • This is a test for the Finnish locale

    this is just a test, please delete

    In general theory, one now has the Edit button for their posts, until someone/anyone Replies to it. I've had Edit available for weeks, as opposed to the old forum's ~ 30 mins.
    That, however, is in theory. I've posted, and immediately seen something that needed editing, only to find NO Replies, yet the Edit button is no longer available, only seconds later. Still, in that same thread, I'd have the Edit button from older posts, to which there had also been no Replies even after several days/weeks. Found one that had to be over a month old, and Edit was still there.
    Do not know the why/how of this behavior. At first, I thought that maybe there WAS a Reply, that "ate" my Edit button, but had not Refreshed on my screen. Refresh still showed no Replies, just no Edit either. In those cases, I just Reply and mention the [Edit].
    Also, it seems that the buttons get very scrambled at times, and Refresh does not always clear that up. I end up clicking where I "think" the right button should be and hope for the best. Seems that when the buttons do bunch up they can appear at random around the page, often three atop one another, and maybe one way the heck out in left-field.
    While I'm on a role, it would be nice to be able to switch between Flattened and Threaded Views on the fly. Each has a use, and having to go to Options and then come back down to the thread is a very slow process. Jive is probably incapable of this, but I can dream.
    Hunt

  • Does any one know how to become a tester for the ipad or ipad 2?

    My name is Taura, Does any one know how to become a product tester for apple on the ipad or ipad 2?
    <Email Edited by Host>

    Apple keeps that very tightly wrapped - select Apple employees and "connected" insiders (people who already have established relationships with Apple). There's no real way to apply or let them know you're interested - they chose who to approach.

  • Is there a way to test for the first calling of a function?

    Hi,
    I created a function (using other functions I created) to
    build a dynamic hierarchy tree menu based on parentID and itemID
    etc etc - I'm sure you're familiar with this concept. It works
    great, and there's no problem there.
    However, I do this all by building it into a string, then
    dumping it on the page. Yet again, this all works fine. However,
    because the function gets called recursively, my class,
    class="tree" gets repeat accross every occurance of the opening UL
    tag.
    I only want this class to be applied to the first UL, but
    because this is recursive, I'm not sure of a way to detect if the
    function is being called for the first time or 5th time, etc. I
    want to say something like:
    <cfif myFunction is being called the first time>
    add the class
    <cfelse>
    don't add the class
    </cfif>
    Please see my code attached. It is fully working. Please
    don't worry about what all the other functions do etc, they are
    working fine, but I need a way or variable to test against.
    Any ideas?
    Many thanks,
    Michael.

    > a dynamic
    > hierarchy tree menu based on parentID and itemID etc etc
    Is it too late to revise the way you are implementing your
    hierarchy? This
    approach is very resource intensive (because you need all
    that recursion),
    and very slow for most operations.
    When dealing with hierarchies, I use the nested set model
    http://en.wikipedia.org/wiki/Nested_set_model).
    Can I recommend you have
    a look, if you have the chance?
    The code is more complicated, but it is really very quick for
    fetches.
    It's slightly slower for create/update/delete operations, but
    for web
    sites, the vast majority of operations are reads.
    Adam

  • Any good freeware battery tester for the Macbook?

    I searched for battery tester on versiontracker and there are no results. I saw the genius bar used an ipod nano to test my battery. I wonder if anybody knows a good downloadable battery tester for Macbooks.

    In addition to that link (which is very good) there are two popular applications I see a lot of members post about:
    Coconut Battery Monitor (http://www.coconut-flavour.com/coconutbattery/index.html)
    iStat Pro (http://www.islayer.com/apps/istatpro/)
    The iStat widget is a system monitor, that includes a portion on battery health.

  • XPath query to test for the existence of a tag

    I have the following piece of XML and I need to write a query against it that will check for the existence of the <content> tag in XML body... In other words, I want to get the row if the <content> tag is absent from the Asset portion of the metadata but only for Asset_Class = "encrypted"
    ADI>

    <Metadata>
    <AMS Asset_Class="package" Asset_ID="TTVV4136100000000001" Asset_Name="Package_4136" Creation_Date="2004-07-12" Description="Test package C1" Product="MOD" Provider="N2BB" Provider_ID="n2bb.com" Verb="" Version_Major="1" Version_Minor="0"/>
    <App_Data App="MOD" Name="Provider_Content_Tier" Value="HBO1"/>
    <App_Data App="MOD" Name="Metadata_Spec_Version" Value="CableLabsVOD1.1"/>
    </Metadata>

    <Asset>

    <Metadata>
    <AMS Asset_Class="title" Asset_ID="TTVV4136100000000002" Asset_Name="Package_4136_Title" Creation_Date="2004-07-12" Description="Test package C1 title" Product="MOD" Provider="N2BB" Provider_ID="n2bb.com" Verb="" Version_Major="1" Version_Minor="0"/>
    <App_Data App="MOD" Name="Distributor_Royalty_Percent" Value="12.11"/>
    <App_Data App="MOD" Name="Contract_Name" Value="Contract Name"/>
    <App_Data App="MOD" Name="Box_Office" Value="184000000"/>
    <App_Data App="MOD" Name="MSORating" Value="R"/>
    <App_Data App="MOD" Name="Distributor_Royalty_Flat_Rate" Value="15.549"/>
    <App_Data App="MOD" Name="Studio_Name" Value="N2Broadband, INC"/>
    <App_Data App="MOD" Name="Season_Premiere" Value="N"/>
    <App_Data App="MOD" Name="Country_of_Origin" Value="USA"/>
    <App_Data App="MOD" Name="Actors_Display" Value="Harrison Ford, Tommy Lee Jones, Sela Ward"/>
    <App_Data App="MOD" Name="Propagation_Priority" Value="1"/>
    <App_Data App="MOD" Name="Title_Sort_Name" Value="Pkg C1"/>
    <App_Data App="MOD" Name="Director" Value="Villaveces,Eduardo"/>
    <App_Data App="MOD" Name="Genre" Value="Test"/>
    <App_Data App="MOD" Name="Director" Value="Robertson,Mark"/>
    <App_Data App="MOD" Name="Summary_Short" Value="Test Package C1 Summary_Short"/>
    <App_Data App="MOD" Name="Closed_Captioning" Value="Y"/>
    <App_Data App="MOD" Name="Studio_Royalty_Minimum" Value="13.000"/>
    <App_Data App="MOD" Name="Producers" Value="phillips,chris"/>
    <App_Data App="MOD" Name="Studio" Value="Warner Bros."/>
    <App_Data App="MOD" Name="Rating" Value="G"/>
    <App_Data App="MOD" Name="Rating" Value="TV-G"/>
    <App_Data App="MOD" Name="Category" Value="Encryption Test"/>
    <App_Data App="MOD" Name="Provider_QA_Contact" Value="[email protected]"/>
    <App_Data App="MOD" Name="Display_As_Last_Chance" Value="40"/>
    <App_Data App="MOD" Name="Writer_Display" Value="test of writers disp"/>
    <App_Data App="MOD" Name="Home_Video_Window" Value="45"/>
    <App_Data App="MOD" Name="Billing_ID" Value="00270"/>
    <App_Data App="MOD" Name="Episode_ID" Value="E ID"/>
    <App_Data App="MOD" Name="Title_Brief" Value="test content"/>
    <App_Data App="MOD" Name="Display_Run_Time" Value="00:03"/>
    <App_Data App="MOD" Name="Maximum_Viewing_Length" Value="00:01:00"/>
    <App_Data App="MOD" Name="Distributor_Name" Value="fox movies"/>
    <App_Data App="MOD" Name="Studio_Royalty_Percent" Value="12.00"/>
    <App_Data App="MOD" Name="Audience" Value="Adult"/>
    <App_Data App="MOD" Name="Distributor_Royalty_Minimum" Value="14.552"/>
    <App_Data App="MOD" Name="Display_As_New" Value="10"/>
    <App_Data App="MOD" Name="Episode_Name" Value="E name"/>
    <App_Data App="MOD" Name="Preview_Period" Value="60"/>
    <App_Data App="MOD" Name="Title" Value="Test Package C1"/>
    <App_Data App="MOD" Name="Summary_Long" Value="Test Package C1 Summary_Long"/>
    <App_Data App="MOD" Name="Actors" Value="davis,bill"/>
    <App_Data App="MOD" Name="Summary_Medium" Value="Test Package C1 Summary_Medium"/>
    <App_Data App="MOD" Name="Licensing_Window_Start" Value="2009-10-01"/>
    <App_Data App="MOD" Name="Type" Value="title"/>
    <App_Data App="MOD" Name="Suggested_Price" Value="3.95"/>
    <App_Data App="MOD" Name="Run_Time" Value="00:01:02"/>
    <App_Data App="MOD" Name="Chapter" Value="00:01:00:00,test1"/>
    <App_Data App="MOD" Name="Licensing_Window_End" Value="2011-11-01"/>
    <App_Data App="MOD" Name="Subscriber_View_Limit" Value="2003-03-10,2003-03-12,12"/>
    <App_Data App="MOD" Name="Season_Finale" Value="Y"/>
    <App_Data App="MOD" Name="Year" Value="1993"/>
    <App_Data App="MOD" Name="Studio_Royalty_Flat_Rate" Value="14.000"/>
    </Metadata>

    <Asset>

    <Metadata>
    <AMS Asset_Class="movie" Asset_ID="TTVV4136100000000003" Asset_Name="Package_4136_Movie" Creation_Date="2004-07-12" Description="Test Package movie" Product="MOD" Provider="N2BB" Provider_ID="n2bb.com" Verb="" Version_Major="1" Version_Minor="0"/>
    <App_Data App="MOD" Name="Type" Value="movie"/>
    <App_Data App="MOD" Name="Encryption" Value="Y"/>
    <App_Data App="MOD" Name="Audio_Type" Value="Dolby Digital"/>
    <App_Data App="MOD" Name="Screen_Format" Value="Standard"/>
    <App_Data App="MOD" Name="Copy_Protection" Value="Y"/>
    <App_Data App="MOD" Name="Content_FileSize" Value="6902796"/>
    <App_Data App="MOD" Name="Content_CheckSum" Value="81647e1a3d38c4e64af3bbcf15711b40"/>
    </Metadata>
    <Content Value="movie4136.mpg"/>
    </Asset>

    <Asset>

    <Metadata>
    <AMS Asset_Class="poster" Asset_ID="TTVV4136100000000005" Asset_Name="Package_4136_Poster" Creation_Date="2004-07-12" Description="Test Package poster desc" Product="MOD" Provider="N2BB" Provider_ID="n2bb.com" Verb="" Version_Major="1" Version_Minor="0"/>
    <App_Data App="MOD" Name="Type" Value="poster"/>
    <App_Data App="MOD" Name="Image_Aspect_Ratio" Value="240x480"/>
    <App_Data App="MOD" Name="Content_CheckSum" Value="999dcd45d6374feb380c0f49029911b5"/>
    <App_Data App="MOD" Name="Content_FileSize" Value="30"/>
    </Metadata>
    <Content Value="poster4136.bmp"/>
    </Asset>

    <Asset>

    <Metadata>
    <AMS Asset_Class="preview" Asset_ID="TTVV4136100000000004" Asset_Name="Package_4136_Preview" Creation_Date="2004-07-12" Description="Test Package Preview" Product="MOD" Provider="N2BB" Provider_ID="n2bb.com" Verb="" Version_Major="1" Version_Minor="0"/>
    <App_Data App="MOD" Name="Type" Value="preview"/>
    <App_Data App="MOD" Name="Screen_Format" Value="Standard"/>
    <App_Data App="MOD" Name="Audience" Value="General"/>
    <App_Data App="MOD" Name="MSORating" Value="All-Ages"/>
    <App_Data App="MOD" Name="Audio_Type" Value="Dolby Digital"/>
    <App_Data App="MOD" Name="Languages" Value="en"/>
    <App_Data App="MOD" Name="Dubbed_Languages" Value="is"/>
    <App_Data App="MOD" Name="Subtitle_Languages" Value="is"/>
    <App_Data App="MOD" Name="Rating" Value="G"/>
    <App_Data App="MOD" Name="Rating" Value="TV-14 S"/>
    <App_Data App="MOD" Name="Run_Time" Value="00:03:54"/>
    <App_Data App="MOD" Name="Content_FileSize" Value="6902796"/>
    <App_Data App="MOD" Name="Content_CheckSum" Value="81647e1a3d38c4e64af3bbcf15711b40"/>
    </Metadata>
    <Content Value="preview4136.mpg"/>
    </Asset>

    <Asset>

    <Metadata>
    <AMS Asset_Class="encrypted" Asset_ID="TTVE0000000000202939" Asset_Name="TTVV4136100000000003.n2bb.com" Creation_Date="2010-06-28" Description="Encrypted asset for movie4136.mpg" Product="MOD" Provider="N2BB" Provider_ID="n2bb.com" Verb="" Version_Major="1" Version_Minor="1"/>
    <App_Data App="MOD" Name="Content_CheckSum" Value="81647e1a3d38c4e64af3bbcf15711b40"/>
    <App_Data App="MOD" Name="Bit_Rate" Value="3594"/>
    <App_Data App="MOD" Name="Encryption_Key_Block" Value="<?xml version="1.0" encoding="UTF-8"?><ERPayload xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://localhost/namespaces/ERPayload.xsd"> <EncryptionRecord> <ERVer1.0> <TitleIdCode>TTVV4136100000000003</TitleIdCode> <ContentTitle>TTVV4136100000000003</ContentTitle> <EncryptionTime>2010-06-23T18:18:58Z</EncryptionTime> <OLESId>268</OLESId> <Label>12138</Label> <EncryptionMode>2</EncryptionMode> <EncryptedDataVersion>0</EncryptedDataVersion> <EncryptedDataBlock>rd00X2wXJ3uQVd6tNJDimuBMNod/zkXKmxdoR5skbFOd84eVhNdX4NQAE6Nt/iX/cz4IyHXYmYpOHVvLe5GtGFqnRxkoPhBHmMpKgFtDsDX63kgM9p00qI5SEyX4F+VNudY3GZQEQQU4qP61+dXkBYMsnGm5qV18OMnF+xThCGU=</EncryptedDataBlock> </ERVer1.0> </EncryptionRecord></ERPayload>"/>
    <App_Data App="MOD" Name="Receiver_Type" Value="MOTO"/>
    <App_Data App="MOD" Name="Asset_Encrypted" Value="TTVV4136100000000003"/>
    <App_Data App="MOD" Name="Encryption_Type" Value="oles"/>
    <App_Data App="MOD" Name="Encrypting_System_Info" Value="MOTO_OLES_1"/>
    <App_Data App="MOD" Name="Content_FileSize" Value="6902796"/>
    </Metadata>
    <Content Value="movie4136_encr.mpg"/>
    </Asset>
    </Asset>
    </ADI>

    Hi,
    You may use this in the WHERE clause :
    EXISTSNODE(xmltype_column, 'ADI/Asset/Asset[Metadata/AMS/@Asset_Class="encrypted"]/Content') = 0The XML has to be stored in an XMLType column, is that the case?

Maybe you are looking for

  • Power adapters and worldwide compatibil​ity - a lesson

    The standard fare today in power adapters is such that the brick itself is compatible around the world. Indeed, the input power on a Lenovo AC adapter is rated from 100-240V and 50 or 60Hz - capable of operating on any power standard. The only catch

  • Error in ABAP Import Phase -  3 jobs failed

    Hi, My installation of ECC IDES has failed in ABAP Import phase. 3 jobs has failed. I figured out from the logs that there are 3 loads that has failed. Failed loads are SAPPOOL, SAP0000 and SAPSLEXC. The prominant error in them are as below. Please a

  • PC connecting to Xserve 10.5.8

    When I try to connect to my xserve from a pc the login shows up as Machine/User. I only have user names setup on the server. Is there something I need to change on the PC or on the Xserve. I am running 10.5.8. I can turn on allow guest to get around

  • Problems with ViewSonic LCD displays?

    I have a ViewSonic VP2030b 21.5" LCD monitor hooked up to my G4 DA. The monitor works OK with these two exceptions: 1. "About This Mac" info on Displays consistently says "No display detected". 2. I frequently have to restart the G4 several times to

  • Processing credit memos (non manual) / WITH_ITEM table after payment run

    Hi gotta question we are processing credit memos & invoices via XI. After we complete our payment run the transactions net out proprly however for our 1099 reportable vendors the debits are posting as credits on the WITH_ITEM table. When we do this p