geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Graf (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6513) Valid connection checker
Date Mon, 13 Jan 2014 07:55:50 GMT

    [ 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)

Mime
View raw message