Add createCustomLoader() to the NativeQueryInterpreter contract

Description

So this is what is required by OGM to work without copying a not trivial part of SessionImpl.

I think it's a rather safe change.

I think serializing the CustomLoaderFactory with the Session is the way to go but maybe you have a different opinion about that?

Environment

None

Status

Assignee

Guillaume Smet

Reporter

Guillaume Smet

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Priority

Major
Configure