You mentioned that you had to use Class.foreName() for other drivers as
well. Possibly there is something in your setup that is suppressing the
driver auto loading.
Joel Bernstein
http://joelsolr.blogspot.com/
On Tue, May 31, 2016 at 8:30 AM, Vachon, Jean-Sébastien <
jvac...@cebglobal.com> wrote:
I am using Java 8 (JDK 1.8.091) and it’s an application layer on top of
Solr 6 using SolrJ.
Here is the section of my pom.xml
org.apache.solr
solr-solrj
6.0.0
I had to manually load the driver
(“org.apache.solr.client.solrj.io.sql.DriverImpl")
to
The driver is included in /META-INF/services/java.sql.Driver. So if you're
using JDBC 4.0, the driver should be autoloaded.
What version of java are you running?
Joel Bernstein
http://joelsolr.blogspot.com/
On Fri, May 27, 2016 at 8:16 PM, Vachon, Jean-Sébastien <
jvac...@cebglobal.com> wrote:
Never mindŠ I had to load the class just like any database driver:
Class.forName("org.apache.solr.client.solrj.io.sql.DriverImpl").newInstance
();
On 2016-05-27, 2:59 PM, "Vachon, Jean-Sébastien"
wrote:
>Hi All,
>
>
>
>I am trying to use Solr¹s JDBC driver in Java and I¹m stuck with the
>fo