How to handle constraint violations in session per request pattern?

1 view
Skip to first unread message

che

unread,
Jan 16, 2009, 2:19:54 AM1/16/09
to nhusers
In session per request pattern, session is flushed and transaction
committed at the end of the request? How do I handle unique or check
constraint violations during the request? In my old applications, I
would simply catch constraint violation exceptions and then show
appropriate error message to the user.
Reply all
Reply to author
Forward
0 new messages