Monday, May 2, 2011

Re: With GWT, when exactly do you need DTOs for your entities ?

There is a catch however!

You cannot safely use CascadeType.MERGE with "ToMany" associations. If
you do, JPA will automatically delete the nullified collections when
you sent those entities back to the server.

On May 2, 1:45 pm, dmen <dmenou...@gmail.com> wrote:
> I do use the same approach, though with Spring MVC Controllers +
> XStream instead of GWT RPC.
>
> https://github.com/scumm/mojo/tree/master/mojo-dao/src/main/java/mojo...

--
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.

No comments:

Post a Comment