Joel Rosi-Schwartz Messages: 624 Registered: July 2009 Location: London. England
Senior Member
I am trying to set up EclipseLink to access a Derby embedded database
using the EmbeddedDriver. I keep on getting this exception:
No suitable driver found for
jdbc:derby:H:/jotter/database/prova4derek;create=true
I am using the Orbit Derby bundle, but when things when I could not
connect I copied in the derby.jar instead to make sure that it was not
a problem with the way I was using the Orbit bundle. Both give me
identical errors.
As a sanity check I have ran the same URL from within the Derby ij
console and it works as expected.
So what am I missing? Your advice would be greatly appreciated.
Joel Rosi-Schwartz Messages: 624 Registered: July 2009 Location: London. England
Senior Member
After a bit more investigation I found that even though I was getting
this exception my connection to the database was in fact successful.
So I am wondering why the original warning and underlying the exception.
Here is an excerpt of the Eclipselink output during start up:
All the best,
Joel
--
Joel Rosi-Schwartz
Etish Limited [http://www.etish.org]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^...^
/ o,o \ The proud parents of Useme
|) ::: (| The Open Requirements Management Too
====w=w==== [https://useme.dev.java.net]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~