Named query cache not hit

Hi,
I'm using Toplink ORM 10.1.3.
I have a table called STORE_CONFIG which has a primary key called KEYWORD (a VARCHAR2). The POJO mapped to this table is called StoreConfig.
In the JDeveloper (10.1.3.1.0) mapping workbench I've defined a named query to query by the PK called "getConfigPropertyByKeyword". The type of the named query is ReadObjectQuery.
SELECT keyword, key_value
FROM STORE_CONFIG
WHERE (keyword = #key)
Under the options tab I have the following settings:
Cache Statement: true
Bind Parameters: true
Cache Usage: Check Cache by Primary Key
The application logs show that the same database queries are executed multiple times for the same PK (keyword)! Why is that? Shouldn't it be checking the Object Cache rather than going to the DB?
I've tried it with "Cache Statement: false" and "Bind Parameters: false" with the same problem.
If I click the Advanced tab and check "Cache Query Results" then the database is not hit twice for the same record. However it was my understanding that since I am querying by PK that I wouldn't need to set "Cache Query Results".
Doesn't "Cache Query Results" apply to the Query Cache and not the Object Cache?

Your issue seems to be that you are using custom SQL for the query, not a TopLink expression. When you use an Expression query TopLink's know if the query is by primary key and can get a cache hit.
When you use custom SQL, TopLink does not know that the SQL is by primary key, so does not get a cache hit.
You could either use an Expression for the query,
or when using custom SQL you should be able to name your query argument the same as your database field defined as the primary key in your descriptor (case sensitive).
i.e.
SELECT keyword, key_value
FROM STORE_CONFIG
WHERE (keyword = #KEYWORD)

Similar Messages

  • Query is not hitting in detail Level

    Hi,
    1.Why the query is hitting the detailed level source when aggregate source is available ? BI Server is confused and hitting the detail level. Even after setting the levels at content tab it is not hitting the aggregate source.
    Thanks In Advance,
    Raji......

    Make sure your detail level table and agg tables are not set to same level, these suppose to be different levels from same dim.
    Pls mark if helps

  • Named Query does not refresh

    I have a named query that has one parameter against the HR database table Countries and the parameter is the CountryID. I then have a page that shows a edit form based on the named query. I use a bean to pass the value to the parameter and the bean is updated from an action listner. The first time I call the page the selected record is correct, then from then on successive calls to that page with changes to the bean value still shows the same record.

    try doing an execute-query action on entry of the page.

  • Entity-Named Query Caching - Need live results from DB not Cached

    I've developed an application EJB3 web application which uses Entity Beans and NamedQueries to retrieve my results.
    Aswell as my main EJB3 web application I also have an external interface (Oracle Stored Procedure) which is updating data in my database tables. The problem is that the when the NamedQueries are called they only bring back "Cached" resultsets and not the live results that exists in the database at that time. If my Stored Procedure updates a value (or if I update a value via Toad for testing) the NamedQuery does not bring back these changes. From what I have read about NamedQueries it seems that they do actually query the live db but send back the cached values for performance reasons.
    Is there a way to turn off caching of Query results?
    If not is there another way to deal with this issue?
    ps. I'm using Jdev 10.1.3.4 and appserver 10.1.3.1

    Anyone?

  • Query Caching not working after migrating to ver12 for DateTime columns

    I have an applet that charts production numbers over time.  The query template is cached for 1 min.  When the applet uses fresh data the applet charts properly and the underlying data has accurate values in the date/time columns.  But if the applet charts from cached data the chartu2019s x-axis (date/time) shows an incorrect date range and the underlying data has inaccurate values in the date/time columns but other columns values are accurate.

    The first is fresh data.  The second is a refresh with cached data.  Only difference is in the fresh data trace there is an additional config - ApplyTZOffset=true
    Post data [Connector=&Server=WW Runtime&Service=&Mode=FixedQuery&Method=&CacheDurationUnits=M&CacheDuration=5&IsCachable=true&Param.1=currentShift&Param.2=0&Param.3=09%2F16%2F200800%3A00&Param.4=09%2F16%2F200800%3A00&Param.5=Y9129&Param.6=trend&Param.7=details&Param.8=15&Param.9=0&Param.10=&Param.11=&Param.12=&Param.13=&Param.14=&Param.15=&Param.16=&Param.17=&Param.18=&Param.19=&Param.20=&Param.21=&Param.22=&Param.23=&Param.24=&Param.25=&Param.26=&Param.27=&Param.28=&Param.29=&Param.30=&Param.31=&Param.32=&Query=EXECRuntime.dbo.getOEETrendController%27%5BParam.1%5D%27%2C%5BParam.2%5D%2C%27%5BParam.3%5D%27%2C%27%5BParam.4%5D%27%2C%27%5BParam.5%5D%27%2C%27%5BParam.6%5D%27%2C%27%5BParam.7%5D%27%2C%5BParam.8%5D%2C%5BParam.9%5D&QueryParams=&NumberFormat=0.00&DateFormat=MM-dd-yyyy+HH%3Amm%3***&RowCount=120000&Content-Type=raw/binary&ApplyTZOffset=true&AllowBuffering=false&Comment=]
    4390
    Post data [Connector=&Server=WW Runtime&Service=&Mode=FixedQuery&Method=&CacheDurationUnits=M&CacheDuration=5&IsCachable=true&Param.1=currentShift&Param.2=0&Param.3=09%2F16%2F200800%3A00&Param.4=09%2F16%2F200800%3A00&Param.5=Y9129&Param.6=trend&Param.7=details&Param.8=15&Param.9=0&Param.10=&Param.11=&Param.12=&Param.13=&Param.14=&Param.15=&Param.16=&Param.17=&Param.18=&Param.19=&Param.20=&Param.21=&Param.22=&Param.23=&Param.24=&Param.25=&Param.26=&Param.27=&Param.28=&Param.29=&Param.30=&Param.31=&Param.32=&Query=EXECRuntime.dbo.getOEETrendController%27%5BParam.1%5D%27%2C%5BParam.2%5D%2C%27%5BParam.3%5D%27%2C%27%5BParam.4%5D%27%2C%27%5BParam.5%5D%27%2C%27%5BParam.6%5D%27%2C%27%5BParam.7%5D%27%2C%5BParam.8%5D%2C%5BParam.9%5D&QueryParams=&NumberFormat=0.00&DateFormat=MM-dd-yyyy+HH%3Amm%3***&RowCount=120000&Content-Type=raw/binary&AllowBuffering=false&Comment=]
    31

  • Query not hitting the Aggregate

    HI Gurus,
    I have created a Aggregate on one info cube. now when i am executing a query which was created before the creation of aggregate then that query is hitting the Aggregate.
    But i created one more new query (after the creation of aggregate) on the same infoprovider.
    Now when i am checking that query is not hitting aggregate..
    I am checking through RSRT --> Execute and Debug --> Display Aggregate.
    Its quite strange for me...
    Please help..

    Hi,
    Thanks for your quick reply.
    Let me explain my problem clearly. I am aware of that when the Aggregate contain all the characteristics that are in the query only that Aggregate is used by the report while executing it. I have few cubes on which I have created Aggregates which includes all the characteristics which are used in all the reports. Now I have created a multi provider on these cubes and created a query on that multi provider. Now when I execute the query does it hit the Aggregate or not.
    For Example.
    I have cubes A, B and C. A contain 1,2,3 characteristics and B contains 1,4,5 and  contain 1,4,6,7. I have created Aggregates on these cubes. I have created the Multi Provider on these and executing the query. This query contain all these characteristics 1,2,3,4,5,6,7. when I run the query does it hit the any of the Aggregates.
    Regards
    Sankar.

  • TopLink named query issue

    We are using Jdeveloper 10.1.3.3, TopLink, ADF JSF Faces. I have an issue with TopLink named query. I am passing a value to parameter defined in the TopLink named query. The problem is that the parameter value is not being set when JSP page is loading for the first time and TopLink named query is not returning any results. When I click a button or refresh the page or some user action, then only the parameter value is set in the TopLink named query and returning the query results.Is this TopLink issue or is there any way to invoke action to fire the TopLink named query with the parameter value being passed at the time of loading JSP page ?
    Our project is held up due to this issue and I will highly appreciate if someone can help on this?
    Thanks in Advance.

    Go to your toplink map in the application navigator, select the descriptor in the structure pane and then click on the "Queries" tab in the editor pane. You should be able to configure your named query there.
    Hope this helps.
    Anuj

  • Report not hitting pre seed cache

    I have 40 reports which i am caching using i bots in a dashboard.The cache works good for the first 10 min which ever user logs in.After this times it is not hitting the cache and new cache entries are found in the cache files.I tried modifying the Instance config file adding the following parameters.Still i find the same issue.
    Is there any other parameters that i need to set which is causing this problem?
    <ServerInstance>
    <Cache>
    <Query>
    <MaxEntries>100</MaxEntries>
    <MaxExpireMinutes>60</MaxExpireMinutes>
    <MinExpireMinutes>10</MinExpireMinutes>
    <MinUserExpireMinutes>10</MinUserExpireMinutes>
    </Query>
    </Cache>
    <ServerInstance>

    Only thing I can think of is temp files running out of space? ( 'nQS_xxxx_x_xxxxxx.TMP' files which are stored by default in the \Temp folder stores the presentation server cache informatoin. )
    Thanks,
    -Amith.

  • SSRS,MDX- Passed parameters are not hitting the main query in Dataset

    I have created a SSRS report which has to accept two parameters i.e., store name, Date(to show sales on particular date) in report. which are working fine for me. but, those passed parameters are not hitting the main query in main Dataset. what ever i
    pass in parameters, it is displaying all the rows(every city values). i think i am not correct in creating the statement in  Main dataset query, to receive those 2 parameters into the main query. can anybody please help me how to create the statement
    in main date set to display the results for the exact parameter i am passing(which has to be in MDX).
    ram

    Hi ramprasad74,
    According to your description, you want to use parameter in the report, then after parameter values are selected, corresponding data will be displayed in the report. But the parameters do not work and all the rows are displayed.
    To pass parameter to main report dataset, we need to define parameter for MDX query and assign parameter name same as SSRS report parameter. For detail information, please refer to the following steps:
    Create a Dataset to retrieve data for Store name parameter.
    Create Store name parameter, type name and prompt, set Date type to Text, check Allow multiple values check box, then select get values from the dataset.
    Create a Dataset for Date parameter.
    Create Date parameter, type name and prompt, set Date type to Date/Time, then select get values from the dataset.
    Create a new dataset used to retrieve data for the report, add statement like below to the mdx query: {STRTOMEMBER(@Date)} * {STRTOSET (@Store_name)}.
    In Query Designer pane, click Query Parameters and assign parameter name same as SSRS report parameter.
    For more information about SSRS Report with Single and Multi Selection Parameter using MDX Query, please refer to the following blog:
    http://www.codeproject.com/Articles/799265/SSRS-Report-with-Single-and-Multi-Selection-Parame
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • Named query, primary keys must not contain null

    We have an question on the named query. Here is the scenario:
    Class JoinClassC (id, name, desc, comment) is mapped to two tables Join_Table_A (id, name, description) and Join_Table_B (id, name, comments); Join_Table_A is the primary table; two tables are associated via primary key.
    Defined a named query (findByName, ReadAllQuery/SQL) for JoinClassC descriptor. The sql is:
    SELECT a.ID,a.NAME,a.DESCRIPTION,b.COMMENTS FROM JOIN_TABLE_A a, JOIN_TABLE_B b WHERE a.NAME=#name AND a.ID=b.ID AND a.NAME=b.NAME
    Getting QueryException while executing the query. Here is the trace:
    [3/2/05 13:50:24:795 EST] f8b62aa SystemOut O 2005.03.02 01:50:24.795--ServerSession(738697921)--Thread[Servlet.Engine.Transports : 4,5,main]--Connection(1095574161)--SELECT a.ID,a.NAME,a.DESCRIPTION,b.COMMENTS FROM JOIN_TABLE_A a, JOIN_TABLE_B b WHERE a.NAME='persistence' AND a.ID=b.ID AND a.NAME=b.NAME
    2005.03.02 01:50:24.835--ClientSession(1127670417)--Thread[Servlet.Engine.Transports : 4,5,main]--Exception [TOPLINK-6044] (OracleAS TopLink - 10g (9.0.4.4) (Build 040627)): oracle.toplink.exceptions.QueryException
    Exception Description: The primary key read from the row [DatabaseRow(
         USER04.JOIN_TABLE_B.ID =&gt; 2
         USER04.JOIN_TABLE_A.NAME =&gt; persistence
         USER04.JOIN_TABLE_A.DESCRIPTION =&gt; FJF Persistence Fram
         USER04.JOIN_TABLE_B.COMMENTS =&gt; The Persistence Fram)] during the execution of the query was detected to be null. Primary keys must not contain null.
    Query: ReadAllQuery(com.ford.it.persistence.unittest.dom.JoinClassC)Local Exception Stack:
    Exception [TOPLINK-6044] (OracleAS TopLink - 10g (9.0.4.4) (Build 040627)): oracle.toplink.exceptions.QueryException
    Exception Description: The primary key read from the row [DatabaseRow(
         USER04.JOIN_TABLE_B.ID =&gt; 2
         USER04.JOIN_TABLE_A.NAME =&gt; persistence
         USER04.JOIN_TABLE_A.DESCRIPTION =&gt; FJF Persistence Fram
         USER04.JOIN_TABLE_B.COMMENTS =&gt; The Persistence Fram)] during the execution of the query was detected to be null. Primary keys must not contain null.
    Query: ReadAllQuery(com.ford.it.persistence.unittest.dom.JoinClassC)
         at oracle.toplink.exceptions.QueryException.nullPrimaryKeyInBuildingObject(QueryException.java:542)
    Adding b.ID to the sql select will solve the problem.
    Question: does the primary key must be present in the sql select to run this kind of query? Any way to work around the restriction?
    Your help would be greatly appreciated.
    Haiwei

    The problem is that you need to select both primary keys for the multiple table descriptor.
    i.e.
    SELECT a.ID,a.NAME,a.DESCRIPTION,b.ID, b.COMMENTS FROM JOIN_TABLE_A a, JOIN_TABLE_B b WHERE a.NAME=#name AND a.ID=b.ID AND a.NAME=b.NAME
    Your SQL needs to return the same data that TopLink would have selected, which includes the primary key for both tables. TopLink expects both a.ID and b.ID fields in the select, because your only select one and the field names are the same TopLink thought the ID field was for b.ID not a.ID, if you select both it will be ok.

  • Named Query (JOIN query) runs in Toplink JPA but not in EclipseLink

    I have a namedquery in JPA entities like (Entities do not include JOIN colums specifically.. no many-to-many or one-to-many relation in entities)
    select a from table1 a, table2 b where a.id=b.id
    This named query runs on Toplink Essentials without any problem.
    When I run this query using EclipseLink
    EclipseLink generates the query below and gives an error.
    select table1.id, table1.name, table1.surname from table1 t0, table2 t1 where t0.id=t1.id
    There are error _"*table1.surname*"_ is invalid identifier. Because; table1 is not define as an alias, must be "t0.surname".
    How can I solce this problem.
    The code runs on Toplink Essential but not in EclipseLink

    I have a namedquery in JPA entities like (Entities do not include JOIN colums specifically.. no many-to-many or one-to-many relation in entities)
    select a from table1 a, table2 b where a.id=b.id
    This named query runs on Toplink Essentials without any problem.
    When I run this query using EclipseLink
    EclipseLink generates the query below and gives an error.
    select table1.id, table1.name, table1.surname from table1 t0, table2 t1 where t0.id=t1.id
    There are error _"*table1.surname*"_ is invalid identifier. Because; table1 is not define as an alias, must be "t0.surname".
    How can I solce this problem.
    The code runs on Toplink Essential but not in EclipseLink

  • Named query not found

    Please help me, for God's sake, the following error is occurring:
    *12:03:28,550 ERROR [STDERR] Caused by: java.lang.IllegalArgumentException: Named query not found: Configuracao*
    ConfiguracaoManagerBean.java
    public Configuracao getConfiguracao(Long codcid, String parametro) {
              EntityManager em = (EntityManager) ctx.lookup('sincronia-unit');
              Query query = em.createNamedQuery("*Configuracao*");
              query.setParameter("codcid", codcid);
              query.setParameter("parametro", parametro);
              try {
                   return (Configuracao) query.getSingleResult();
              } catch (NoResultException e) {
                   return null;
    Configuracao.java
    package br.com.dsfnet.entity;
    import java.io.Serializable;
    import javax.persistence.Column;
    import javax.persistence.NamedQueries;
    import javax.persistence.NamedQuery;
    import javax.persistence.Table;
    @NamedQueries({
         @NamedQuery(name = "Configuracao", query = "Select o From Configuracao o Where o.codcid = :codcid and o.parametro = :parametro")
    @Table(name = "TBLCONFIGSIN", schema = "SPDNET")
    public class Configuracao implements Serializable {
         private static final long serialVersionUID = 1L;
         @Column(name = "CODCID")
         private Long codcid;
         @Column(name = "PARAMETRO")
         private String parametro;
         @Column(name = "VALOR")
         private String valor;
         public void setCodcid(Long codcid) {
              this.codcid = codcid;
         public Long getCodcid() {
              return codcid;
         public void setParametro(String parametro) {
              this.parametro = parametro;
         public String getParametro() {
              return parametro;
         public void setValor(String valor) {
              this.valor = valor;
         public String getValor() {
              return valor;
    Grateful now

    You specified both a datasource and a dbtype. In this case, since you are querying a database (and not running a query-of-queries), you should leave out the dbtype attribute. See the cfquery documentation for details.

  • Query is not using the cache

    We are on 7.3 and I have been doing some performance tuning.  I've noticed that even though a query is in the query aggregate in the cache monitor when I run it for the 1st time every morning it does not use the cache.  I traced it from ST05 and verified this.   However when I  run it the second time during the day it uses the cache.  The query cache mode is set to 5.  do you know why it does this?  I am using the exact same parameters when I run the query every time.

    You need to use following process of process chain: "Attribute change run (ATTRIBCHAN)". This process needs to be incorporated into your process chains which loads data into provider on top of which your query is based.
    See following links on topic how to build it:
    https://help.sap.com/saphelp_nw73/helpdata/en/4a/5da82c7df51cece10000000a42189b/frameset.htm
    https://help.sap.com/saphelp_nw70ehp1/helpdata/en/9a/33853bbc188f2be10000000a114084/content.htm
    cheers
    m./

  • Report not hitting pre seed cahe created using iBot by Admin

    Hi,
    We created an iBot to pre seed the cache using Administrator and it is creating the cache but when normal user run this particular report for the 1st time it's not hitting the cache(created using iBot). all the subsequest users request hitting the cache created by normal user. I still dont understand why it is not hitting the cache.
    Did anyone comeacross this issue before?
    what are the reasons not hitting cache with above scenario??
    does cache created by administrator using ibot work for other users? we actually running whole query with no filters on it using admin and normal users run the same report with some filters on it. as per oracle cache strategy it should work but it's not.
    any help appreciated.
    Thanks
    Jay.
    Edited by: Jay on May 16, 2012 7:23 PM
    Edited by: Jay on May 17, 2012 5:42 AM

    Hi Jay,
    I have given some inputs.
    The way the OBIEE server creates the SQL (both logical and physical) for a request can be a bit funky sometimes, the cache seeding only really works in fairly simple cases. Does your request have a pivot table in it by any chance? These are notorious for not caching properly, if you look at the log for the request you can see why as the server adds this strange "aggregate by" to the request (why this can't be done at the presentation level since the only change you are asling for is in the presentation of the content is beyond me). Those "aggregate by"s tend to stop a request being a cache hit unless it is identical to the one that seeded that cache, any change in parameters, columns etc (even if a logical subset) will not get a cache hit.
    2. "Oracle BI Server Cache" Cache Seeding option present in Destination tab of Delivers -- Please check this option.
    3. Caching is one of the many approaches to improve performance but it's not a magic solution. You need to understand that you can't cache everything. In particular you won't be able to cache reports that are driven by parameters and have facts that are too granular and exceed the number of rows each cache entry can have. If your fact is of a small size then you can get around the parameters issue by caching a report without any filters. The BI Server should able to derive subsequent queries as long as they meet the cache hit criteria. Have a look at the administration manual for all the rules a cache hit must meet.
    Hope it helps.
    Thanks,
    Satya

  • Named Query Error

    Hi,
    I'm having trouble passing argument to a named query in the mapping workbench.
    Here is my SQL:
    SELECT COUNT(*) FROM VALID_PARTY_CLASSIF, CLASSIF_TYPE WHERE CLASSIF_TYPE.CLASSIF_TYPE_ID = VALID_PARTY_CLASSIF.CLASSIF_TYPE_ID AND CLASSIF_TYPE.CLASSIF_TYPE_ID = #ID
    and when I find and execute the query, getting following error
    Execute query ReadObjectQuery(com.amgen.bria.business.bizobject.ClassificationTypeBO)
    SELECT COUNT(*) FROM VALID_PARTY_CLASSIF, CLASSIF_TYPE WHERE CLASSIF_TYPE.CLASSIF_TYPE_ID = VALID_PARTY_CLASSIF.CLASSIF_TYPE_ID AND CLASSIF_TYPE.CLASSIF_TYPE_ID = ?
         bind => [56]
    Exception [TOPLINK-6044] (OracleAS TopLink - 10g (9.0.4) (Build 031018)): oracle.toplink.exceptions.QueryException
    Exception Description: The primary key read from the row [DatabaseRow(
         => 0)] during the execution of the query was detected to be null. Primary keys must not contain null.
    Query: ReadObjectQuery(com.amgen.bria.business.bizobject.ClassificationTypeBO)Local Exception Stack:
    Exception [TOPLINK-6044] (OracleAS TopLink - 10g (9.0.4) (Build 031018)): oracle.toplink.exceptions.QueryException
    Exception Description: The primary key read from the row [DatabaseRow(
         => 0)] during the execution of the query was detected to be null. Primary keys must not contain null.
    Query: ReadObjectQuery(com.amgen.bria.business.bizobject.ClassificationTypeBO)
         at oracle.toplink.exceptions.QueryException.nullPrimaryKeyInBuildingObject(QueryException.java:541)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:262)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:226)
         at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:344)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:498)
         at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:111)
         at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1968)
         at oracle.toplink.threetier.ServerSession.internalExecuteQuery(ServerSession.java:629)
         at oracle.toplink.threetier.ClientSession.internalExecuteQuery(ClientSession.java:392)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1096)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1065)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:966)
         at com.amgen.bria.persistence.module.toplink.TopLinkPersistenceService.internalExecuteQuery(TopLinkPersistenceService.java:137)
         at com.amgen.bria.persistence.PersistenceService.executeQuery(PersistenceService.java:97)
         at com.amgen.cma.persistence.service.ClassificationPersistenceService.findCustomerForClassifTypeCount(ClassificationPersistenceService.java:405)
         at com.amgen.cma.persistence.service.ClassificationPersistenceServiceTest.testFindCustomerForClassifTypeCount(ClassificationPersistenceServiceTest.java:193)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
    client released
    Please let me know if I am missing anything.
    Thanks
    Saket

    Saket, the problem is right here:
    ReadObjectQuery(com.amgen.bria.business.bizobject.Clas
    ificationTypeBO)
    When you read a an object mapping back, the primary key you have specified for that object mapping in Toplink has to be part of this search criteria (it is how it's stored in toplink's identity map/cache)
    Since you are only executing a 'select count(*)', it is erroring out
    HTH,
    Sean

Maybe you are looking for

  • Material Item Hierarchies in SRM 7.0

    Dear Experts, we are on PPS 3.0, SRM 7.0, Extended Classic scenario and using the MM-SUS scenario for sending POs from SRM to SUS via ECC and PI. The issue we are facing is the message mapping errors in PI, when  the PO from SRM contains a material i

  • Deadlock in java

    Hey Java Gurus, Help ! I have got this deadlock, while thread 58 is getting used by JRUN Process and thread 26 is my jsp page. In my jsp page we are using ResourceBundle. Looks like Thread 26 is waiting for JRunServletLoader which is already locked b

  • Quick Time Pro on Windows Partition

    Over the years, I have paid many QT Pro fees - and it has been worth the money. Now it seems that Apple should be giving me something; as you can tell by my profile that I am on an intel iMac running Leopard (which BTW runs great) - also, I installed

  • Subvi VI Properties - Dialog Open when required

     Hi, I have a subvi with Settings for my main vi.  Using an event structure, I am detecting value change to spawn dialog for the user  be  able to change settings like path to file etc. If not, I want defaults from that subvi to load automatically. I

  • T400 AT&T WWAN question

    I know this has been discussed already, but my searches couldn't find the info I needed. I have a T400 6475-B14 and I would like to be able to use it with an AT&T SIM. However I'm not sure if I need to install new hardware, or if my machine already h