Advertisement
joseleonweb

Untitled

May 4th, 2021
687
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1. ObjectSet<Persona> set =
  2.     db.queryByExample(new Persona(null, "A", 0));
  3.     //db.queryByExample(new Persona(null, null, 30));
  4.     //db.queryByExample(new Persona(null, null, 0));
  5.  
  6.     for (Persona p : set) {
  7.         System.out.println(p.nom);
  8.         db.delete(p);
  9.    }
  10.  
  11.     db.close();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement