Skip to content

Test case to reproduce the regression related to EAGER when used with native query

Notifications You must be signed in to change notification settings

unipa/Hibernate-Native-Query-EAGER-regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hibernate ORM 6.x Regression with FetchType.EAGER

Since Hibernate ORM 6.x the FetchType.EAGER raises the following error when called from native queries

could not initialize proxy [org.hibernate.domain.Building#0] - no Session

Using the same @Entity with hibernate createQuery(), everything works as expected

About

Test case to reproduce the regression related to EAGER when used with native query

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages