My license does not expire until June. But I found that I can’t register the sql server driver.
Every time you run to “Class.forName (” com.microsoft.sqlserver.jdbc.SQLServerDriver “);” it stops running
public Database(){
listAccount = new ArrayList<DataAccount>();
listDevice = new ArrayList<DataDevice>();
listBasic = new ArrayList<DataBasic>();
listPile = new ArrayList<DataPile>();
listMeas = new ArrayList<DataMeas>();
try{
Class.forName(“com.microsoft.sqlserver.jdbc.SQLServerDriver”);
connection = (Connection)DriverManager.getConnection(URL,USER,PASSWORD);
} catch (ClassNotFoundException e) {
e.printStackTrace();
} catch (SQLException e) {
e.printStackTrace();
}
}
Attachments:
You must be
logged in to view attached files.