[jboss-jira] [JBoss JIRA] Reopened: (JBAS-3754) ExceptionSorter which marks all exceptions as fatal
Dimitris Andreadis (JIRA)
jira-events at jboss.com
Fri Nov 3 06:54:41 EST 2006
[ http://jira.jboss.com/jira/browse/JBAS-3754?page=all ]
Dimitris Andreadis reopened JBAS-3754:
--------------------------------------
Assignee: Weston Price
Same here, please re-apply on Branch_4_0 and tag as solved for 4.0.5.SP1, too, thanks!
> ExceptionSorter which marks all exceptions as fatal
> ---------------------------------------------------
>
> Key: JBAS-3754
> URL: http://jira.jboss.com/jira/browse/JBAS-3754
> Project: JBoss Application Server
> Issue Type: Patch
> Security Level: Public(Everyone can see)
> Components: JCA service
> Reporter: Brian Egge
> Assigned To: Weston Price
> Priority: Trivial
> Fix For: JBossAS-4.2.0.CR1
>
>
> With Sybase we've had a few occasions where the exception sorter does not properly detect a failed connection. We've found for our production servers the safest thing is to recycle the connection on any error. This class would also be useful if your JDBC provider doesn't have an existing exception sorter.
> ----
> package org.jboss.resource.adapter.jdbc;
> import java.sql.SQLException;
> /**
> * Mark all exceptions as fatal.
> *
> * @author <a href="mailto:brianegge at users.sourceforge.net">Brian Egge</a>
> */
> public class GenericExceptionSorter implements ExceptionSorter {
> public boolean isExceptionFatal(SQLException e)
> {
> return true;
> }
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list