We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I just found out that for entities with composite keys, the generated query fails. For instance:
@Entity @Table(name = "offices") public class Office implements Serializable { @EmbeddedId private OfficeId id; ... @Embeddable @EqualsAndHashCode public static class OfficeId implements Serializable { @Column(name = "entity") private String entity; @Column(name = "code") private String office; } }
This entity will generate the following query when using pagination:
select distinct count(distinct office0_.entity, office0_.code) as col_0_0_ from offices office0_
which obviously fails in Oracle since count does not support two arguments...
count
The text was updated successfully, but these errors were encountered:
I guess this is really a problem of JPA rather than this library...
Sorry, something went wrong.
No branches or pull requests
Hi,
I just found out that for entities with composite keys, the generated query fails. For instance:
This entity will generate the following query when using pagination:
which obviously fails in Oracle since
count
does not support two arguments...The text was updated successfully, but these errors were encountered: