sql - Driver to connect databse to java -


i have problem

i want data graphical interface , save them on sql file on netbeans , import sql fill graphical interface.

i have database ready

problem:

i have how sql java, , tried code, got exception

classnotfoundexception: mydriver.classname sqlexception: no suitable driver found jdbc:derby://localhost:1527/sample[app on app] build successful (total time: 1 second)" 

you need add connector jar of database classpath of project, stated in other answers.

with derby, jar same 1 runs database. explanation of how add jar classpath in netbeans.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -