Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.

NoSuchKey

猜你喜欢

转载自www.cnblogs.com/liaoguanwang/p/9264322.html