|Riena with Hibernate on serverside [message #583594]
||Tue, 29 September 2009 14:43
| Jens Mayer
Registered: September 2009
actually i'm writing a small example-app with riena remote services and hibernate as ORM-Framework on the serverside.
My first approach was to reuse the entity-classes on client-side (making hibernate-dependencies optional). Seems not to be a good idea - the hessian deserializer throws an LayzyInitializationException when it tries to deserialize hibernate-proxy-classes, because there's no PersistenceContext available on the client-side. :?
What might be the best practice for this case ?
Thanks in advance,
Powered by FUDForum
. Page generated in 0.02120 seconds