|
Yes.
New version
To ease your job, I've update the reproduction scenario originally provided by Koen Serneels, so that it uses the latest Hibernate release available here.
See attachment hibernate-evict-HIBERNATE-5.0.2.zip
It outputs the following error message, showing that this bug report is still relevant: Failed tests: testTheEvictIssueWitHibernate433Final(be.test.EvictTest): Non-entity object instance passed to evict : be.test.Child@35835e65
Don't be fooled by the test name: it actually uses 5.0.2.Final and not 4.3.3.Final.
List of changes against Koen Serneels version
-
upgraded spring version to 4.2.2.RELEASE (needed to get Hibernate 5.x support)
-
switched from org.springframework.orm.hibernate4. to org.springframework.orm.hibernate5.
-
upgraded hibernate version to 5.0.2.Final
-
set java compliance to 1.8
-
previous versions numbers remain in comments in the POM's properties section
Affected versions As previously stated by Koen Serneels, versions 4.3.3.Final, 4.3.9.Final until 4.3.11.Final are affected.
Isn't it inappropriate to say that 4.x is not supported anymore when tickets as this one have remained open for so long, without even getting some love from developers ?
|