Are you worried about optimistic locking at all?  (I'm guessing not
for this simple example)  Although I think your technique is clever,
in a situation where optimistic locking is used, you should really be
editing the object that was originally read from the database.  Might
I suggest the scope plugin.  :)

I'm not sure we'd want to introduce optimistic locking in a simple
example--although it would be good to have one example that uses it.
Tom

On Nov 15, 2007 2:54 AM, Ted Husted <[EMAIL PROTECTED]> wrote:
> I'm starting to make some progress on this again. I having great fun
> re-discovering how some of the S2 features work together. For example,
> custom type converters and "persistence URL parameters" are a great
> "tag team". Given a converter for "user", and a parameter like
> "?user=husted", S2 can automatically restore the "husted" user from
> the database, and any other url tags on the result page are also
> automatically embellished with "?user=husted" again.
>
> Though, there's more to do, since the JPA merging isn't working quite
> right yet. :(
>
> -Ted.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to