Jens Mayer Messages: 19 Registered: September 2009 Location: Hamburg
Junior Member
Hi,
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.