Document that UserType implementations may need to be Serializable
------------------------------------------------------------------
Key: HHH-3380
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3380
Project: Hibernate3
Issue Type: Improvement
Components: core
Environment: ehcache 1.5.0b2
Reporter: Manuel Dominguez Sarmiento
Priority: Trivial
We found out that Hibernate UserTypes need to be Serializable in order for query caches to
be serializable. This is not documented.
Strictly speaking, if the cache implementation does not require object graphs to be
serializable, this is not a problem, so I'm not sure whether UserType should extend
Serializable. However, given that many cache implementations require this either for
distributed caching or disk persistence (as is our case), it may be wise to do this, or at
least document it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira