| Well, if you just store the id (and entity name) in the session, then you
| totally circumvent the automatic optimistic locking capability of Hibernate
| (you'd be reading the current version number every time instead of just
| attempting to reattach the old object).

Well, I have to admit that I don't understand what the optimistic locking
feature has to do with the strategy issue :(
>From my understanding it should be possible to just store the id
to get a smaller session (but more database accesses for sure).

And could you please say what your persistence strategy can be used
for because I don't understand this either - thanks!
 
| Squeezers aren't used by the client persistence strategy, unfortunately.  

OK, and when _are_ they used? With @Persist? How can I see them
"in action"? ;)

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to