[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Any way in CMP to load only certain fields per query?

tbessie do-not-reply at jboss.com
Fri Jul 18 18:19:42 EDT 2008


I have a need, for a given set of queries for a container-managed bean, that only certain fields be loaded.  Some fields would contain entire files, so I want to limit the results to beans where these large fields are not loaded.

Is there a way to do this in JBoss?  Weblogic has a "field-group" concept, kind of like "load-group" with JBoss, except that the field-group can be associated with a particular query; it looks like in JBoss load-group's may only be associated with read-ahead strategies and the entities themselves, but not directly with a given query.

Anyone know how to do this?

- Tim


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

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



More information about the jboss-user mailing list