db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Minar <iimi...@gmail.com>
Subject Re: How to use Derby Drivers
Date Sat, 03 Mar 2007 09:53:11 GMT
make sure that derby.jar (embedded driver) or derbyclient.jar  
(network) is in your classpath, then for embedded version simply call:

Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
DriverManager.getConnection("jdbc:derby:/path/to/your/db");

for network version load appropriate class and modify the url  
according to manual

cheers,
i


On Mar 3, 2007, at 5:55 AM, nutan lade wrote:

> Can u please solve these problem.When i am trying to use the driver  
> Derby i am getting an error saying that ClassNotFoundExeception.So  
> how to load these driver while using netbeans 5.5.
>
> -- 
> Nutan Kumar Lade


Mime
View raw message