[Opensymphony-oscache] OSCache + Hibernate
Steven Sagaert <[email protected]> Fri, 16 Sep 2005 09:04:49 CDT
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <30883060.1126879519649.JavaMail.os-j2ee@opensymphony01.contegix.com> |
Hi, In the documentation for using the OSCache patch for Hibernate it is said: NOTE: object identifiers must have well-behaved toString() methods. What does this mean EXACTLY? As far as I know the requirements that Hibernate poses are: 1) object id classes must be Serializable 2) you must define a sensible equals() & hascode() for the object class (this is used for comparison by the cache) So where does this toString() requirement come from? OSCache? --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=6804&messageID=15146#15146