I tried to make a query using BETWEEN in JPQL, I already tested it in SQL and it works, but when I implemented in JPQL I got an error: Caused by: javax.persistence.PersistenceException: Exception […
Tag: eclipselink
JPA: @OneToMany(fetch = FetchType.EAGER), pagination and duplicates
I use eclipselink as a JPA provider. I have an entity Article which has many Authors (this field is marked @OneToMany(fetch = FetchType.EAGER)). Article and authors are loaded together using only one …