Bugs item #633876, was opened at 2002-11-05 17:12
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=633876&group_id=22866

>Category: JBossCMP
>Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
>Priority: 7
Submitted By: Infogest (infogest)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wrong Read-ahead with CMR fields

Initial Comment:
When a CMR fieds get preloaded the primkeys of the      
other side entity get preloaded with the same      
preload-group name of its corelated entity. When jboss 
tries to load those entities will      
raise an exception : unknown load group.     
The problem is around line 172 of    
JDBCLoadRelationCommand.java .  
It is now :   
   
  relatedReadAheadCache.addFinderResults(results,  
readAhead);  
  
but sould be something like (improvvisation follows):  
  
 relatedReadAheadCache.addFinderResults(results,  
cmrField.getRelatedCMRField().getReadAhead());  
 
But I'm not sure this is the right thing to do. It can make 
sense to use the same read-ahead group but in that case 
I think this should checked during deploying (all related 
entity should have the same preload groups...). 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=633876&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to