On Sep 20, 11:03 am, Thomas Broyer <t.bro...@gmail.com> wrote:
> It's not a "the DAO then cares about problems of UI", it's just a shift in
> contract from "getX(i) returns a 'pointer' to X(i) but potentially gives you
> access to the whole database by following relationships" to "getX(i) gives
> you a snapshot of X(i), and only X(i)" (or "getX(i,props) gives you a
> snapshot of X(i) with its 'props' relationships being populated by snapshots
> of their values")

You're right. Hibernate should do this cleanup itself (you make the
mess, you clean it up), or at least provide an easy config option as
opt-in. I don't know what's the reason not to do it.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to