Regular |
|
Joined: Tue Jan 06, 2004 3:32 pm Posts: 80 Location: Munich, Germany
|
Hello everyone,
When the proxy of a persistent class is being serialized (for example because it is contained in a HTTPSession), the de-serialization fails because the serialization mechanism cannot instantiate the proxy again.
Is the only way to serialize/de-serialize a persistent class by making sure that I don't serialize a proxy instead?
Or can I somehow tell Hibernate or the Proxies to serialize that data exactly as if the proxied class was serialized, including the class name?
How do Proxies and Serialization live together?
Regards,
Andreas
|
|