[jboss-user] [JBoss Seam] - lazy property loading ?

zdaler do-not-reply at jboss.com
Wed Mar 28 11:13:48 EDT 2007


Is there a way to lazily load entity properties in seam ?
I'd like to load a large collection of objects without loading a (potentially large) content inside every one of them ...

I've tried : 

	@Lob
  | 	@Basic(fetch = FetchType.LAZY)
  | 	public String getContent() {
  | 		return content;
  | 	}

But that does not seem to have any effect ...

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

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



More information about the jboss-user mailing list