protected void setUp() throws Exception { super.setUp(); connection = super.newConnection(); stmnt = connection.createStatement(); }
protected void setUp() { super.setUp(); try { connection = super.newConnection(); stmnt = connection.createStatement(); } catch (Exception e) { } }
public void setUp() { super.setUp(); try { openConnection(); } catch (SQLException ex) { throw new RuntimeException(ex); } }
protected void setUp() { super.setUp(); try { connection = super.newConnection(); statement = connection.createStatement(); } catch (Exception e) { System.out.println(e); } }
protected void setUp() { super.setUp(); try { Connection connection = super.newConnection(); Statement statement = connection.createStatement(); statement.execute("drop table time_test if exists"); statement.execute("drop table date_test if exists"); statement.execute("create table time_test(time_test time)"); statement.execute("create table date_test(date_test date)"); connection.close(); } catch (Exception e) { } }
public void setUp() { super.setUp(); setupDatabase(); }