You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Benjamin Graf (JIRA)" <ji...@apache.org> on 2014/01/13 08:55:50 UTC

[jira] [Commented] (GERONIMO-6513) Valid connection checker

    [ https://issues.apache.org/jira/browse/GERONIMO-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13869342#comment-13869342 ] 

Benjamin Graf commented on GERONIMO-6513:
-----------------------------------------

Example from OPENEJB for a ConnectionManagerFactory implementation: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/resource/GeronimoConnectionManagerFactory.java?view=markup

Inspired by Ironjacamar (http://www.ironjacamar.org/) Geronimo should enhance connector by three features: validateOnMatch, backgroundValidation, backgroundValidationMilliseconds. For a JDBC4 compliant driver it even does not depend on enhancing tranql first since Connection.isValid() can be used for testing!

> Valid connection checker
> ------------------------
>
>                 Key: GERONIMO-6513
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6513
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: connector
>    Affects Versions: Wish List
>            Reporter: Benjamin Graf
>
> It seems Geronimo lacks a valid connection checker to check if datasources are still valid. Might be first supported by tranql.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)