0 Replies Latest reply on May 10, 2007 11:42 AM by Carsten Rudat

    [Hibernate-Cache] Blobs are not cacheable

    Carsten Rudat Novice

      Hi All,

      I have an entity with an

      @Cache(usage=CacheConcurrencyStrategy.TRANSACTIONAL)
      

      annotation.

      My entity contains a java.sql.Blob and so I get an UnsupportedOperationException: Blobs are not cacheable.

      May I annotate my Blob getBlob()-Method with anything, so that my entity will be cached, but the blob will not?

      Thanks,

      Carsten