Code example for Connection

Methods: closecreateStatementgetMetaData

0
    } 
 
    public void tearDown() throws Exception { 
        try { 
            conn = Support_SQL.getConnection();
            meta = conn.getMetaData();
            statement = conn.createStatement();
            deleteTestTables(); 
        } catch (SQLException e) {
            System.out.println("Error in teardown: "+e.getMessage());
        } finally { 
            try { 
                conn.close();
            } catch (SQLException e) {
            } 
        } 
        super.tearDown(); 
    } 
 
    private void createTestTables() { 
Connect your IDE to all the code out there  Get Codota for Java