In SessionImpl, we have things like
@Override
public Query createQuery(String queryString) {
errorIfClosed();
checkTransactionSynchStatus();
return super.createQuery( queryString );
}
We should do the same for OGM specific methods in OgmSessionImpl and possibly OgmEntityManager.
|