Ravi wrote:
I can now reproduce your issue.
It's "caused" by a feature "query prefetching" added to OJB between version 0.98 and 1.0rcX. I'm not familiar with the source code of this feature. Currently the prefetching of references can only be suppressed by changing class QueryReferenceBroker, set line 75
batchRetrieval = false;
After this your test should pass.
I will add a bug report to jira ASAP.


Thanks Armin

I set batchRetrieval to false and my tests pass. Does this significantly affect performance?


First, it seems you have to set
batchRetrieval = false;
prefetchProxies = false;
(If only batchRetrieval is set 'false', the OJB test-suite doesn't pass)

To tell the truth I don't know. This feature was not implemented by me,
so I don't know about any performance comparison test results.
If I run the OJB test-suite with settings on and off the performance decrease (for 'off') was between 4-30% (but it's against hsql-in-memory database, the result for a 'real' DB will be differ).

regards,
Armin


Regards

Ravi





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to