0 Replies Latest reply on Apr 15, 2006 6:44 AM by Peter Goldstein

    Mapping a @Lob to a PostgreSQL BYTEA column

    Peter Goldstein Newbie

      Is this mapping supported? If so, how do I configure it? When I set up my EntityBean with a @Lob attribute corresponding to a BYTEA column, I get an exception like this:

      03:32:53,612 ERROR [JDBCExceptionReporter] ERROR: column "photo_data" is of type bytea but expression is of type oid

      I'd really prefer to avoid large objects, if at all possible. Any advice would be appreciated.

      Thanks,

      Peter