Bytecode enhanced classes don't implement ManagedEntity or ManagedComposite anymore?

Description

I'm just playing with Hibernate 5.1.1 as it might have solved our bytecode issues. One thing I immediately realize is that instrumented classes do not implement ManagedEntity or ManagedComposite anymore (which used to be the case in Hibernate 5.1.0).

Example:

As I'm encountering null pointer issues during a session commit in Hibernate Search when bytecode enhancement is performed (no issues when bytecode is not instrumented) and extracting this to a test case is quite tricky, may I ask how serious the absence of the marker interfaces are? Maybe this already gives enough input for you to investigate the situation.

Environment

None

Assignee

Luis Barreiro

Reporter

Niko Wittenbeck

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Minor
Configure