Hi Guys!

I'm getting this warnning message for a process I'm running, and it's
turning it extremally slow:

36703  IM  INFO   [main] openjpa.Query - This query on type "class
mi.NominaEmpleador" must load the entire candidate class extent and evaluate
the query in-memory.  This may be very slow.  The query must be executed in
memory because OpenJPA is configured with IgnoreCache=false and
FlushBeforeQueries=false and there are dirty instances that may affect the
query's outcome in the cache.


I'm getting this message inside a transaction that executes the query a lot
of times, giving me in consecuence the warning message tons of times. 

What should I do?  take into consideration that the dirty instances in
memory are important for the query. 

I added this into the persistence.xml properties:
<property name="openjpa.FlushBeforeQueries" value="true"/>
but the message still appears and the transaction is taking a lot of time to
be executed.

Hope you can point me in the right direction,

Thanks in advance!

Horacio A Antonelli
          
-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/Performace-Question-tp5343744p5343744.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to