Force Hiberante to flush the session before executing a SELECT query.