HHH-16038 Fix PersistenceContext.setDefaultReadonly javadoc mistake

This commit is contained in:
Matías Santurio 2023-01-13 10:09:12 -03:00 committed by Gavin King
parent 85a5b17ae3
commit 669be6a776
1 changed files with 2 additions and 2 deletions

View File

@ -628,8 +628,8 @@ public interface PersistenceContext {
/**
* Change the default for entities and proxies loaded into this persistence
* context from modifiable to read-only mode, or from modifiable to read-only
* mode.
* context from modifiable to read-only mode, or from read-only mode to
* modifiable.
*
* Read-only entities are not dirty-checked and snapshots of persistent
* state are not maintained. Read-only entities can be modified, but