Vote count:
0
I have this code below, where I use DriveManager to manage my database driver.
public static void main(String[] args)throws SQLException {
Connection con = new DriverManager.getConnection("jdbc:hsqldb:hsql://localhost/first-example","SA","");
}
But Im having an error with .getConnection()
, the error is:
Cannot find symbol
symbol: class getConnection
class: DriveManager
asked 34 secs ago
Cannot find symbol using DriverManager.getConnection()
Aucun commentaire:
Enregistrer un commentaire