[jboss-jira] [JBoss JIRA] Commented: (JBAS-5035) MySQLValidConnectionChecker has driver name com.mysql.jdbc.Driver hard coded

Adrian Brock (JIRA) jira-events at lists.jboss.org
Tue Dec 4 11:36:51 EST 2007


    [ http://jira.jboss.com/jira/browse/JBAS-5035?page=comments#action_12390491 ] 
            
Adrian Brock commented on JBAS-5035:
------------------------------------

First, can you add a header that says you license it under the LGPL. Thanks. ;-)
You can just use the standard one which says it is copyrighted according to the @authors tag.

I see you copied the same bug from the original checker.
The class says it is serializable but java.lang.reflect.Method is not serializable
so serialization is broken. ;-)

Otherwise it looks ok.

> MySQLValidConnectionChecker has driver name com.mysql.jdbc.Driver hard coded
> ----------------------------------------------------------------------------
>
>                 Key: JBAS-5035
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5035
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: JCA service
>    Affects Versions: JBossAS-4.0.5.GA, JBossAS-4.2.0.GA
>         Environment: Any
>            Reporter: Luc Boudreau
>            Priority: Minor
>         Attachments: MySQLValidReplicationConnectionChecker.java
>
>          Time Spent: 1 hour
>  Remaining Estimate: 0 minutes
>
> The JCA MySQLValidConnectionChecker class has the driver name com.mysql.jdbc.Driver hard coded which prevents it from using any other driver class provided by the standard MySQL library. A good example of this is the replicated driver, which uses class com.mysql.jdbc.ReplicationDriver.

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