Try to flush then Hibernate Session. It will make things happen in the
database immediately.
HTH,
Olle
2008/11/21 Angelo Chen <[EMAIL PROTECTED]>
>
> good question, I like to know too.
>
>
> César Lesc wrote:
> >
> > Hi, i am learning how to use the @CommitAfter annotation, but i want
> > to cat
good question, I like to know too.
César Lesc wrote:
>
> Hi, i am learning how to use the @CommitAfter annotation, but i want
> to catch the exception when the database does not allows to delete a
> record and thus to show the user a friendly messages like "X can't be
> deleted, check if it is
Hi, i am learning how to use the @CommitAfter annotation, but i want
to catch the exception when the database does not allows to delete a
record and thus to show the user a friendly messages like "X can't be
deleted, check if it is not being in use in Z", or other messages
based on the hibernateEx