Ok, i have it working with a "nicer" solution.
I don't wanted to change my complete data structure and i don't think storing 
all byte[]'s in another bean is a good solution.

The @Basic(fetch=FetchType.LAZY) is working correctly with hibernate, but only 
if you use bytecode instrumantation as described here:
http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#performance-fetching-lazyproperties

this is very important if you use lots of or lagre byte[]'s.

hope this helps someone else getting the same problem.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107990
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to