On Tuesday, September 20, 2011 10:04:41 AM UTC+2, Tiago wrote: > > If that's the only way, then I think I will implement it on my DAO > layer. I know, I know, the DAO shouldn't care about the problems of > UI, but at least there I can use Hibernate metadata to navigate > through each entity and filter Hibernate proxies recursively.
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 received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/vsRHJtP87ZcJ. 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.
