private Connection getConn() {
        Connection conn = null;
        try {
            Class.forName("com.mysql.jdbc.Driver").newInstance();
            try {
                conn = (Connection) DriverManager.getConnection(this.url, this.usuario, this.senha);
            } catch (SQLException ex) {
                Logger.getLogger(ConectorMySql.class.getName()).log(Level.SEVERE, null, ex);
            }
        } catch (ClassNotFoundException |
                InstantiationException |
                IllegalAccessException ex) {
            Logger.getLogger(ConectorMySql.class.getName()).log(Level.SEVERE, null, ex);
        }
        return conn;
    }