Bugs item #937767, was opened at 2004-04-19 12:54 Message generated for change (Comment added) made by loubyansky You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=937767&group_id=22866
Category: JBossCMP Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Micah Spears (lamarguy) >Assigned to: Alexey Loubyansky (loubyansky) Summary: left-join descriptor is problematic Initial Comment: I applaud the new the left-join read ahead option but the xml descriptors in jbosscmp-jdbc.xml are difficult to configure. reasons for descriptor change are: 1.) for each query I wish to left-join, I have to specify the cmr fields each time which leads to redundancy. grouping the joins is more logical like load-groups are handled. 2.) writing xdoclet support is non-trivial for the current left-join descriptors. so I propose the syntax change from, for example, <read-ahead> <strategy>on-find</strategy> <eager-load-group>report</eager-load-group> <left-join cmr-field="lineItems"/> <left-join cmr-field="product" eager-load-group="short"/> </left-join> <left-join cmr-field="customer" eager-load-group="basic"/> </read-ahead> to <read-ahead> <strategy>on-find</strategy> <eager-load-group>report</eager-load-group> <left-join-group>group_a</left-join-group> </read-ahead> <left-join-groups> <left-join-group> <name>group_a</name> <description>example left join group</description> <left-join> <cmr-field>lineItems</cmr-field> <left-join> <cmr-field>product</cmr-field> <eager-load-group>short</eager-load-group> </left-join> </left-join> <left-join> <cmr-field>customer</cmr-field> <eager-load-group>basic</eager-load-group> </left-join> </left-join-group> </left-join-groups> in addition, maybe "left-join" should be renamed to "relation-join" for clarity. ---------------------------------------------------------------------- >Comment By: Alexey Loubyansky (loubyansky) Date: 2004-04-20 19:35 Message: Logged In: YES user_id=543482 This is not a bug. I reposted this to the forums. Let's discuss it there. Thanks! http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831614 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=937767&group_id=22866 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development