[jboss-user] [EJB 3.0] - BLOB: Lazy loading

DGuralnik do-not-reply at jboss.com
Mon Apr 16 04:11:01 EDT 2007


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. 

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

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



More information about the jboss-user mailing list