Query Search

My Tangosol Cache key is simple string and value is java object. I would like to know is there any API exist or better way to query my cache (based on key string) by passing partial key string.
I really appreciate your help on this.
Thanks!

Yes, see:
Support for key-based queries in Tangosol3.2
Limiting the keys
(Sorry about your question getting missed for several weeks, but it was in a "Test Posts" forum which doesn't get answered. We moved it to the "Support" forum.)
Peace,
Cameron.

Similar Messages

  • How to use ADF Query search with EJB 3.0

    Hi,
    In ADF guide http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_search_bc.htm#CIHIJABA
    The steps to create query search with ADF Business Components says:
    "+From the Data Controls panel, select the data collection and expand the Named Criteria node to display a list of named view criteria.+"
    But with EJB, I'm not able to find Named Criteria node. Can we use ADF query search component with EJB? If yes, can you please show me some example, tutorial etc.?
    Thanks
    BJ

    For EJBs you'll need to implement the query model on your own.
    An example of how the model should look like is in the ADF Faces components demo.
    http://jdevadf.oracle.com/adf-richclient-demo/faces/components/query.jspx
    Code here:
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html

  • Is it possible to submit a list item and at same time query/search the results if parameters are matched.

    Hello,
    Is it possible to submit a list item and at same time query/search the results if parameters are matched.
    Example - user logon to site enter search parameters and hit submit button. Once done parameters gets saved in list and shows search results on page. I have been asked to do this with
    SP designer and InfoPath doesn’t work due items limits.
    Please suggest.
    Thanks,
    Manish
    Manish

    Hi Manish,
    may i ask if you need,
    when user account click the login button, it will be authenticate the user and then it will show search result page?
    may i know how the keyword of words to be put? is it together with the user account box, password and keyword?
    or it will be like, after user authenticate, it will redirect to search page, so that user may use the search page to input the keyword?
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to Automate the Query Search Upon Return to the Calling Form?

    Greetings Ya’ll Gurus,
    Could you please share with me how to make the Query Search executed automatically each time, when database table is updated, upon return to the “Calling Form” (i.e. FormA in this posting) from the “Called Form” (i.e. FormB from here on)?
    I have FormA call_form to FormB. FormB may return to FormA. FormA allows users to enter the Query parameters and perform query Search to the database table with a list of search results afterward; whereas FormB allows users to add or delete the same database table records. Both form images are as follows:
    FormA:
    !http://dot.state.ak.us/nreg/jtomasic/FormA_DWR_SEL.GIF!
    FormA call_form to FormB by clicking PB “Daily Work Report” (see circled PB "Daily Work Report" in the above image.)
    FormB Image (FormB allows users to add and delete database records):
    !http://dot.state.ak.us/nreg/jtomasic/FormB_DWR.GIF!
    FormB EXIT_FORM and returns to FormA (see circled PB "DWR Selection" in above image).
    Currently, our users must press the PB “Search” on FormA each time to refresh the Query “Search” results after returning to FormA, and they request to have the "Search" done automatically/programmatically upon return to FormA each time when the database table is updated.
    If you have programming code on this and are willing to share or if you have any suggestion or thoughts on this, it would be most greatly appreciated.
    Thanks a lot & Happy Holidays!

    Thanks so much Andreas, and yes, your link for calling a form and passing a context is very helpful. I believe, your suggested use of the global variable for the saved database table will work for the automation of the Query Search. I am, however, not sure how to make the code and the trigger to automatically perform Query PB "Search". The code for our current "WHEN-BUTTON-PRESSED" Trigger for the PB-Search of FormA is as following:
    DECLARE
         alert_button     NUMBER;
         alert_id               ALERT;
      MY_WHERE VARCHAR2(2500);
      MY_DIST_ID         DIST.DIST_ID%TYPE     := :BLK_UPDATE.DIST_ID;
      MY_ORG_ID          DWR.ORG_ID%TYPE       := :BLK_UPDATE.ORG_ID;
      MY_ACTY_ID         DWR.ACTY_ID%TYPE      := :BLK_UPDATE.ACTY_ID;
      MY_ACTY_WORK_ID    DWR.ACTY_WORK_ID%TYPE := :BLK_UPDATE.ACTY_WORK_ID;
      MY_CNTY_ID         DWR.CNTY_ID%TYPE      := :BLK_UPDATE.CNTY_ID;
      MY_ASSET_GRP_ID    DWR.ASSET_GRP_ID%TYPE := :BLK_UPDATE.ASSET_GRP_ID;
      MY_ASSET_ID        DWR.ASSET_ID%TYPE     := :BLK_UPDATE.ASSET_ID;
      MY_RTE             DWR.RTE%TYPE          := :BLK_UPDATE.RTE;
      MY_BEG_MP          DWR.BEG_MP%TYPE       := :BLK_UPDATE.BEG_MP;
      MY_END_MP          DWR.END_MP%TYPE       := :BLK_UPDATE.END_MP;
      MY_FROM_DATE       DWR.DWR_DATE%TYPE     := :BLK_CONTROL.FROM_DATE;
      MY_TO_DATE         DWR.DWR_DATE%TYPE     := :BLK_CONTROL.TO_DATE;
      MY_FLAG_OFFSYS     VARCHAR2(11)          := :BLK_UPDATE.FLAG_OFFSYS;
      MY_FLAG_COMMENTS   VARCHAR2(11)          := :BLK_UPDATE.FLAG_COMMENTS;
      MY_SPECIAL_EVENT_SEQ_NO SPECIAL_EVENT.SPECIAL_EVENT_SEQ_NO%TYPE  := :BLK_UPDATE.SPECIAL_EVENT_DESCR;
      MY_FLAG_ACCDT      VARCHAR2(11)          := :BLK_UPDATE.FLAG_ACCDT;
    BEGIN
    :blk_control.dummy_flag := 1 ;
    :BLK_CONTROL.DUMMY_ERR_FLAG := 'N';
    VALIDATION_SELECTION;     -- Program Unit VALIDATES DWR SELECTION PARAMETERS PRIOR TO
                                                    -- PERFORMING THE SEARCH AND POPULATING THE DISPLAY BLOCK
    if :blk_control.dummy_flag = 1 then
      IF :BLK_CONTROL.DUMMY_ERR_FLAG = 'N' THEN
        MY_WHERE := BUILD_WHERE_CLAUSE(MY_DIST_ID,
                                       MY_ORG_ID,
                                       MY_ACTY_ID,
                                       MY_ACTY_WORK_ID,
                                       MY_CNTY_ID,
                                       MY_ASSET_GRP_ID,
                                       MY_ASSET_ID,
                                       MY_RTE,
                                       MY_BEG_MP,
                                       MY_END_MP,
                                       MY_FROM_DATE,
                                       MY_TO_DATE,
                                       MY_FLAG_OFFSYS,
                                       MY_SPECIAL_EVENT_SEQ_NO,
                                       MY_FLAG_ACCDT,
                                       MY_FLAG_COMMENTS);
        SET_BLOCK_PROPERTY('BLK_DISPLAY', DEFAULT_WHERE, MY_WHERE);
        GO_BLOCK('BLK_DISPLAY');
        CLEAR_BLOCK(NO_VALIDATE);
        EXECUTE_QUERY(ALL_RECORDS);
        IF :BLK_DISPLAY.DWR_SEQ_NO IS NOT NULL THEN
                   SET_ITEM_ON_OR_OFF('BLK_CONTROL.PB_PRINT', TRUE);
        ELSE
                   SET_ITEM_ON_OR_OFF('BLK_CONTROL.PB_PRINT', FALSE);
                   alert_id := FIND_ALERT('no_data_query');
                   IF ID_NULL(alert_id) THEN
                        error_msg(1000);
                   ELSE
                        set_alert_message(alert_id, 1040);
                        alert_button := SHOW_ALERT(alert_id);
                   END IF;
              END IF;
              GO_BLOCK('BLK_UPDATE');
              GO_ITEM('BLK_CONTROL.PB_SEARCH');
         END IF;
    end if;
    END;My questions are:
    After initializing, set and/or reset the global variable for the saved database table,
    do I copy the above code (i.e. the "entire" code in the "WHEN-BUTTON-PRESSED" Trigger for the PB-Search) to the WHEN-NEW-FORM-INSTANCE-trigger, or other trigger(s), of FormA to automate the Query Search whenever there is a successful database commit/save? Or
    is there a simple way to activate the code in the "WHEN-BUTTON-PRESSED" Trigger for the PB-Search of FormA? Or
    is there a simple way to activate the EXECUTE_QUERY(ALL_RECORDS) command in the WHEN-NEW-FORM-INSTANCE-trigger or other trigger(s) of FormA ?
    Thanks and always.

  • Form query/search issue F6 , F11 + Ctrl F11

    Dear Techies,
    I have an issue with form query/search mode in oracle applications. The Issue is i have a custom form which has headers and lines. whenever i open the form cursor is defaulting on a column called "Transaction_year" which is a mandatory column, Because of this whenever i want to search first I have to clear the record (Press F6) then press F11 and CTRl F11.
    And my client is irritated to press so many buttons. I cannot make mandatory col to optional since it is "Transaction_year" a primary key. I have to customize the form in such a way that it should allow f11 + ctrl f11 to search.
    Can somebody help me how can i achieve this. I am new to forms :(

    I have written this code in form level - when new form instance trigger
    go_item('XXDOF_PA_PRJCST_HEADERS.FIN_APPRVER_DEPT');
    this is a optional field ... and when when i open form it is defaulting to this ... still f11 + ctrl f11 is not working ... i have to clear it (f6) and then press f11 + ctrl f11

  • ADF Query Search

    What kind of query search is implemented in ADF Query components(ADF Query, ADF Query with Table) ?

    The query component provides the user the ability to perform a query based on a saved search or personalize saved searches. The component displays a search panel with various elements, each of which help the user to accomplish various tasks.
    Elements rendered by the query component
    Search Panel: the panel that encloses all elements rendered by the query component
    Search Header: Spans the entire width of the search panel and used to display a disclosure icon, the label, search mode (toggle button) and saved search (choice list of saved searches). The help (deprecated), info and toolbar facets' content is also displayed in the header.
    Match Type: A radio button group that appears below the search header, it defines whether the search criteria should be treated as an AND search or an OR search. For details on the conjunction operators refer to the QueryDescriptor and ConjunctionCriterion classes.
    Criteria region: A form layout that appears below the Match type, it contains search fields that define the search parameters. For details on search fields refer to the QueryDescriptor model.
    Criterion: A criterion represents a single search field, that comprises of an operator and one or more value fields. For value fields that render LOV components, the autoComplete feature is not enabled unless either of the methods, AttributeCriterion.hasDependentCriterion() or ListOfValuesModel.isAutoCompleteEnabled() return true. This is done to allow the end-user to enter partial values with wild-cards and tab around the search panel without causing the LOV dialog to be launched (everytime they tab-out of the LOV value field).
    Action buttons: The search panel has four action buttons: Search, Reset, Save, and Add Fields. The action buttons appear below the criteria region. They are end-aligned within the search header.
    NOTE: The Add Fields feature is only available in the Advanced mode.

  • Extending SalesOrder Query search on MSR 2.0

    Hi all,
    I need to extend query search for sales order by adding a date range (FROM - TO in place of a single date field DATE_DOC). But the DATE_DOC_HIGH custom field has not a FieldDescriptor so it's not possible to call:
    searchKeys<i> = getFieldDescriptor("DATE_DOC_HIGH"); //->>returns an Exception
    (where 'i' is the Condition number index)
    It's possible to clone the FieldDescriptor of the standard field DATE_DOC, and modify its KEY and VALUE in order to fill it with those of DATE_DOC_HIGH?
    The standard code that run the query is this:
    conditions[j][0] = queryFactory.createCondition( searchKeys<i>,
                                                                          criteriaTypes<i>,
                                                                         tmpSearchCondition<i>.getDateValue());
    Does anybody know another way to fullfill this goal?
    Thanks in advance,
    GB

    Hello,
    I am not sure I am getting the question. Normally you have to create to condition on the date field one with DATE > input date 1 and DATE < input date 2.
    You create a composite condition and query with it directly. No need for a custom field as they cannot be used for querying (if they are not in the syncbo def).
    Thank you,
    Julien.
    msc mobile Canada
    http://www.msc-mobile.com

  • Af:query search page i have, in my result table on command is there ,i.e ID

    af:query search page i have, in my result table on command is there ,i.e ID
    when i am clickeing on a ID ,regarding id related details EDIT page i want display.
    i need code and process of this USECASE.
    Please replay ASAP

    User,  without a jdev version and an understandable user case we can't help.
    Timo

  • Outer join two tables with query search record attached to both tables

    When I create a query with two tables that have query search records attached with outer join, PS seems to do a natural join (cartesian). We are on PT8.48.
    Is there a workaround for this issue. I do not want to remove query search record on either of the tables.
    I am trying to create an Emergency contact report. I am using two tables PS_EMPLOYEES and PS_EMERGENCY_CNTCT. Here is the sql PeopleSoft query generated when I did Left outer Join.
    Query SQL:
    SELECT A.EMPLID, A.NAME, A.ADDRESS1, A.CITY, B.PRIMARY_CONTACT, B.ADDRESS1, B.CITY, B.STATE, B.POSTAL, B.RELATIONSHIP, A.DEPTID, A.JOBCODE, A.COMPANY, A.EMPL_TYPE
    FROM (PS_EMPLOYEES A LEFT OUTER JOIN PS_EMERGENCY_CNTCT B ON A.EMPLID = B.EMPLID ), PS_EMPLMT_SRCH_QRY A1, PS_PERS_SRCH_QRY B1
    WHERE A.EMPLID = A1.EMPLID
    AND A.EMPL_RCD = A1.EMPL_RCD
    AND A1.OPRID = 'SREESR'
    AND (B.EMPLID = B1.EMPLID OR B.EMPLID IS NULL )
    AND B1.OPRID = 'PS'
    Appreciate any help.

    I think there are fixes for this issue in later tools releases (Report ID 1544345000). I'm not sure about 8.48, but you might try the workaround documented in
    E-QR: Left Outer Joins with Security Records are returning unexpected results [ID 651252.1]
    on Oracle Support.
    Regards,
    Bob

  • How to Query search panel internationalization in ADF.

    Hi,
    I am using JDeveloper Studio 11.1.1.2.0 and weblogic server 10.3.2.My Requirement is Internationalization.I did Internationalization(Arabic) In GUI level Its coming
    but Problem is in Query search panel(VO level) i want to change Internationalization ,but it is not comming.I have configured faces-config.xml.but not comming in Query search panel.
    In VO level ,i have change in Control Hints, As a label Tex---> #{UIServiceMessage['_U0627_U0644_U0646_U0638_U0627']} but still same text msg is comming.
    So plz help me how to Query search panel internationalization in ADF.
    Thanks&Regards
    Anup

    hi
    check this
    http://andrejusb.blogspot.in/2008/02/list-of-values-component-in-search-and.html
    Regards

  • Last Result from Fulltext SQL Query Search Not Showing

    I am creating a custom search results page for MOSS 2007 (using inline .aspx code - don't ask) that uses Fulltext SQL Queries.  I get the results in a ResultTable (see code below) and then use a DataTable to write code to display it (I could have used
    a DataGrid, I know).
    The problem is that the last result is not showing. So, if it reports that there are 5 results, only 4 will show. I have verified that all 5 results do exist (using a slightly broadened query). If it reports 1 result, none exist in the DataTable that loads
    the result data from the ResultTable.
    FullTextSqlQuery query = new FullTextSqlQuery(site);
    query.ResultTypes = ResultType.RelevantResults;
    query.QueryText = qry;
    query.RowLimit = 50;
    query.StartRow = iPage;
    try
    ResultTableCollection results = query.Execute();
    ResultTable resultTable = results[ResultType.RelevantResults];
    DataTable table = new DataTable();
    table.Load(resultTable, LoadOption.OverwriteChanges);
    int n = resultTable.TotalRows;
    The variable "qry" is a valid SQL Query with the relevant clauses.
    I am using a foreach loop to go through "table" (a DataTable), and so I do not think that I have a "one-off error".
    Any suggestions would be most welcome.

    So in results you have all items but when you are loading it into table (type DataTable) you are loosing one last record.
    1) First you check what data you are getting in resultTable - as you are specifying RelevantResult
    2) Check last index of data in ResultTable collection and try to find out the last index ResultTable, or try to find last index of data in result table
    DataTable.Load method accepts parm of type IDataReader and IDatareader, there are cases it looses records if not read properly..check below links
    http://stackoverflow.com/questions/8396656/why-does-my-idatareader-lose-a-row
    http://msdn.microsoft.com/en-us/library/system.data.datatable.load(v=vs.110).aspx
    <hr> Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL <br/> <b><a href="http://insqlserver.com">Everything about SQL Server | Experience inside SQL Server </a></b>-<a href="http://insqlserver.com">Mohammad
    Nizamuddin </a>

  • Query Search Panel not displaying search items in 11g on Windows 7 x64

    I have defined a view object with two bind variables in a query criteria.
    when I drag the query criteria onto a page - I get the panel with the search box - but the message says "no search items have been added".
    I went back and ran through the steps with the SR Demo - same results.
    I have tried redoing the search, using the default "all query items", query with table, and always the same results.
    If I do a query form - I get everything - but i really need the "nice" query table to work.
    Anyone else having this problem - or know of a solution.
    I have redone the cue card step many times - I can put the base object (view) on the page and it works fine.
    Edited by: rogerappl on Jun 30, 2010 12:49 PM

    OK, this may seem foolish, how do I drag and drop the ExecuteWithParams - this will need to be in the Datacontrol - I presume - I am using 11gR3 (11.1.1.3).
    I cannot even find documentation on this.
    You are correct - I created the bind variables when I defined the where clause - so I suspect this may be the reason.
    I would have thought that this would be automated - since it is pretty useless without it. There were no hints of this in the demo either.

  • Af:query search button partial trigger

    Experts,
    Having an af:query with table in Jdev 11.1.1.5 page, how can we make the table visible/invisible if the table is empty. I can put
    #{bindings.Details.estimatedRowCount > 0 }  in my table visible property, but how to put a partial trigger from the default search button in the af:query to the table
    thnks

    I donot think you will need to add a partialTrigger separately. The resultComponentId attribute of the af:Query (which should reference the results table) should take care of this .
    From the documentation http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_query.html >
    resultComponentId : ....Product teams should ensure that this value is set correctly so that the search operation triggers a partial page refresh of the componenEdited by: Sudipto Desmukh on May 8, 2012 6:48 PM

  • SAP Query - Searching

    Our company is new to SAP and I am having to create reports using SAP Query. I am learning about Query Areas, User Group and InfoSet .
    I have a query name set up by someone else (I know the transaction code) but do not now where it has been saved.
    How do I search across all areas, groups and InfoSet  to find where this Query has been saved.
    Thanks for helping a very new and inexperienced user.

    when u got o SQ02
    check the >enironment button from the menu  u will drop down list containing the below
    and change the query Areas
    from global to standrad area
    u will get list of the infosets along with the person who created the infoset along with the infoset
    check that one and let me know if u have any issues
    Edited by: Sikindar on Jul 10, 2009 3:05 PM

  • ABAP query (Search help)

    One Standard search help is giving resutlts perfectly ok in user's login having 'SAP ALL' profile but same is giving different results in user's loginwho do not have 'SAP ALL' profile. Kindly suggest.
    Thanx and regards,
    Rajesh Vasudeva

    Hi Rajesh,
    The reason for this may be that the user is not given the complete authorization for one or more firld in that query.For example user may have authorization for onle one plant PT01 and hence the o/p of query shows only relative data,where as in SAP_ALL there will be all the plants say PT01,PT02,PT03...
    You may contact the Basis person for clarification.
    Reward points if useful
    Bhavin P Shah

  • BEx Analyzer / authorizations / query search

    Hello everyone
    Today I have a problem with my authorizations for the the BEx Analyzer.
    The technical name of my InfoArea is VCOPA.
    I have a number of queries with the technical name VCOPA_MM001 / VCOPA_M01_X0001 / and so on.
    When I open the BEx analyzer and search for queries (wildcard *) I get only my queries with the technical name VCOPA. So far so good... Unfortunately the Bex search results display additionally several query views (like 0D_DX_M01_Q0001_V05) and that is bad. So how can I stop this?
    My authorization settings:
    S_RS_COMP
    ACTVT: 03, 16
    RSINFOAREA: VCOPA*
    RSINFOCUBE: VCOPA*
    RSZCOMPID: VCOPA*
    RSZCOMPTP: QVW, REP
    S_RS_COMP1
    ACTVT: 03, 16
    RSZCOMPID: VCOPA*
    RSZCOMPTP: QVW, REP
    RSZOWNER: *
    Thanks in advance..
    Regards, Alex
    Edited by: Alexander Stettler on Mar 5, 2010 2:50 PM

    The roles are customized...
    In addition to the listed authorization objekts (s_rs_comp / s_rs_comp1) I have the following objekts in use:
    S_RFC
    ACTVT : 16                                                                         
    RFC_NAME:  *                                                                          
    RFC_TYPE:   FUGR                                                          
    S_TCODE
    TCD: RRMX
    S_GUI
    ACTVT: 60, 61
    S_USER_AGR
    ACTVT:     03
    ACT_GROUP: *
    S_RS_AUTH
    BIAUTH: 0BI_ALL
    S_RS_FOLD
    SUP_FOLDER: X
    S_RS_XCLS
    ACTVT: 16                                                                         
    RSXCLSID: VCOPA*
    RSZOWNER: *
    Edited by: Alexander Stettler on Mar 10, 2010 11:25 AM

