On Monday 27 October 2003 00:25, Antonio Gallardo wrote:
> Oleg Nitz dijo:
> > On Sunday 26 October 2003 23:12, Antonio Gallardo wrote:
> >> Can this work with JDO?
> >
> > Yes, this is done at the PB level, therefore works for ODMG, OTM and
> > JDO.
>
> I tried it, and it works:
>
> <descriptor-repository version="1.0" isolation-level="read-uncommitted"
> proxy-prefetching-limit="50">
>
> ...
>
> </descriptor-repository>
>
> Is that the correct way?

Yes. And now this is equivalent to 

<descriptor-repository version="1.0" isolation-level="read-uncommitted">

i.e. proxy prefetching is turned on by default and the default limit is 50.
One can use the "proxy-prefetching-limit" attribute to change this setting, 
e.g.

<descriptor-repository version="1.0" isolation-level="read-uncommitted"
     proxy-prefetching-limit="200">

will set the limit to 200, 

<descriptor-repository version="1.0" isolation-level="read-uncommitted"
     proxy-prefetching-limit="0">

will turn proxy prefetching off by default (however, this can be overriden by 
setting "proxy-prefetching-limit" to non-zero value for some classes and 
relations).

Regards,
 Oleg

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

Reply via email to