Cache of the parameters....

Hi all, I have one find where result is one collection. The result is one Collection where of the values are repeats. I already verified the QL and values of the parameters in the call method. The two fields of the QL below are cmrs.
My ql is:
               <query>
                    <query-method>
                         <method-name>findByPastaAndIdioma</method-name>
                         <method-params>
                              <method-param>br.com.inttegra.infra.bean.pasta.PastaLocal</method-param>
                              <method-param>br.com.inttegra.infra.bean.idioma.IdiomaLocal</method-param>
                         </method-params>
                    </query-method>
                    <ejb-ql>
                         <![CDATA[select object(p) from PastaIdiomaEJB p where p.pasta = ?1 and p.idioma = ?2]]>
                    </ejb-ql>
               </query>
How to resolve this? Seem chache of the values.

There is a bug in finder with local/remote interface. This has been fixed in coming update release 2.

Similar Messages

  • Using the client result cache without the query result cache

    I have constructed a client in C# using ODP.NET to connect to an Oracle database and want to perform client result caching for some of my queries.
    This is done using a result_cache hint in the query.
    select /*+ result_cache */ * from table
    As far as I can tell query result caching on the server is done using the same hint, so I was wondering if there was any way to differentiate between the two? I want the query results to be cached on the client, but not on the server.
    The only way I have found to do this is to disable all caching on the server, but I don't want to do this as I want to use the server cache for PL/SQL function results.
    Thanks.

    e3a934c9-c4c2-4c80-b032-d61d415efd4f wrote:
    I have constructed a client in C# using ODP.NET to connect to an Oracle database and want to perform client result caching for some of my queries.
    This is done using a result_cache hint in the query.
    select /*+ result_cache */ * from table 
    As far as I can tell query result caching on the server is done using the same hint, so I was wondering if there was any way to differentiate between the two? I want the query results to be cached on the client, but not on the server.
    The only way I have found to do this is to disable all caching on the server, but I don't want to do this as I want to use the server cache for PL/SQL function results.
    Thanks.
    You haven't provided ANY information about how you configured the result cache. Different parameters are used for configuring the client versus the server result cache so you need to post what, if anything, you configured.
    Post the code you executed when you set the 'client_result_cache_lag' and 'client_result_cache_size' parameters so we can see what values you used. Also post the results of querying those parameters after you set them that show that they really are set.
    You also need to post your app code that shows that you are using the OCI statements are used when you want to use client side result cacheing.
    See the OCI dev guide
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28395/oci10new.htm#sthref1491
    Statement Caching in OCI
    Statement caching refers to the feature that provides and manages a cache of statements for each session. In the server, it means that cursors are ready to be used without the need to parse the statement again. Statement caching can be used with connection pooling and with session pooling, and will improve performance and scalability. It can be used without session pooling as well. The OCI calls that implement statement caching are:
      OCIStmtPrepare2()
      OCIStmtRelease()

  • How to stop caching on the server

    Hello,
    Can anyone please guide me as to how do we disable caching on the
    portal server since the changes i am making in the JSP pages are not
    reflected immediately. I have already cleared the browser cache but now i
    want to clear the cache on the portalserver. I have also cleared all the
    class files created when the jsp was compiled but still there is no change.
    If anyone has faced similar problems and can throw some light on it.
    akshay

    Akshay
    I faced the same problem as you did.I went thru what Adrian advisesd and it works.Did
    you update teh correct XML file?.In my case,the weblogic.xml file is whawt holds
    this property and resides in
    D:\wlportal4.0\applications\portal\dp2\WEB-INF\weblogic.xml
    where 'dp2' is the sample portal iam working on.
    I hope this helps.
    - Logesh
    "akshay" <[email protected]> wrote:
    Hi Adrian,
    Thanks again for the quick reply but even this setting
    did not
    work.
    This has created a major development problem and the only way out i found
    was either to restart the server or change the name of the file which
    i am
    accessing. Please suggest some other way to achieve this no caching state
    on
    the server i even cleared the browser cache.
    Thanks in advance
    akshay
    "Adrian Fletcher" <[email protected]> wrote in message
    news:[email protected]...
    Akshay,
    Ok, now I understand your problem. What you need to do is to changethe
    JSP
    operating parameters for this webapp. These parameters are found inthe
    weblogic.xml file associated with your webapp. The reference for thejsp
    descriptor element can be found here:
    http://edocs/wls/docs61/webapp/weblogic_xml.html#1012195
    I think the parameter you need to change is pageCheckSeconds. Ifyou set
    this to 0 then the page is checked every request.
    Hope this helps,
    Sincerely,
    Adrian.
    Adrian Fletcher.
    Senior Software Engineer,
    BEA Systems, Inc.
    Boulder, CO.
    email: [email protected]
    "akshay" <[email protected]> wrote in message
    news:[email protected]...
    Hi adrian,
    Thanks for your quick reply I am not aware about theclustered
    environment but here i have created a jsp page (named first.sjp)
    to
    check
    a
    connection pool i have created which i have placed it along with
    the
    index.jsp page of stockportal and using the following URl i havemade a
    request http://<myportalserver>:7501/stockportal/first.jsp the first
    time
    when i request for this page it works fine -- the data flows perfectlybut
    after making any changes say for example if i change the table name
    from
    where the data is to be fetched
    it does not show me the new data it shows me the data from the previous
    table. whereas if i change the name of the jsp page and request itworks
    fine. I want to disable this caching
    at the server to make this thing work i cleared all the cache ofthe
    browser
    but still could not achieve no cache state.
    thanks in advance
    akshay
    "Adrian Fletcher" <[email protected]> wrote in message
    news:[email protected]...
    Akshay,
    The design of the caching in portal is such that all changes should
    be
    reflected immediately, even across a cluster. However there isone
    outstanding issue around a performance enhancement for the anonymoususer
    case, where this cache is not updated unless the associated .portal
    file
    is
    datasynced. So for changes to the default group either test with
    a
    logged
    in
    user of this group or do a datasync to clear the cache.
    If this does not solve your problem please let us know.
    Sincerely,
    Adrian.
    Adrian Fletcher.
    Senior Software Engineer,
    BEA Systems, Inc.
    Boulder, CO.
    email: [email protected]
    "akshay" <[email protected]> wrote in message
    news:[email protected]...
    Hello,
    Can anyone please guide me as to how do we disable caching
    on
    the
    portal server since the changes i am making in the JSP pages
    are not
    reflected immediately. I have already cleared the browser cachebut
    now
    i
    want to clear the cache on the portalserver. I have also cleared
    all
    the
    class files created when the jsp was compiled but still there
    is no
    change.
    If anyone has faced similar problems and can throw some light
    on it.
    akshay

  • Data processing in multiple caches in the same node

    we are using a partitioned cache to load data ( multiple types of data) in multiple named caches. In one partition, we plan to have all related data and we have got this using key association.
    Now I want to do processing with in that node and do some reconciliation of the data from various sources. We tried entry processor, but we want to consolidate all data from multiple named caches in the node. In a very naive form, I am thinking each named cache as a table and i am looking at ways to have a processor that will do some some processing on the related data.
    I see we could use a combination of Invocable object, Invocation service and entry processors, but I am unable to implement it successfully.
    Can you please point me to any reference implementation where I can do processing at the data node without transfering data back to client.
    Also any reference implementation of Map reduce (at the server side) in coherence would be helpful.
    Regards
    Ganesan

    Hi Ganesan
    A common approach to perform processing in the grid is to execute background threads in response to backing map listener events. The processing is co-located with data because the listener will be called in the JVM that owns the data. The thread can then make Coherence calls to access caches just like any other Coherence client.
    The Coherence Incbutor has numerous examples of this at http://coherence.oracle.com/display/INCUBATOR/Home. The Incubator Common component includes an event processing package that simplifies the handling of events. See the messaging pattern for an example: Message.java and MessageEventManager.java
    I am not sure I answered your question but I hope the information helps.
    Paul

  • How do I use the Parameters from URL to filter on Content Query in ItemStyle.xsl?

    Hi, I might need your help with code that Content Query under <xsl:Template...> that I need a filter for 3 parameter from url (from date, to date(for date range) and type.
    eg: www.mywebsite.com/pages/Filter.aspx?DateFrom=01/01/2012&DateTo=01/01/2013&Type=sports
    I've google for help and not sure they seem working so far.

    Hi,
    If you want to filter a Content Query Web Part with the parameters from URL, we can achieve it with OOTB of Content Query Web Part by adding "Additional Filters" in "Web Part Properties"->"Query". We can add
    three filters like:
    date is greater than [PageQueryString:DateFrom]
    And
    date is less than [PageQueryString:DateTo]
    And
    type is equal to [PageQueryString:Type]
    Then redirect to the URL: www.mywebsite.com/pages/Filter.aspx?DateFrom=01/01/2012&DateTo=01/01/2013&Type=sports, the query results will be filtered.
    Please reply freely if I misunderstand your meaning or there any other questions.
    best regards
    Patrick Liang
    TechNet Community Support

  • How do I get the Parameters of a Stored Procedure from my Java Code?

    I want to get the parameters in my Java code. How do I do this with Jdbc?
    In ADO it was: myCmd.Parameters.Refresh();
    Any idea what it is in Jdbc?

    no, what I want is to know what parameters are required by my stored proc. So basically I tell it, "My Stored Proc is name 'SomeName'. What are the parameters I need to fill for this proc?" Then it puts those in for me, and then I fill the values. That's what Cmd.Parameters.Refresh() does in VB/C++. So if I had a proc name "MyProc" with:
    @Something int,
    @Another varchar(25)
    Then if I did cmd.StoredProc = "MyProc" (and told it where to find the DB), and then did cmd.Parameters.Refresh(), the cmd would then have those parameters with null values, so i could do:
    cmd.Parameters(0) = 5
    cmd.Parameters(1) = "hello"
    Any idea how to do that in Java/Jdbc?

  • How to select multiple values from the parameters in BI Publisher report

    How to select multiple values from the parameter drop down in BI Publisher, and how to handle this mulitple values from the report sql...

    Hi kishore,
    I have used all the steps as you mentioned in your previous reply....including checking Mulitple Selection Check Box..
    Iam able to get the results when I am selecting one value..
    and also I am able to handle multiple values the in the query by using IN :Parameter, but seems when we select more than one value from the parameter drop down i think the Bi Publisher is sending the values in concatenated form something ilke
    ex: "'ACCOUNT','HR','SALES'" ,and when trying to display the parameters values in the output, its throwing the error as 'missing right paranthesis' ....on the whole do you have any solution which would handle
    1.Single selection.
    2.Multiple selection.
    3.'ALL' Values.
    4.Separating the concatenated string into individual strings and dispaly them on the output of the report..etc..in case of Mulitple selection.
    Ex:
    Concatenated String from BI Publisher:"'ACCOUNT','HR','SALES'"
    Expected Output on the report:ACCOUNT,HR,SALES
    reply to this would be much appreciated....
    thanks,
    manoj

  • How to select multiple values from the Parameters in the concurrent program

    How to select multiple values from the Parameters defined in the concurrent program...and i believe multiple selection is not a direct feature of EBS, but is there any workaround solution to acheive mulitple selection?

    I think there's no way to do that using standard feature.
    Some workaround I use :
    1. If the number of selections are fixed, you could use multiple parameters for the same valueset. For example :
    Selection1 : <choose first selection>
    Selection2: <choose 2nd selection>
    ..etc.
    If you don't use it then leave it empty.
    2. Use text varchar valueset and enter it manually and separate by comma (or other value) , eg : selection1,selection2,selection3....etc.

  • How to handle the OK button of the parameters prompt of a crystal report

    Hi,
    how to handle the OK button of the parameters prompt of a crystal report in vba.NET?
    I want to use the parameter prompt from the crystal report itself and I want to know when the report is ready. I need to export programatically by sending email to a list of employees after the parameters has been set. The emails I send depends on the results of the report.
    Im using a CrystalReportViewer control  in VS2010 and Crystal Report for VS2010 v13.0.1.220.

    Right. But the parameter screen is driven by the viewer. Unless you create your own parameter screen and pass the parameters to the report via code.
    Another thing I am not sure about:
    "Then by code I want to read all the employees id from the report and send email to them with specified pages of the report. (1 page per employee)"
    How do you plan on reading the employee ID from the report? I am not aware of any API that will read a value in a report so that you can then decide what page to send to whom.
    I think you're approaching this kinda backwards. A question to ask is; can you do what you are trying to do in code in the CR designer? If not, using APIs will not work either. I suspect your approach should be a report that uses an employee filter. Run the report for employee x, get the report populated with the data for that employee and email it. Repeat for employee x1, employee x2, etc.
    - Ludek

  • How to clear the cache in the portal browser

    Hello Experts,
    Iam unable to clear the cache in the portal. I tried  clearing the Navigation cache , PRT cache,PCD cache,Database cache,UME cache.
    The senario is in the browser if iam logging with some user X , he should see only 1,2,3 countries, and if i logg off and again logg in the same browser with different user he is seeing same 1,2,3 countries unlike he should see 4,5 countries.
    But if iam opening in different browser iam getting the correct one with cache cleared.
    I want to acheive this in the same browser.
    Qucik help in solving out this cache problem is appreciable.
    Regrds,
    Manasa.

    There is one more important cache: the HTTP Provider Service cache (in VA).
    To find out why the browser is showing the same languages, analyze what the server is sending to the browser with HTTPWatch or Firebug and look at the cache flag. Also check what is the iView cache parameter? Is it user, session, shared or none?
    How do you do the logoff? The best thing is to make sure that the HTTP Session is killed. If not, the portal may send data that is cached for the HTTP Session to the browser. When you open a new browser, you will also open a new HTTP Session. That could be the cause why it is working with a new browser instance.
    br,
    Tobias

  • Beginner Question - How to hide the parameters of a created process on a remote machine.

    OK so I am useng the following Powershell command invoke-WmiMethod -class Win32_process -name Create -Argumentlist ($some_command_with_parameters) -Authentication 6 -ComputerName $Your_Computer -Credential $cred
    The question comes when I pass the command with parameters in the command is encrypted until it gets to the destination but then it appears to be very easy to view the command parameters by using a PROCESS Get command while that command is being run. 
    Is there a way to hide the parameters on the remote system to prevent someone from viewing those at the time I run my script.  The problem is that I would like to pass a username and password as a parameter but would like to make sure it is fairly secure.

    Yeah I was trying to execute a cmd.exe /c ...  This works great except the for mentioned issue.  Essentially what I was trying is to create a backward mapped drive.  In order to transfer a log that is created from the command I am running,
    back to my machine.  I know the process I am doing could potentially be done different but in the enviroment I am in it is very restricted so I am basically working with what I have here.  Is there any way to at least make sure that no one other
    than the person who created the process can see its arguments?  Interactive prompts or using files won't work as I am doing this remotely and essentially issuing one long command that will do everything I want. A file might work but I don't have a secure
    way to transfer a file as this has to be a process I can do on multiple servers and many of them do not have anything setup for doing that.  The other issue is the credentials would still be unsecure on the server as long as the file was there. 
    I think my best bet would be if possible to restrict others from viewing a process and arguments that I create.  Any ideas?

  • I have created a quotation in CRM system. I want that to be downloaded into ECC, so that, I can create a sales order there with reference to that quotation. So, what are the parameters that I need to set in CRM system so that my quotation gets replicated?

    Dear Experts,
    I have created a quotation in CRM system. I want that to be downloaded into ECC, so that, I can create a sales order there with reference to that quotation. What are the parameters that I need to set in CRM system so that my quotation gets replicated without any error?
    Please help me in this regard. An early and in detail step by step guidance is highly appreciated.
    Thanks,
    SMTP

    It may be best to recreate the folder and the smart playlists from scratch.
    tt2

  • What are the parameters in Call transaction method?

    Hi ABAPER'S,
        Please give me what are the parameters in call transaction method?
    Thanks,
    Prakash

    Processing batch input data with CALL TRANSACTION USING is the faster of the two recommended data transfer methods. In this method, legacy data is processed inline in your data transfer program.
    Syntax:
    CALL TRANSACTION <tcode>
    USING <bdc_tab>
    MODE  <mode>
    UPDATE  <update>
    <tcode> : Transaction code
    <bdc_tab> : Internal table of structure BDCDATA.
    <mode> : Display mode:
    A
    Display all
    E
    Display errors only
    N
    No display
    <update> : Update mode:
    S
    Synchronous
    A
    Asynchronous
    L
    Local update
    A program that uses CALL TRANSACTION USING to process legacy data should execute the following steps:
    Prepare a BDCDATA structure for the transaction that you wish to run.
    With a CALL TRANSACTION USING statement, call the transaction and prepare the BDCDATA structure. For example:
    CALL TRANSACTION 'TFCA' USING BDCDATA
    MODE 'A'
    UPDATE 'S'.
    MESSAGES INTO MESSTAB.
    IF SY-SUBRC <> 0.
    <Error_handling>.
    ENDIF.
    The MODE Parameter
    You can use the MODE parameter to specify whether data transfer processing should be displayed as it happens. You can choose between three modes:
    A Display all. All screens and the data that goes in them appear when you run your program.
    N No display. All screens are processed invisibly, regardless of whether there are errors or not. Control returns to your program as soon as transaction processing is finished.
    E Display errors only. The transaction goes into display mode as soon as an error in one of the screens is detected. You can then correct the error.
    The display modes are the same as those that are available for processing batch input sessions.
    The UPDATE Parameter
    You use the UPDATE parameter to specify how updates produced by a transaction should be processed. You can select between these modes:
    A Asynchronous updating. In this mode, the called transaction does not wait for any updates it produces to be completed. It simply passes the updates to the SAP update service. Asynchronous processing therefore usually results in faster execution of your data transfer program.
    Asynchronous processing is NOT recommended for processing any larger amount of data. This is because the called transaction receives no completion message from the update module in asynchronous updating. The calling data transfer program, in turn, cannot determine whether a called transaction ended with a successful update of the database or not.
    If you use asynchronous updating, then you will need to use the update management facility (Transaction SM12) to check whether updates have been terminated abnormally during session processing. Error analysis and recovery is less convenient than with synchronous updating.
    S Synchronous updating. In this mode, the called transaction waits for any updates that it produces to be completed. Execution is slower than with asynchronous updating because called transactions wait for updating to be completed. However, the called transaction is able to return any update error message that occurs to your program. It is much easier for you to analyze and recover from errors.
    L Local updating. If you update data locally, the update of the database will not be processed in a separate process, but in the process of the calling program. (See the ABAP keyword documentation on SET UPDATE TASK LOCAL for more information.)
    The MESSAGES Parameter
    The MESSAGES specification indicates that all system messages issued during a CALL TRANSACTION USING are written into the internal table <MESSTAB> . The internal table must have the structure BDCMSGCOLL .
    You can record the messages issued by Transaction TFCA in table MESSTAB with the following coding:
    (This example uses a flight connection that does not exist to trigger an error in the transaction.)
    DATA: BEGIN OF BDCDATA OCCURS 100.
    INCLUDE STRUCTURE BDCDATA.
    DATA: END OF BDCDATA.
    DATA: BEGIN OF MESSTAB OCCURS 10.
    INCLUDE STRUCTURE BDCMSGCOLL.
    DATA: END OF MESSTAB.
    BDCDATA-PROGRAM = 'SAPMTFCA'.
    BDCDATA-DYNPRO = '0100'.
    BDCDATA-DYNBEGIN = 'X'.
    APPEND BDCDATA.
    CLEAR BDCDATA.
    BDCDATA-FNAM = 'SFLIGHT-CARRID'.
    BDCDATA-FVAL = 'XX'.
    APPEND BDCDATA.
    BDCDATA-FNAM = 'SFLIGHT-CONNID'.
    BDCDATA-FVAL = '0400'.
    APPEND BDCDATA.
    CALL TRANSACTION 'TFCA' USING BDCDATA MODE 'N'
    MESSAGES INTO MESSTAB.
    LOOP AT MESSTAB.
    WRITE: / MESSTAB-TCODE,
    MESSTAB-DYNAME,
    MESSTAB-DYNUMB,
    MESSTAB-MSGTYP,
    MESSTAB-MSGSPRA,
    MESSTAB-MSGID,
    MESSTAB-MSGNR.
    ENDLOOP.
    The following figures show the return codes from CALL TRANSACTION USING and the system fields that contain message information from the called transaction. As the return code chart shows, return codes above 1000 are reserved for data transfer. If you use the MESSAGES INTO <table> option, then you do not need to query the system fields shown below; their contents are automatically written into the message table. You can loop over the message table to write out any messages that were entered into it.
    Return codes:
    Value
    Explanation
    0
    Successful
    <=1000
    Error in dialog program
    > 1000
    Batch input error
    System fields:
    Name:
    Explanation:
    SY-MSGID
    Message-ID
    SY-MSGTY
    Message type (E,I,W,S,A,X)
    SY-MSGNO
    Message number
    SY-MSGV1
    Message variable 1
    SY-MSGV2
    Message variable 2
    SY-MSGV3
    Message variable 3
    SY-MSGV4
    Message variable 4
    Error Analysis and Restart Capability
    Unlike batch input methods using sessions, CALL TRANSACTION USING processing does not provide any special handling for incorrect transactions. There is no restart capability for transactions that contain errors or produce update failures.
    You can handle incorrect transactions by using update mode S (synchronous updating) and checking the return code from CALL TRANSACTION USING. If the return code is anything other than 0, then you should do the following:
    write out or save the message table
    use the BDCDATA table that you generated for the CALL TRANSACTION USING to generate a batch input session for the faulty transaction. You can then analyze the faulty transaction and correct the error using the tools provided in the batch input management facility.

  • What are the names and the parameters of the SSIS reports

    what are the names and the parameters  of the SSIS reports
    (delivered with and included in the SSMS)
    to navigate from my reports to the build in reports
    it's necessary to know the reportname and the parameters.
    I want to "combine" respectively want to navigate
    from custom reports (works excellent) to the 5 build in reports
    please have a look at the attached picture and in particular
    to the blue arrow.SSIS_ReportsNavigation
    thank you for providing an answer or a hint.

    to navigate from my reports to the build in reports
    Those integrated reports in SSMS are not hosted in SSRS, so there is no URL available where you can navigate to.
    The reports run in client side rendering mode = RDLC.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • What  are  the  parameters  which  control the  pop up  of  sales area

    Hi Experts
    What  are  the  parameters  which  control the  pop up  of  sales area  along with sales  office  when  Sold to party  is fed  in to the CRM order .
    I  have  an issue   that,  though  the  distribution channel  and  division  is  maintained  in the  sales org  it is not   appearing  in the pop up.
    The  BP   is extended  to the  sales area .
    If  any  one  can  give  me details / documentataion   on the setting , it  is  highly  appreciated.
    Regards
    Raj

    Dear Srikanth
    Thank  for your  up date .  in my case   the customer  is assigned  with   two sales area. The  org model  ,  nothing  is  maintained  in the  attributes , still one  is appearing in the  pop up and  and  other  one  is not . It is surpricing.
    if you  can mention the logic  of maintaining  the   division and  distribution  channel inthe attribute  it is  of great help.
    Regards
    Raj

Maybe you are looking for

  • SAP Disp+work stop immediately after startup

    I am using SAP ECC 6.0 on windows with DB2 9.5 database. it was working few days back but after restarting the SAP this problem started. Following is the dev_disp log: trc file: "dev_disp", trc level: 1, release: "700" sysno      01 sid        P01 sy

  • This error message is occuring when installing the free trial of Photoshop CC:

    Exit Code: 6 Please see specific errors below for troubleshooting. For example, ERROR: -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 4 error(s) ----------- Payload: Microsoft Visual C++ 2012

  • Query with Cost Center Hierarchy giving incorrect results

    Hi All, I have a universe built based on BEx query on Cost Center cubes. When enabling hierarchy in BEx Query and building Web intelligence Report based on the universe, I get incorrect results.  The levels of the hierarchy is incorrect, many of the

  • CS6,Canon 6D, & RAW Files

    CS 6 currently won't read CR2 RAW Files from the new Canon 6D.  Camera Raw 7.3 won't see it.  Suitable version coming any time soon ?  The reader that came with the camera leaves something to be desired even though you can shift the results over to P

  • No access to environment 'test_cons'

    When i try to import a transport from dev to qa, i get the above error, i have setup the RFC, setup the BW User, run transaction  RSTPRFC, bwuser/BPC_SERVICE has sap_all and role BPC_SERVICE.   the global parm for rfc_destination is set to the rfc.