Unify native and JPA implementations of Hibernate event listeners

Description

Since implementing JPA Hibernate has defined 2 sets of implementations of many of its event listener contracts: one for native behavior, one for JPA-defined behavior. Consolidate this into a single set.

Environment

None

Activity

Show:
Andrei Arkaev
June 27, 2018, 5:21 AM

And no words in migration guide about this breaking change. Many people uses JpaIntegrator

Guillaume Smet
June 27, 2018, 9:00 AM

I see this one as marked for 6 only. Are you trying 6?

Andrei Arkaev
June 27, 2018, 9:04 AM

I see this commit in 5.3.1 at least

Guillaume Smet
June 27, 2018, 9:43 AM

thanks for raising your concern. I created https://hibernate.atlassian.net/browse/HHH-12742 .

Andrea Boriero
July 13, 2018, 10:17 AM

Hi ,

having integrated JPA and Hibernate listeners the JpaIntegrator is no longer needed.

In case you have a class extending it you should change it to implement the 'org.hibernate.integrator.spi.Integrator'.

Anyway as you suggested we are updating the migration guide in order to include the information about the removal.

Thanks a lot for reporting the issue.

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

Components

Priority

Major
Configure