Daniel Mertins (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiYTgxMmQ4N2Jm...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16231?atlOrigin=eyJpIjoiYTgxMm...
) HHH-16231 (
https://hibernate.atlassian.net/browse/HHH-16231?atlOrigin=eyJpIjoiYTgxMm...
) Bug for 1:n with abstract entities - random console output - application stuck (
https://hibernate.atlassian.net/browse/HHH-16231?atlOrigin=eyJpIjoiYTgxMm...
)
Issue Type: Bug Affects Versions: 6.1.7 Assignee: Unassigned Attachments:
grafik-20230226-104633.png Components: query-criteria Created: 26/Feb/2023 02:48 AM
Environment: Spring Boot 3 / JPA Jakarta / Hibernate 6+ Priority: Critical Reporter:
Daniel Mertins (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
I tried to setup a unit test with h2-db and the new spring boot 3.
(
https://hibernate.atlassian.net/secure/attachment/50231/50231_grafik-2023...
)
Starting the tests results in 100+% CPU and random console output.
openjdk 17.0.5 2022-10-18
OpenJDK Runtime Environment (build 17.0.5+8-Ubuntu-2ubuntu120.04)
OpenJDK 64-Bit Server VM (build 17.0.5+8-Ubuntu-2ubuntu120.04, mixed mode, sharing)
There is a dependency with Collection of Abstract Entities. If i remove the
Collection<Abstract> then everything work fine again.
*Example-Test Repository to checkout for yourself:*
https://github.com/mertins-codamic/hibernate-3-bug (
https://github.com/mertins-codamic/hibernate-3-bug )
(
https://hibernate.atlassian.net/browse/HHH-16231#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16231#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100217- sha1:077879e )