Bogdan Mihaila wrote:
Hello!
I'm trying to load the embedded derby driver, like this:
Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance();
As Rajesh pointed out, the problem is most likely the CLASSPATH. If you
still have problems, please send the complete exception, including stack
trace, as this helps to figure out the problem.
By the way, you don't need the '.newInstance()' part - simply loading
the driver class will set up the Derby system.
--
Øyvind Bakksjø
Sun Microsystems, Web Services, Database Technology Group
Haakon VII gt. 7b, N-7485 Trondheim, Norway
Tel: x43419 / +47 73842119, Fax: +47 73842101