Hi Geoff,
I was thinking that there is no reason why the PM can't serialize to
a stream an instance that it knows how to store in a database. It's
easier, after all, than generating SQL for storage.
So I'd mandate that the PM cannot throw not-serializable for
persistent instances. Instanc
If the instances in cache are not serializable, then an exception gets thrown
at runtime when the instance in cache tries to serialize.
(of course a PM might be "super smart" and might know how to serialize a
PersistanceCapable instanc. Heck, it already knows how to map a PC to a
database).
:-)
Hi Craig,
I think this is a good idea, since it would allow storing a
PersistenceManager as a session attribute (for whatever purpose). The
interesting question is whether any caches get serialized along with the
PersistenceManager? What happens with cached persistent instances of a
non-seria
[
http://issues.apache.org/jira/browse/JDO-432?page=comments#action_12443201 ]
Andy Jefferson commented on JDO-432:
The 2 remaining issues are due to JPOX implementing part of an earlier version
of the JDO2 spec. Some time ago it used to say