When e.g. invoking OgmEntityManager#lock(), an NPE is raised in AbstractEntityPersister#lock() as the map of lockers is empty. Do we support any way of explicit locking in the first place? I think we should raise an UnsupportedOperationException when invoking any of the locking methods on Session or EntityManager.
|