Skip to content

Update to Hibernate 5.6.9.Final #2519

New issue

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

Closed
gregturn opened this issue May 3, 2022 · 2 comments
Closed

Update to Hibernate 5.6.9.Final #2519

gregturn opened this issue May 3, 2022 · 2 comments
Assignees
Labels
status: duplicate A duplicate of another issue type: dependency-upgrade A dependency upgrade type: task A general task

Comments

@gregturn
Copy link
Contributor

gregturn commented May 3, 2022

Hibernate 5.6.9.Final patches https://hibernate.atlassian.net/browse/HHH-15142, which caused anything after Hibernate 5.6.5.Final to break on custom finders that have "startsWith", "endsWith", or "contains" clauses, which used wildcards.

Several issues swirl around this patch, so we need to update as soon as its out.

@gregturn gregturn added type: dependency-upgrade A dependency upgrade type: task A general task labels May 3, 2022
@gregturn gregturn self-assigned this May 3, 2022
gregturn added a commit to spring-projects/spring-data-examples that referenced this issue May 3, 2022
Due to a bug in Hibernate (https://hibernate.atlassian.net/browse/HHH-15142), any Like-based custom finder will fail when submitted to the Entity Manager a second time.

This patch includes a workaround until Hibernate 5.6.9.Final is released.

See also: spring-projects/spring-data-jpa#2519, spring-projects/spring-data-jpa#2472

See #636.
@gregturn gregturn added the status: blocked An issue that's blocked on an external project change label May 16, 2022
@lmorocz
Copy link

lmorocz commented May 17, 2022

Hi @gregturn! Hibernate 5.6.9.Final was released yesterday.

gregturn added a commit to spring-projects/spring-data-examples that referenced this issue May 19, 2022
Due to a bug in Hibernate (https://hibernate.atlassian.net/browse/HHH-15142), any Like-based custom finder will fail when submitted to the Entity Manager a second time.

This patch includes a workaround until Hibernate 5.6.9.Final is released.

See also: spring-projects/spring-data-jpa#2519, spring-projects/spring-data-jpa#2472

See #636.
@gregturn
Copy link
Contributor Author

Duplicates #2583.

@gregturn gregturn added status: duplicate A duplicate of another issue and removed status: blocked An issue that's blocked on an external project change labels Sep 29, 2022
gregturn added a commit to spring-projects/spring-data-examples that referenced this issue Sep 29, 2022
Hibernate 5.6.9.Final resolves this issue, removing the need for the workaround.

Related: spring-projects/spring-data-jpa#2519, spring-projects/spring-data-jpa#2583
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue type: dependency-upgrade A dependency upgrade type: task A general task
Projects
None yet
Development

No branches or pull requests

2 participants