Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.
/ bug-hibernate-treat Public archive

small project to demonstrate a bug in hibernate when joining an associated on a Join which has been down-casted with JPA 2.1 treat

License

Notifications You must be signed in to change notification settings

gilday/bug-hibernate-treat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hibernate-treat-bug

Small project which isolates a bug in Hibernate of versions at least 4.3.11.Final

# test fails due to hibernate bug using CriteriaBuilder#treat to downcast a Join then make a subsequent Join
mvn clean test

# upgrade Hibernate to 5.2.10.Final (the latest version as of writing) and the test passes 
mvn -Dhibernate.version=5.2.10.Final clean test

About

small project to demonstrate a bug in hibernate when joining an associated on a Join which has been down-casted with JPA 2.1 treat

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages