Click here to Skip to main content
       

Java

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
Questionproblem in running derby databasememberMember 858607221 Dec '12 - 2:38 
I've got this exception after running my project
Really don't know what to do!
SQLException: No suitable driver found for jdbc:derby://localhost:1527
I've add derbyclient.jar to Library.but I didn't get any different result.I also don't want to create a new database.
I wasn't able to attach it here but here are two links to download project files.
source:
http://bia2internet.com/dl/java/java.zip
database:
http://bia2internet.com/dl/java/db.zip
AnswerRe: problem in running derby databasememberTorstenH.22 Dec '12 - 1:29 
You might have to add the derbyclient.jar to the build, so it can be accessed at runtime.
 
to create a new database you need to tell derby so:
 
jdbc:derby://localhost:1527/dbname;create=true
 
Please also check out the Derby Documentation and Quick Start Guide:
 
http://db.apache.org/derby/quick_start.html[^]
 
Derby is well documented and works fine. Best choice for integrated databases.
 
Have fun.
regards Torsten
When I'm not working

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 25 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid