[ 
https://issues.apache.org/jira/browse/SOLR-10105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Risden reassigned SOLR-10105:
-----------------------------------

    Assignee:     (was: Kevin Risden)

> JDBCStream should be able to load driver from runtime lib
> ---------------------------------------------------------
>
>                 Key: SOLR-10105
>                 URL: https://issues.apache.org/jira/browse/SOLR-10105
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Parallel SQL
>            Reporter: Noble Paul
>            Priority: Minor
>         Attachments: SOLR-10105.patch
>
>
> Currently the JDBCStream uses Class.forName() to load the driver class. This 
> should be improved to try to use the classloader from runtimeLib and the blob 
> store API like SOLR-10087. It may be possible to do something like 
> Class.forName(driverClassName, true, core.getMemClassLoader()) just need to 
> figure out how to get a reference to the core.
> The relevant code is here:
> https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/JDBCStream.java#L180



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to