You're right!! That's what it was.
And I can see now that the class has been removed from the newer derby
jars, it has a new class AutoLoadedDriver but that never worked.
So glad you helped point this out!
Thanks!
On Sat, Mar 14, 2020, 5:10 PM Alarcón Vladimir <vla...@ya...>
wrote:
> What version of the driver are you using? The one showed in the email is a
> little bit old nowaday, but works fine. I tried the latest one and doesn't
> work for me either. Maybe they changed the driver class.
>
> Try using the exact version I said first. If it works, then you can try
> another version.
> On Friday, March 13, 2020, 08:06:47 PM EDT, solarflow99 <
> sol...@gm...> wrote:
>
>
> I tried that and this is the error it gives:
>
> Could not find class org.apache.derby.jdbc.ClientDriver in neither the
> Java class path nor the Extra class path of the aaa driver definition:
> java.lang.ClassNotFoundException: org.apache.derby.jdbc.ClientDriver
>
> I wonder if its some kind of java problem..
>
>
> On Thu, Mar 12, 2020 at 3:31 PM Alarcón Vladimir <
> vla...@ya...> wrote:
>
> I don't place the driver in the class path, and it works solid for me
> since forever. Steps are:
>
> 1. Create a new driver, in the "Drivers" vertical tab (I don't use the
> existing one):
>
> * Add a name such as: "Apache Derby 10.13.1.1 Driver"
> * In the "Extra Class Path" tab, "Add" the driver
> "derbyclient-10.13.1.1.jar" (or other version).
> * In the "Class Name" I put: org.apache.derby.jdbc.ClientDriver
> * Fill the Example URL with: jdbc:derby://<host>:1527/<database>
>
> 2. Create a new Derby Connection, using the driver you just created:
>
> * Name: <your connection name>
> * Driver: <the driver you just created>
> * URL: jdbc:derby://192.168.12.346:1527/mydatabase1
>
> The rest is trivial. Just test it and should work.
> On Thursday, March 12, 2020, 06:16:50 AM EDT, John English <
> joh...@gm...> wrote:
>
>
> On 11/03/2020 02:37, solarflow99 wrote:
> > Hi, thanks that s good you pointed that out.
> >
> > For some reason though the drivers are still all in red, even after I
> > copied the jar to squirrels lib directory.
>
> I think that you also need to add it to the Squirrel classpath.
>
>
> --
> John English
>
> --
> This email has been checked for viruses by AVG.
> https://www.avg.com
>
>
>
> _______________________________________________
> Squirrel-sql-users mailing list
> Squ...@li...
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
>
>
|