There has been lots of activity in Cayenne today :-) Here some more info
Just added support for "small" CLOBs. "Small" means anything the JVM can
handle in memory without using streams. Streaming access to LOBs will be
Basically right now a String ObjAttribute can be mapped to a CLOB
DbAttribute, and it will "simply work". I successfully tested it with
Sybase and Oracle.
To test if this works with other databases (Postgres?) that support
large objects in one way or another (so that it makes sense to have
DbAttributes of type CLOB at all),
org.objectstyle.cayenne.unittest.XyzDelegate must be implemented as a
subclass of DatabaseSetupDelegate, with method "supportsLobs" returning
true. (This is all located in the tests subproject of course).
If you try it and it DOESN'T work, first place to look is
org.objectstyle.cayenne.access.types.CharType which has some
configuration options that control CLOB reading.
I will be working on the similar BLOB support soon.
This archive was generated by hypermail 2.0.0 : Sun Mar 02 2003 - 16:56:14 EST