jopa
jopa copied to clipboard
Read-only transaction mode
As a user, I want to be able to open an EntityManager or start a transaction (whichever is more natural to implement) in a read-only mode.
This mode should ignore attempts to update managed entities and merge/remove entities (or throw an exception). Instead, it may provide better optimized data access for common read-only transactions done by applications (retrieval methods in Web applications in particular).