conn = DriverManager.getConnection(protocol + statDBName + ";create=false");\r
\r
conn.setAutoCommit(true);\r
- /*\r
- * Runtime.getRuntime().addShutdownHook(new Thread() {\r
- * \r
- * @Override public void run() { shutdownDBServer(); } });\r
- */\r
} catch (ClassNotFoundException e) {\r
log.error(e.getMessage(), e);\r
}\r
* @throws SQLException\r
*/\r
private void createStatTable() throws SQLException {\r
-\r
- /*\r
- * Creating a statement object that we can use for running various SQL\r
- * statements commands against the database.\r
- */\r
+ // Creating a statement object that we can use for running various SQL\r
+ // statements commands against the database.\r
Statement s = conn.createStatement();\r
String create = "create table exec_stat("\r
+ "number INT GENERATED ALWAYS AS IDENTITY,"\r
if (exist) {\r
date = res.getDate(1);\r
}\r
-\r
res.close();\r
st.close();\r
return date;\r