[jboss-user] [EJB 3.0] - Re: Lazy byte array gets loaded on query

DGuralnik do-not-reply at jboss.com
Sun Apr 15 07:38:45 EDT 2007


Hello,

I've got the same problem. 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.

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

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



More information about the jboss-user mailing list