[
http://opensource.atlassian.com/projects/hibernate/browse/OGM-10?page=com...
]
Sanne Grinovero commented on OGM-10:
------------------------------------
It would be relatively simple to patch Infinispan to always make an instance copy on read
(introducing an option for that), but I'm suspecting that's not exactly what OGM
needs.
Assuming one is only storing safe primitives and immutable types such as String, one might
want to avoid unneeded and costly copies. But this might still be needed for example for
Date, unless it's mapped as a long. Are we going to need such an option on a "per
property" base?
Discuss with Manik whether or not a copy on read is necessary
-------------------------------------------------------------
Key: OGM-10
URL:
http://opensource.atlassian.com/projects/hibernate/browse/OGM-10
Project: Hibernate OGM
Issue Type: Task
Reporter: Emmanuel Bernard
Assignee: Manik Surtani
Fix For: 3.0-next
From what Manik said recently, they do marshal data when putting it in the map and thus a
copy on read is not necessary.
Clarify that and make sure mutable types do a proper copy on read if that's not the
case.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira