1 Reply Latest reply on Apr 16, 2007 4:12 AM by Dmitry Guralnik

    BLOB: Lazy loading

    Dmitry Guralnik Newbie

      Hello,

      I've got the same problem describing in here:
      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=91231
      But switching to a Blob attribute didn't help:
      it is still loading BLOB column in a query!

      I played with hibernate.bytecode.use_reflection_optimizer but got the same result.

      Another idea was calling hibernate's javassist instrument task during building the application. It affected the exception during deploying:

      javax.persistence.PersistenceException: org.hibernate.MappingException: Could no
      t determine type for: org.hibernate.bytecode.javassist.FieldHandler, for columns
      : [org.hibernate.mapping.Column(fieldHandler)]
      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Con
      figuration.java:698)

      Any ideas?

      Thank you.