private void TestSelect() throws SQLException { SQL = "SELECT * FROM UNIT"; if (dbTransaction.Select(SQL)) { dbTransaction.PrintResultSet(); } else System.out.println(dbTransaction.getError()); }
@SuppressWarnings("unused") private void TestInsert() throws SQLException { SQL = "UPDATE SENSOR SET Value = 'Temperatura' WHERE Id = 4"; if (dbTransaction.Execute(SQL)) { TestSelect(); } else System.out.println(dbTransaction.getError()); }