Hi,

Maxim Kuleshov wrote:
Hello!

Most of the times I prefer to use proxying of collections, but in contrast, for certain requests I need no proxying at all.

Is there any method to create such custom query?

Sorry no. The proxy setting are global and changes will affect all other threads/user too. The thing that comes to my mind is to use different repository mapping profiles (one with proxy enabled, other with proxy settings disabled). Then load the none proxy mapping profile, lookup the PB instance, perform the query, close the PB, reset the default mapping profile.

http://db.apache.org/ojb/docu/guides/metadata.html#Per+thread+metadata+changes
http://db.apache.org/ojb/docu/guides/metadata.html#Object+metadata+profiles


regards,
Armin


Thanks in advance.

---------------------------------------------------------------------
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