webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

retrieving data using "query" attribute in Oracle

  • 1.  retrieving data using "query" attribute in Oracle

    Posted Tue February 05, 2002 05:00 PM

    Hi,

    I’m unable to retrieve data from oracle backend when an additional “query” attribute is defined for the element mapped to “SQLTable”.

    Inserting data into the oracle table through tamino works. It also works if the query attribute is removed.

    The XML schema(DTD):
    <ino:doctype ino:name=“CONTRACT” …/>
    <ino:node ino:name=“CONTRACT” ino:key=“contract”
    …/>
    <ino:node ino:name=“SERIAL_NO” ino:key=“serialno” ino:obj-type=“CDATA” ino:parent=“contract” ino:map-type=“InfoField” ino:data-type=“INTEGER” />

    <ino:node ino:name=“SAGTOURS_CONTRACT” ino:key=“NewNode4” ino:obj-type=“SEQ” ino:parent=“contract” ino:search-type=“no” ino:map-type=“SqlTable” ino:datasource=“test” ino:sqltable=“SAGTOURS_CONTRACT” ino:sqlprimarykeys=““CONTRACT_ID”” ino:sqluserid=“demo” ino:sqlpassword=“demo” ino:query="contract_id = %serialno "
    />

    Am I missing something? any pointers to documentation reg. the syntax and power of this mechanism?

    Thanks,
    Sriram

    Sriram


    #webMethods
    #Tamino
    #API-Management