Somebody can explain to me for what this link: org.apache.derby.jdbc.ClientDriver
is necessary.
for example:
public class Demo1 {
public static void main(String[] args) {
String driverName = "org.apache.derby.jdbc.ClientDriver";
try {
// loaded the driver
Class.forName(driverName);
System.out.println("driver loaded");
String url = "jdbc:derby://localhost:1527/db1";
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
}
}