I can successfully use:

   DB -> JDO -> detach object ->
java.io.ObjectOutputStream.writeObject() -> tomcat ->
commons-httpclient -> java.io.ObjectInputStream.readObject() ->
object.getTitle()


I am now trying to use hessian:
   DB -> JDO -> detach object -> HessianServlet -> tomcat ->
HessianProxyFactory -> object.getTitle()

but I get the following error:

Exception in thread "main" javax.jdo.JDODetachedFieldAccessException:
You have just attempted to access field "title" yet this field was not
detached when you detached the object. Either dont access this field,
or detach the field when detaching the object.

When I set factory.setDebug( true ); it looks like all the data is
coming across the wire.

Are there any known problems with Hessian and JDO enhanced objects ?


-Thanks
Steve More


_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest

Reply via email to