0 Replies Latest reply on Jul 18, 2008 6:19 PM by tbessie

    Any way in CMP to load only certain fields per query?

    tbessie

      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