Re: Hello & Question...

From: Jeff LaMarche (jeff_lamarch..ac.com)
Date: Fri Feb 18 2005 - 12:34:05 EST

  • Next message: Joshua Pyle: "Re: Derby support"

    On Feb 16, 2005, at 4:46 PM, Mike Kienenberger wrote:

    > I've never used Blobs, but I'd say that you just need to subclass
    > org.objectstyle.cayenne.access.types.ByteArrayType and override
    > setJdbcObject() to use setBinaryStream, and somehow provide that
    > stream.
    >
    > To install it, you probably need to extend your JDBCAdaptor's
    > configureExtendedTypes() method to register your replacement class.

    Hmm.. thanks.. I've looked at the code, and it mostly makes sense. I'd
    then have to change the class in modeler for my BLOB attributes to use
    my new subclass?

    Jeff



    This archive was generated by hypermail 2.0.0 : Fri Feb 18 2005 - 12:34:11 EST