Hi, It really looks like similar issues with Hibernate entities (failure on GWT serialization). The solution I implemented on Gilead library (http:// gilead.sourceforge.net) is based on beanlib, that clones your entities to make them acceptable to GWT serializer.
Hope this helps Bruno On 14 fév, 13:18, Prempena <[email protected]> wrote: > Hi, > > I would like to be able to use JDO objects, persisted by Datanucleus, > directly in the GWT client, after the class has been serialized from > the server to the client via the GWT serialization mechanism. > > It works fine when working with transient JDO objects. I'm able to > move the object back and forth between the client and the server > without any issue. > > Unfortunately, when the class is tagged as detachable (with the goal > to allow the update of the object in the datastore when coming back to > the server), the GWT Serialization doesn't work, due to some objects > added by the enhancement process: Object[] jdoDetachedState. > > Of course, I would like to avoid JDO Object copy to a POJO > serializable by GWT: it is waste of time and painful to do. > > Any Idea to help me to find a solution or a workaround to solve this > issue? > > Thanks in advance, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
