[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 12:29:51 EST 2007


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

Ah! Ok I see the problem. You should read this:
http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html#SEC4

i.e. You need to include all the verbage like at the top of the original checker:

"
/*
 * JBoss, Home of Professional Open Source.
 * Copyright 2006, Red Hat Middleware LLC, and individual contributors
 * as indicated by the @author tags. See the copyright.txt file in the
 * distribution for a full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

package org.jboss.resource.adapter.jdbc.vendor;
"

> 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