Renaming package/classes breaks Hibernate annontations 3.2.0CR1

Description

After upgrading from Hibernate Core 3.2cr2 to Hibernate Core 3.2cr3, building a sessionfactory with Hibernate Annotations fails completely with the following error:
NoClassDefFoundError: org/hibernate/loader/custom/SQLQueryReturn

Apparantly this class has been moved to a new package between these to releases. This is strictly not a bug in the common sense as I assume it will be fixed in the next Hibernate Annotations 3.2 candidate release , but it is a reminder to the team that moving classes between to Candidate Releases is not a good practise as people expect the API to be "frozen" when a project reaches CR status.

This error is also described on the following blog post: https://izvin.bountysource.com/news/show/98

Environment

Hibernate 3.2CR3, Mssql2005

Activity

Show:
Max Rydahl Andersen
August 10, 2006, 3:24 PM

this part of hibernate is not public api so there is no "illegal" change.

annotations docs explicitly mention what versions they work with.

Assignee

Unassigned

Reporter

Sondre Eikanger Kvalø

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure