>[...]
> Blobs are not serializable because they are a pointer to space on the
> database. So, you see, we couldn't cache them across transactions even if
> we tried to.

I ask my daughtes most favorable question: "Why couldn't we..."

This pointer points to space that is readable, and serializable. In fact the
pointer is only a mean to access this byte-array data that is serializable.
Of course - there might be a performance hit with serializing blobs, so
there are other solutions like creating a serializable proxy.

I mean - is there any reason no to do so?

I noticed that it might be not so easy, cause DataType classes have no
knowledge about what exact instance object they work with (no data to built
proxy). But it could be done at CacheEntry level.

Regards,
-- Mike






-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to