You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "erich oliphant (JIRA)" <ji...@apache.org> on 2013/10/11 20:12:42 UTC

[jira] [Comment Edited] (LOG4J2-422) DriverManager for JDBC Appender should have argument for explicit Driver class

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

erich oliphant edited comment on LOG4J2-422 at 10/11/13 6:12 PM:
-----------------------------------------------------------------

Hi I'm using the Oracle JDBC driver with database 11g.  Driver Major version is 11, minor version is 2.  I did a lot of poking around.  The driver ojdbc.jar  does have the service provider stuff, but it's just not being picked up for some reason.  


was (Author: erich.oliphant):
Hi I'm using the Oracle JDBC driver with database 11g.  Major version is 11, minor version is 2.  I did a lot of poking around.  The driver ojdbc.jar  does have the service provider stuff, but it's just not being picked up for some reason.  

> DriverManager for JDBC Appender should have argument for explicit Driver class
> ------------------------------------------------------------------------------
>
>                 Key: LOG4J2-422
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-422
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Appenders
>    Affects Versions: 2.0-beta9
>            Reporter: erich oliphant
>            Assignee: Nick Williams
>
> I had a situation where the DriverManager was unable to properly load the jdbc driver (Oracle) via url resolution alone.  The DriverManager doesnt' currently allow you to explicitly specify the the driver.  I resolved my situation by creating my own that accepts a driver parameter, but it seems like this should be added to the core 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org