Re: Hibernate and S2

2007-06-23 Thread Mansour
Jeromy Evans wrote: Mansour wrote: An alternative approach is that you don't allow persistent entities to be modified within your actions whatsoever and all updates are applied behind a service layer that performs reattachment and updates. How do I do this (reattachment and updates)? Assuming

Re: Hibernate and S2

2007-06-22 Thread Jeromy Evans
Mansour wrote: An alternative approach is that you don't allow persistent entities to be modified within your actions whatsoever and all updates are applied behind a service layer that performs reattachment and updates. How do I do this (reattachment and updates)? Assuming I have a very big a

Re: Hibernate and S2

2007-06-22 Thread Mansour
Jeromy Evans wrote: Let me re-articulate my interpretation of what you've done: You load an entity E with say 4 properties (a, b, c, and d) from persistence and render a view based on it. The persistence session is closed. In a new thread, the user submits an update that affects only two prop

Re: Hibernate and S2

2007-06-22 Thread Jeromy Evans
Let me re-articulate my interpretation of what you've done: You load an entity E with say 4 properties (a, b, c, and d) from persistence and render a view based on it. The persistence session is closed. In a new thread, the user submits an update that affects only two properties of the entity