Hi Tino,
Tino Schöllhorn wrote:
Hi,
I want to change the used Proxy-Implementation of "some" of my
collections. So I have written a "MyProxyListImpl" class which
implements the CollectionProxy interface:
class MyProxyListImpl
extends ArrayList implements CollectionProxy {
// the 2 constructors.
}
Then I changed the collection-class-property of those collections which
should use this new proxy-class and set "proxy=true".
But as far as I can see this new proxy-implementation is not used. How
can I achieve that without changing the default Proxy-Implementation?
This isn't possible. You can specify the "ListProxyClass" in
OJB.properties, but it's not possible to declare specific proxy
implementations for each 1:n or m:n reference.
The "collection-class" attribute can only be used to specify the java,
non-proxy collection type of the reference.
regards,
Armin
We are using OJB 1.0.1.
With regards
Tino
P.S: Is there a release in sight? If not - is the trunk considered stable?
---------------------------------------------------------------------
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]