Code example for Connection

Methods: createStatement

0
        run(sql); 
    } 
 
    @Override 
    public boolean shouldRunTests(Connection cx) throws SQLException { 
        Statement st = cx.createStatement(); 
        try { 
            try { 
                st.execute("SELECT spatialite_version()"); 
            }  
            catch (SQLException e) { 
                return false; 
            } 
        } 
        finally { 
            st.close(); 
        } 
         
        return true; 
    } 
Connect your IDE to all the code out there  Get Codota for Java