-
Notifications
You must be signed in to change notification settings - Fork 92
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
Hibernate Entity containing elementcollection of embeddables having embeddable crashes in HibernateJpaProvider #1886
Comments
Thanks for the report. We'll try to look into this as soon as possible. |
any updates here? @beikov |
for my applications this line instead of return fixed the problem: |
Small hotfix for Blazebit#1886
FYI, we are using hibernate 6.6.1, sb 3.3.5 and also using ElementCollection and we have no issues here with 1.6.13 (of course) |
@rmschots can you please check and report back if 1.6.14-SNAPSHOT fixes the problems you encountered? |
@beikov just checked. Works with 1.6.14-SNAPSHOT. Thanks |
Thanks for confirming. |
Description
In a spring boot environment, when creating an entity with an elementcollection of embeddables that have an embeddable, I'm getting an error when running the application.
I encounter this error when creating a project from the spring boot archetype, and adapting it to spring boot 3.2.4, replacing javax with jakarta, and creating a simple entity structure:
Expected behavior
The blaze persistence should allow this kind of structure without crashing
Actual behavior
debug details right before the crash:
Steps to reproduce
check out my sample repo and run the application:
https://github.com/rmschots/blaze-persistence-demo
Environment
Version: 1.6.11
JPA-Provider: Hibernate 6.4
DBMS: H2
Application Server: Spring boot 3.2.4
FYI: I had the same problem when I was using Spring 3.1 and Hibernate 6.2
The text was updated successfully, but these errors were encountered: