[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Attach Entity

goku2 do-not-reply at jboss.com
Tue Sep 18 19:37:31 EDT 2007


mcsous, if you specify 


  | @Basic(fetch=FetchType.LAZY)
  | @Column(updatable=false)
  | @Lob
  | private byte[] content;	
  | 

In postgres (al least 8.2) it will map to a Oid column, not a blob.
Cheers


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

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



More information about the jboss-user mailing list