Maybe you are looking for

  • Many times thesame picture

    With Iphoto 9 (last issue)Having imported (by error and unfortunatly ofen !!)several times the same pictures I'd like to eliminate the unuseful ones THKS

  • Adobe reader 9.1.2: "copies" greyed out under page handling

    windows xp pro: sp3 adobe reader 9.1.2 canon faxphone L80 (latest drivers) When printing from a NON PROTECTED document, the "copies" option is greyed out under page handling. This issue only applies to the Canon L80 and I can print multiple copies to

  • 15" Studio Display ?

    I was wondering if there is anyway to fix/save a 15" Apple Studio Display (LCD with Blue Back) there is one for sale but it has the display cord cut off.

  • HELP: Media Management for TIFF- JPG- PSD-Files

    I work a lot with pictures in my present videowork. Everytime I change something in Photoshop, the change is not automatically updated, when I return to Final Cut. The picture is set offline and eveytime I had to do the same enoying procedure to get

  • UHD Monitor zu keine Schriften - besonders bei Bridge

    Hallo, ich habe mir einen UHD Monitor gekauft. Für die Bedienung von Bridge brauche ich nun eine Lupe. Windows 8.1 Programme müssen sich wohl selbst um die richtige Darstellung kümmern. Das ist noch sehr in den Kinderschuhen. Es gibt auch eine Zentra