Re: QueryCacheImpl question

2010-10-20 Thread Mark Struberg
absolutely not clear to me why the 'params' are retrieved from a previously stored query. Any explanation? LieGrue, strub [1] https://issues.apache.org/jira/browse/OPENJPA-1845 --- On Tue, 10/19/10, Jeremy Bauer wrote: > From: Jeremy Bauer > Subject: Re: QueryCacheImpl q

Re: QueryCacheImpl question

2010-10-19 Thread Jeremy Bauer
ref_guide_conf_openjpa.html > > > --- On Tue, 10/19/10, Jeremy Bauer wrote: > > > From: Jeremy Bauer > > Subject: Re: QueryCacheImpl question > > To: [email protected] > > Date: Tuesday, October 19, 2010, 4:47 PM > > Hi Mark, > > > > Open

Re: QueryCacheImpl question

2010-10-19 Thread Mark Struberg
trub http://openjpa.apache.org/builds/2.0.0-M3/apache-openjpa-2.0.0-M3/docs/manual/ref_guide_conf_openjpa.html --- On Tue, 10/19/10, Jeremy Bauer wrote: > From: Jeremy Bauer > Subject: Re: QueryCacheImpl question > To: [email protected] > Date: Tuesday, October 19, 2

Re: QueryCacheImpl question

2010-10-19 Thread Jeremy Bauer
Hi Mark, OpenJPA has a query result cache (QueryCache) for caching full query results and a SQL query cache (QuerySQLCache) for caching SQL queries. You've disabled the QueryCache (which is actually disabled by default). I believe the bug you've hit is in the query SQL cache. Try disabling the q

QueryCacheImpl question

2010-10-19 Thread Mark Struberg
Hi! I have a problem with upgrading from OpenJPA-2.0.0 to 2.0.1. One of my services executes the following query (this is the 'id' I get in PreparedQueryCacheImpl#get(String id) ): SELECT distinct e FROM Employment em, Person e WHERE em.employeeId = e.employeeId and em.orgUnitCode = :orgUnitCo