Hi,

I want to write in a database some objects (I know the mapping of those 
objects) and use long-transactions. However I can't rely on an 
implementation of the TimeStampable interface at the object level. This 
is why I tried to write a dynamic proxy that would implement the 
interface for those objects, but I can't figure out if JDO can deal with 
this and if so how.

If I do not change my mapping file, nothing works, and I have a message 
saying that there is no mapping defined for class $Proxy0. It looked a 
little bit on what is happening under the hood, and effectively the 
class name of the object built from the proxy is $Proxy0.

Next, I tried to add something like that to the mapping file: "<class 
name="$Proxy0"></class>" but it does not solve my problem too.

I am not having any problem when marshalling to XML so I cannot 
understand what's wrong...

Can anyone help me?

Thanks in advance.


Regards,
Jerome Bernard.

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to