public static void cleanAll(String jdbcConn) {
        if (!dbInitialized)
            throw new RuntimeException("Could not load postgresql driver, could not store in db.");
        try {

            Connection conn = DriverManager.getConnection(jdbcConn);
            Statement st = conn.createStatement();
            st.execute("truncate hookconfig");
            st.close();
            conn.close();
        } catch (SQLException e) {
            throw new RuntimeException("Could not clean hookconfig table", e);
        }
    }