In keeping with the idea that {{StatelessSession}}s are "stateless", and since we don't _yet_ have support for {{XxxxLoadAccess}} in {{StatelessSession}}, the API of this is:
{code:java}<T> T get(EntityGraph<T> graph, GraphSemantic graphSemantic, Object id); <T> T get(EntityGraph<T> graph, GraphSemantic graphSemantic, Object id, LockMode lockMode);{code}
which is completely fine and reasonable. (It's the same as the API in Hibernate Reactive.) |
|