Thanks Patrick!

On 9/22/05, Patrick Casey <[EMAIL PROTECTED]> wrote:
>         I don't think so. In a per-session model you can do a
> fetch->detach->validate->merge pattern which means that your writes don't
> persist if you fail validation. With the long-session model you can't do
> that detach step (or you are no longer in session) so you end up writing
> direct into the persistent entity.

Why are you detaching your hibernate objects? I never do. I just flush
the session after each request and reattach some at each request
(that's where the ugly code is...)

Pete: about form submission, we are using the plain Tapestry
validation model. It is very customizable.

I'm definitely going to look for a two session model with sessions
bound to visits and per-request sessions for page data.

Thanks,

Henri.

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

Reply via email to