Monday, October 18, 2010

Re: RequestFactory; nested POJO:s.

On 18 oct, 16:30, Johan Rydberg <johan.rydb...@edgeware.tv> wrote:
> We're using more of a document-style model than a JPA-style
> relationmodel.
>
> I'm wondering if it is possible to somehow put have nested proxies
> that does not have an "id" field.  In other words; proxies that
> are not real entities of their own.

That would be called "embedded" objets (in JPA world, JDO world,
Morphia world, Objectify world, SimpleDS, Twig Persist, etc.)

The feature has been postponed to a 2.1.1 release:
https://jira.springsource.org/browse/ROO-936

In the mean time, we'll try using wrappers on the server-side to
expose our "embedded" as "entities" (we use Morphia), with the ID
being mint from the parent entity's ID, and the version being the one
of the parent entity.
We have so much to do to migrate from M2 to RC1 that I cannot comment
yet on whether this approach works or not (our code doesn't compile
yet).

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate