[jboss-user] [JBoss Seam] - Re: slow queries using lobs in entities
fernando_jmt
do-not-reply at jboss.com
Fri Feb 16 08:13:31 EST 2007
I'm not sure, but I don't know if using BLOB (I suppose is a SQL type class) as bean property is the right way.
Maybe you can try changing it by:
| @Lob @Basic(fetch = FetchType.LAZY)
| byte[] contents = null;
|
or
| @Lob @Basic(fetch = FetchType.LAZY)
| InputStrem contents = null;
|
HTH.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017601#4017601
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017601
More information about the jboss-user
mailing list