openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject Re: Is not supported by remote interface??
Date Mon, 04 Aug 2008 03:39:09 GMT

  > Looks like OpenJPA is subclassing the java.util.Date class so what's
passed is actually not the simple data type you're expecting but  rather an
instance of$util$Date$proxy 

  You are right. OpenJPA proxies all mutable second class types [1] so that
any change in their state while they are remoted can be tracked and hence
can later be merged to a different persistence context.

> It looks like a dynamically generated class,  
  Yes. These proxy classes are dynamically generated. 

> It seems that they can not be passed over the remote  interface.

These dynamic proxies can be transmitted over the wire. If the remote
process has access to openjpa.jar then these classes should work as well in
the remote process without any explicit user level knowledge.

> Can i do anything to make it work??

The most obvious solution is to make openjpa.jar available to the Swing
If that is not possible then consider custom proxy [2] [3]. 


View this message in context:
Sent from the OpenJPA Developers mailing list archive at

View raw message