openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <>
Subject Re: Proxy all types
Date Wed, 23 Mar 2011 13:32:46 GMT
Hi Todd,

In theory you can define your own
creates the appropriate proxy classes. I haven't tried it out myself,
and I think some of it doesn't work as advertised (e.g. TrackChanges on the
default ProxyManager), but it might be a good starting point.

This area of the code needs some work, but if there's renewed interest we'll
try to help.


On Tue, Mar 22, 2011 at 7:29 PM, Todd Nine <> wrote:

> Hi all,
>  I've run into an issue I can't seem to solve using the default Proxy
> mechanism in Open JPA.  For building indexes in Cassandra, I need to
> store both the value at load time, and the current value via a proxy for
> any field.   I know the proxy has the change tracker, but that does not
> contain a pointer to the original value.  How can I go about creating a
> custom proxy that will automatically be injected by Open JPA when an
> Entity is saved or loaded?
> Thanks,
> Todd

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message