you are right. That's the reason of using OSIV, although these two concepts are somewhat related to each other. I mean, when you are not using OSIV, you have to collect all the data you want to display on the presentation tier within a facade, for example. One possiblity is then to (Hibernate-)initialize all needed entities and expose the domain model to the presentation tier, the other one is using DTOs that carry the data.
igor.vaynberg wrote: > > no, the point of osiv is that you can use the beans you loaded even > after the transactions has ended without getting lazyload exceptions. > it has nothing to do with writing changes or not having to use dtos. > Anyway, igor.vaynberg wrote: > >> map a form to a bean and apply the changes to the entity yourself > is quite the same as writing DTOs, isn't it? -- View this message in context: http://www.nabble.com/OpenSessionInView-%28OSIV%29%2C-LoadableDetachableModel-and-Transactions-tp18115802p18140832.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
