Hello,
I'm wanting to save attach file in DataBase. I used this annotation:
@Basic(fetch=FetchType.LAZY)
| @Column(updatable=false)
| private byte[] content;
This works fine, except one thing, the fetch strategy doesn't work. The attach content
always select like EAGER fetch strategy.
How can I lazy the content?
Thanks,
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085680#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...