[jboss-user] [EJB 3.0] - [Hibernate-Cache] Blobs are not cacheable

CarstenRudat do-not-reply at jboss.com
Thu May 10 11:42:24 EDT 2007


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 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044719#4044719

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044719



More information about the jboss-user mailing list