public synchronized boolean testarConexao(Connection con) throws SQLException{
        boolean status = false;
        boolean conectado = false;
        
        if(KEEP_ALIVE){
            ResultSet rs = con.createStatement().executeQuery("select 1 from crlv");
            if(rs.next()){
                status = true;
                conectado = true;
            }
        }
        if(!conectado){
            try {
                abrirBanco(con);
            } catch (ClassNotFoundException ex) {
                Logger.getLogger(Database.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
        
        return status;
    }