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
Post a Comment