We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9229ff7 commit 83d03b4Copy full SHA for 83d03b4
Unit15-JPA/src/unit15/jpa/Actividad22_Aplicacion/Main.java
@@ -17,10 +17,10 @@ public static void main(String[] args) {
17
EntityManager em = emf.createEntityManager();
18
String jpql = "SELECT m FROM Marinero m WHERE m.barco IS null";
19
Query query = em.createQuery(jpql);
20
- List<codigo.Marinero> marineros = query.getResultList();
+ List<Marinero> marineros = query.getResultList();
21
22
System.out.println("Marineros sin barco");
23
- for(codigo.Marinero m: marineros) {
+ for(Marinero m: marineros) {
24
System.out.println(m);
25
}
26
0 commit comments