DirectToXMLType Mapping and XMLType functions

Hi,
I am using Toplink 11g, Weblogic 10.3 and Database Oracle 11g for my application. This application uses DirectToXMLType mapping. XMLtype column is mapped as String. Though I am able to create and query(findAll) the tables, I am not able to use specific XMLType functions like existsNode, extract etc... These methods throw the following exception.
TopLink Warning: 2009.03.18 05:26:00.328--DatabaseSessionImpl(22872587)--Exception TOPLINK-6047 (Oracle TopLink - 11g Release 1 (11.1.1.1.0) (Build 090129)): oracle.toplink.exceptions.QueryException
Invalid operator platform operator - ExistsNode in expression.
Are these operators supported?
When I query the database directly
SELECT * FROM element WHERE existsNode(ELEMENT_META, '//ROOT','xmlns:ora="http://xmlns.oracle.com/xdb"')= 1;
rows are returned.
I constructed an expression simillar to the following as
ExpressionBuilder exp = new ExpressionBuilder();
Expression criteria = exp.get("elementMeta").existsNode("'//ROOT','xmlns:ora=\"http://xmlns.oracle.com/xdb\"'").equal(1);
The above method throws exception. I followed the example provided in Oracle Toplink Developer guide, Example 110–7 Using the XMLType Extract Operator,
builder.get("resume").extract("//education/degree/text()").getStringVal().equal("BCS");
this also throws error for getStringVal().
Do I need to do any other setup?
Regards
Raji

Hello,
In your TopLink login configuration, what DatabasePlatform have you specified? The existsNode operator only exists in the Oracle9Platform class, and so can only be used if you are using it or the Oracle10Platform or Oracle11Platform which extend it.
Best Regards,
Chris

Similar Messages

  • The new map and weather functions not working.

    I add an address, but the map or weather does not appear in the event window.
    How do I get that working?

    Having the same problem. An address I entered yesterday automatically added the map to the appointment. Today when I add an address to an existing event, I see the whirly-gig spinning, but no map is added. I've tried removing the address and re-entering, but, no difference. If I Control-Click on the address in iCal and select "Show Address," the Map app opens showing the correct place on the map. So, not sure why it won't appear in iCal.

  • Iphoto not recognizing my internet connection, maps and share functions not available??

    All of a sudden my iphoto is not allowing me to share or locate photos on the map...says no connection?  but I am connected.
    Can anyone help?

    What versio of iPhoto? Of the OS?
    LN

  • Value Mapping and graphical mapping

    Hi all
    I am learning value mapping and
    all function used in graphical mapping ..
    can anybody send me inforamtion regarding tht.
    Any link  appericiated.

    Hi Nagsen,
    Mapping is basically done to convert one form of xml into another form. This can be done using either of them mentioned below.
    -  Graphical mapping
    -  XSLT mapping
    -  JAVA mapping
    -  ABAP mapping
    To know more about each of them please go thru the following links. And if you ask me your which is better, it depends basically on the scenario you implementing and the complexity involved. Anyways please go thru the following links:
    Graphical mapping
    /people/bhanu.thirumala/blog/2006/02/02/graphical-message-mapping-150-text-preview
    http://www.sapgenie.com/netweaver/xi/mapping1.htm
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    XSLT mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
    JAVA mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm
    ABAP mapping
    /people/r.eijpe/blog
    To know more about the value mapping tools for the SAP Exchange Infrastructure (XI), please go thru the following link:
    http://www.applicon.dk/fileadmin/filer/XI_Tools/ValueMappingTool.pdf
    To get an idea as to what value mapping is, please go thru the following links:
    http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/dfae3d47afd652e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    most of  the links that I have provided also helps you get the step by step procedure of doing the same. And also involves the procedure to implement certain advanced features.
    Hope this clears your doubt fully.
    Regards,
    Abhy
    PS: AWARD POINTS FOR HELPUL ANSWERS.

  • APEX as frontend for Oracle Maps and Mapviewer data

    Just to let you know:
    I did some work with Oracle Application Express (APEX) integrating Oracle Maps and Mapviewer functionality
    and published it occasionly it in my Oracle Application Express (German) BLOG. : http://htmldb-de.blogspot.com/ -
    Guess you will understand from the screens, what all is possible and beyond...
    An integration (application) of APEX and Mapquest for Routeplanning done in APEX can be seen (and downloaded) as well.
    Feel free to have a look !
    Bernhard
    http://htmldb-de.blogspot.com/

    Just to let you know:
    I did some work with Oracle Application Express (APEX) integrating Oracle Maps and Mapviewer functionality
    and published it occasionly it in my Oracle Application Express (German) BLOG. : http://htmldb-de.blogspot.com/ -
    Guess you will understand from the screens, what all is possible and beyond...
    An integration (application) of APEX and Mapquest for Routeplanning done in APEX can be seen (and downloaded) as well.
    Feel free to have a look !
    Bernhard
    http://htmldb-de.blogspot.com/

  • Need help on mapping of obsolete and new function module

    Hi Expert,
    We are working on a  upgradation tool in which i have to repace the obsolete function module "HELP_VALUES_GET_WITH_CHECKTAB
    " by "F4IF_FIELD_VALUE_REQUEST
    ". I am not sure about the functionalities of these function modules as i have never used it. Can anyone please help me  by providing some information abt  these FMs. Also i need to do the mapping of parameters of old and new function module. So please provide the details of mapping also. Any pointers on this will be highly appreciated.
    Thanks & Regards,
    P Sharma
    Moderator message : Duplicate post locked.  Continue with [Parameter mapping of FMs|Parameter mapping of FMs;.
    Edited by: Vinod Kumar on Jul 8, 2011 9:40 AM

    Hey Enivass,
    you can ckeck the input field "Account Number" whether it is numeric or Alphabet using *"Conversions ->Fixvalues"*
    Steps:
    1.  Extract first character of input using *" Text -> substring"*  -- start position 0 , char count 1 
    2. In Fix Value table you have to give following values:
    Dafault value : Alphabet
    key----
    value
    0----
    Number
    1----
    Number
    2----
    Number
    9----
    Number
    3.  Write logic IF "number" than  "Arithmatic -> FormatNumber   (0000000000)   -
    // for leading zeros
             ELSE
         concat with extra space        -
    Thanks

  • How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

  • Not able to sign into Blackberry Protect. Backup and Restore function not working. "Your device isn't associated with a Blackberry ID"

    Not able to sign into Blackberry Protect.  Backup and Restore function not working. Message is: "Your device isn't associated with a Blackberry ID."  My Blackberry Messenger and Blackberry World is working fine so I am sure its not an ID issue on the phone.  I can sign into Link, Blackberry.com and Protect.  I see my device in Protect but cannot send messages or view it on a map.  Times out with cannot reach device message.  BB Protect on Device has a swirling circle beside the on/of switch.  Cannot turn off.  
    I have deleted Link and re-installed.
    I have reset phone to default(factory) and signed in. 
    OS level is 10.2.1.3062
    BB Link is 1.2.3.56
    Solved!
    Go to Solution.

    I managed to figure this out myself. I had to delete the device from the Blackberry Protect website.  protect.blackberry.com.  I wiped my device again and signed in with my Blackberry ID.  I dont know if the step of wiping was necessary as I did not try my backup with the current configuration on the device following the delete.  Restore is in progress for me!

  • Nokia Map and Drive+ Beta on Lumina 920 Feedback

    So I took my new phone down to MD/DC area in the last few days and here are a few things that I would like to post as my feedback on what would be nice to have, fixes, etc.  [I used both my new Lumia 920 and my wife's Samsung Galaxy Note 2 as comparsion).
    1. Highest priority for me is that the routes from Here.net need to be able to sync down to the phone.  Nothing more is more important then this because when you have a custom route that you want to use (for example, to route around high traffic or potential high traffic areas).
    2. Extremely disappointed that a new road in MD (MD 200) was not used by the Drive+ and didn't even show up on the map on my Lumia 920 while it was used and did show up on Google map.  This road is a toll road and is over a year old already.  [And yes, I have enabled toll road in the navigation as well as selected 'faster route' as the routing to use under smart routing].  I cannot stressed how disappointed I am to not see Nokia Map have this route at all.
    3. Allow route changes on the Nokia Drive+ app.  As good as pre-planned trip and using Here.net, there are just tmes that it's much better to allow us to change the route based on latest condition.
    4. Never once did I see ANY traffic updates at all on both the Map and Drive+ Beta.  When it does shows on my wife's Google's Map/Navigation.
    5. I love that under Drive+, it tells you which lane to get into ahead of when you need to make a turn or merge onto another way. However, the flip side of that is that there's no way to know which road you're currently on.  This is probably more important for when you're in an area with a lot of highway/local way intersections.  Also, it would be great if it also will display the next major 'road' that you will be getting onto.
    So far I'm happy with some of the functionality and disappointed in some of Nokia Map and Drive+ and I have about a week left to decide to either stay with WP9 and Nokia or do I want to switch back to Android and Google Map.

    hi there,
    As this is a user to user forum only, if you wish to leave feedback with Nokia regarding their products and services, you can do so directly by clicking the Nokia Support link at the bottom of this page.

  • Multi-Mapping and Message Split using BPM

    Hi All,
    Could anyone pls let me know clearly how message mapping can be done for this weblog
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Thanks,
    Ram

    Hi,
    When you are doing Message mapping after adding the Messaget types for source and target messages. You can click on the "" button in the target message and add one more tab. You can go to Message tab as shown in the 5th image and click "" button to add one more message type. Then do the mapping as usual.
    <b>Based on the value of the element(name), the node of input(details)should be directed to one of the two message types</b>
    Here in this blog it is done based on the Name.
    You need to use IFTHENELSE boolean function and do the mapping.
    Thanks,
    Prakash

  • N:1 Mapping and Matching Lines of Message 1 to Message 2

    Hi Everyone,
    I have an n:1 mapping and I need to match up the lines of message 1 to the lines of message 2 to map the target.  For example:
    Source 1
    Key1 = A, Key2 = A, Key3 = A, Field1 = Red
    Key1 = A, Key2 = B, Key3 = B, Field1 = Blue
    Source 2
    Key1 = A, Key2 = A, Key3 = A, Field1 = Wagon
    Key1 = A, Key2 = B, Key3 = B, Field1 = Sky
    Target:
    Key1 = A, Key2 = A, Key3 = A, Field1 = Red Wagon
    Key1 = A, Key2 = B, Key3 = B, Field1 = Blue Sky
    I think that this is possible in a user defined function that basically loops over the Source 2 for each value in Source 1, and I even think I saw a solution to this common problem posted before, but I have searched and can not find it.  Any help is greatly appreciated!
    Thanks
    Peter

    Hi Peter,
    From the example that you have given, mapping between the two source messages has been
    done only for the fields("Field1"). Infact, you are combining the values of the fields
    in the both the source messages-to show in the target message.
    I think this can be done by creating one source message type which stores both the source
    messages (n:1) and then you can map both the field1s of the source messages to field1 of target
    message <b>by using the concat function</b>.
    Hope this was helpful.
    Regards
    Sushumna

  • Java Mapping  and Graphical Mapping

    Hi All,
    Could any one clarifies the situation where we need to write in a same interface ,
    Both Java mapping and Graphical mapping.
    Regards,
    venu.

    Hi,
       Here is a scenario where you might need to use both graphical and user defined functions.
    source: <fname> <lname> <filename>
    target: <name> <filetype>
    Suppose, you need to concatenate fname and lname into the target <name> tag, you could use the normal graphical mapping using the concat function.
    <fname>\
    concat <name>
    <lname>/
    next, if we need to extract only the filetype from the filename, for example, if we have filename.txt... and we want only the value .txt, we need to write a user defined function which would achieve this for u, since there are no inbuilt function which can solve this for you in graphical mapping.
    Further XSLT mapping comes into picture when we need to create the entire target xml structure. Again, graphical mapping would not be useful here.
    Regards,
    Smitha.

  • Performance of mapping containing a function call

    Hi,
    I have:
    SOURCE TABLE ------------------------------------------------- JOIN --------------- TARGET TABLE
    CONSTANT ----------------------- FUNCTION --------------------^
    The source table has an ID column and the function returns a P_ID which is selected from a control table. The join includes the clause; WHERE ID > P_ID - this restricts rows to later than a point in time and the P_ID is constant during the mapping's run.
    When I deploy this, it performs badly and, on examination, it appears that the function is being called for each row in the source table.
    Is it possible to set up the mapping so that P_ID is fetched once when the mapping starts and the value is re-used for the rest of the run? Would making the function deterministic help in this case?
    Regards
    Steve

    OK, thanks for all your help, guys.
    There seems to be two solutions depending on the contents of the function:
    1. When the function contains complex processing - Modify the premapping to return the single value. In my case, the current premapping stage maps to a generic premapping function so I will need to wrap it in a dedicated function that calls the generic function, then calls the function that returns the single value I want.
    2. If the functionality of the function is simple enough - in some of my cases it consists only of a select statement - bin the function in favour of the select itself and combine that into the mapping. The optimiser will then just drag the value I want in.
    Thanks for the input.
    Steve

  • Message Mapping (user-defined function)

    Hi all,
    Is there anyway to determine the XML message ID using an user-defined function in Message Mapping? When I go to SXI_MONITOR I see that all messages have an unique ID, but I'm having some difficulties to understand if there is any way to get that ID in a message mapping and pass it to a target structure? I see that it is possible to use constants like "Sender" and "Receiver", but I haven't found anything for the message ID.
    Can you please help me?
    Thanks in advance.
    Regards,
    Ricardo Inácio

    Try this code..
    Create an UDF and do not pass any arguments to it..
    java.util.Map map;
    // get runtime constant map
    map = container.getTransformationParameters();
    // get value of header field by using variable key
    String msgid = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
    return msgid;
    Now map this udf to your target field. Now test it....
    P.s. Since message id is run time property therefore in mapping test tab it will not work. Try it at runtime.
    Regards,
    Sarvesh

  • Pb of Mapping and Context

    Hy everybody
    I'm lost in one of my mapping.
    Inbound :
    <a>
      <b></b>
      ... n times
      <b></b>
    </a>
    I want it in outbound :
    <a>
      <c>
        <b></b>
      </c>
      ... n times
      <c>
        <b></b>
      </c>
    </a>
    I don't manage to reach it.
    Thanks in advance

    Hi,
    Are you able to get atleast one element under
    <C>
       <b></b>
    </C>
    If so ,make use of Remove context and SplitByValue functions here to achieve this.
    Check this -
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    Also you can see the runtime values thru Display Queue in the message Mapping(Repository)
    Hope this helps,
    Regards,
    Moorthy

Maybe you are looking for

  • Wireless printing problem with hp officejet 100 mobile printer from win 7 dell laptop

    My hp officejet 100 mobile printer was working fine with my dell XPS 15 in bluetooth wirelessly until my laptop crashed. Now I can not get it to print internet info except with hard wire connection. Page loads half way and then stops. Must shut down

  • Excise duty in MB01

    Hi MM experts Please confirm that whether in Transaction Code: MB01 Excise duty component of PO will be captured or not. regards Anubhav

  • M Audio MIDI Keyboard Not Working with Logic 9

    I've M Audio MIDI Keyboard 49, it's working fine with GarageBand but when I go Logic pro and try to record midi it record notes but I can't able to hear that notes and even I play record notes it not playing either. some can help me and can explain m

  • 5310 SMS won't become silent

    Hi, I have a Nokia 5310 XpressMusic phone and despite everything I've tried, going through the profiles and the tones and setting everything on silent as well as activating the silent profile, I still get a tone for the incoming SMS, althought it is

  • Unable to connect wifi on ios 6

    I m unable to connect my wifi after upgrade to iOS6 ...its take me to apple.com.. I try every thing.. Trun off n turn it on.. Reset settings.. Clear cookies ... But it didn't work.. Help....