Refreshing immutable entity gives UnsupportedLockAttemptException because of ImmutableEntityEntry can work with NONE and READ lock mode. Test case and possible solution: https://github.com/argustelecom/hibernate-orm/commit/baf94dd8d9344c99947982aac71422bff3f8e58c |