JPA Entities and the Serializable Interface - indentation
This commit is contained in:
parent
ec09e1293f
commit
fe5ea96f76
|
@ -64,7 +64,8 @@ public class JPASerializableIntegrationTest {
|
||||||
entityManager.persist(account2);
|
entityManager.persist(account2);
|
||||||
|
|
||||||
List userAccounts = entityManager.createQuery("select a from Account a join fetch a.user where a.user.email = :email")
|
List userAccounts = entityManager.createQuery("select a from Account a join fetch a.user where a.user.email = :email")
|
||||||
.setParameter("email", email).getResultList();
|
.setParameter("email", email)
|
||||||
|
.getResultList();
|
||||||
assertEquals(2, userAccounts.size());
|
assertEquals(2, userAccounts.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue