With Infinispan a copy on read is necessary, no matter what configuration option we use (as of today).
It would be easy to patch Infinispan to have an option to always provide a copy on read, but this would have a big overhead and would make no distinction for immutable types: OGM instead could make use of immutable types only, or apply a copy only where needed (and maybe using a more efficient method than serialization)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
With Infinispan a copy on read is necessary, no matter what configuration option we use (as of today).
It would be easy to patch Infinispan to have an option to always provide a copy on read, but this would have a big overhead and would make no distinction for immutable types: OGM instead could make use of immutable types only, or apply a copy only where needed (and maybe using a more efficient method than serialization)