--- oguzhan tortop <[EMAIL PROTECTED]> wrote: > but commit is in finally block. so it runs on every > condition even if you return any value before it.
...but a duplicate key exception would happen on the commit, because Hibernate queues up its work, right? Unless you're running a commit in the action itself it's not going to throw until you commit in the interceptor. And when you commit you're returning the result of the action invocation, not Action.ERROR. d. ____________________________________________________________________________________ Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]