FYI for those following this thread:

I finally had time to create a simple testcase and file a bug report (637934).

Thanks.

--
Chris Bonham
President/CEO
Third Eye Consulting, Inc.
[EMAIL PROTECTED]
http://www.thirdeyeconsulting.com
317.823.3686
317.823.0353 (FAX)

Quoting Dain Sundstrom ([EMAIL PROTECTED]):
> Chris Bonham wrote:
>  > I'm running JBoss 3.2.0beta with Dain's Unidirectional performance
>  > patch, Sun JDK 1.3.1_03 on both Win2K and RedHat Linux 7.3, plus
>  > XDoclet 1.2.0beta.
>  >
>  > I have two local CMP entity beans with this relationship:
>  >
>  > SelectedBowComponent (M) -> (1) BowComponent
>  >
>  > When I create a new SelectedBowComponent, the read ahead cache adds
>  > the relation SelectedBowComponent_bowComponent.  Then, that
>  > BowComponent tries to load up all SelectedBowComponents that's it's
>  > related to.  Since this is a unidirectional relationship, that
>  > relationship will never be traversed, so why is the data put in the
>  > cache or is that a bug?  I wouldn't have noticed this problem except
>  > for the BowComponent the new SelectedBowComponent points to is also
>  > pointed to by 300000 rows!  So, depending on memory settings, the
>  > read ahead cache insertion process either runs out of memory or the
>  > transaction times out.  I've attached code snippets below.
> 
> Directionally of relationships has no effect on the code; it is just a
> matter of convince for designers.  With the performance patch you 
> mention above, I make sure to not load relationships unless absolutely 
> necessary for referential integrity, so what you are seeing is a bug. 
> Please, file a bug report with a simple test case (Order-LineItem) that 
> reproduces the error.
> 
> -dain
> 
> 
> 
> -------------------------------------------------------
> 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-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about 
your web server security? Click here for a FREE Thawte 
Apache SSL Guide and answer your Apache SSL security 
needs: http://www.gothawte.com/rd523.html
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to