New natural-id features

Description

Added some new natural-id related features:

  1. Ability to perform a multi-load based on natural-id - see Session#byMultipleNaturalIds

  2. Easier application of compound natural-id values - see org.hibernate.NaturalIdLoadAccess#using(java.lang.Object...) and org.hibernate.NaturalIdMultiLoadAccess#compoundValue

  3. First implementation of proposed concept of event-less listeners - here, pre- and post- listeners for load-by-natural-id “events” but with no event object.

 

Environment

None
Fixed

Assignee

Steve Ebersole

Reporter

Steve Ebersole

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Major