Skip to content

Unit test to demonstrate problem in Hibernate when using a query with fetch graph on entity containing embedded component.

Notifications You must be signed in to change notification settings

laurensb/hibernate-component-entitygraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unit test to demonstrate problem in Hibernate when using a query with fetch graph on entity containing embedded component.

Running this test using Maven with default profile

mvn verify

will result in queryUsingFetchGraph failing. However running this test using EclipseLink

mvn -Peclipselink verify

will pass both tests.

The problem seems to originate in EntityGraphQueryHint which handles entity types and collection types, but not component types. Compare this to LoadQueryJoinAndFetchProcessor which handles all 3.

About

Unit test to demonstrate problem in Hibernate when using a query with fetch graph on entity containing embedded component.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages