I went a head segmented out my test cases to see if I could get some better insight into what might be causing this. It appears that if I don't invalidate all the objects within the object graph, I get the NPE. However, if I make sure I have invalidated each of the objects in the graph, everything works.
Regards, *================================* | Scott T Weaver | | <[EMAIL PROTECTED]> | | Apache Jetspeed Portal Project | | Apache Pluto Portlet Container | *================================* > -----Original Message----- > From: Martin Kal�n [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 03, 2004 7:43 AM > To: OJB Users List > Subject: Re: [OTM] invalidating cache causes NPE on next collection query > > Armin Waibel wrote: > > > could you send me your test case? > > No. Not beeing rude, it's just that it involves some 150 Java classes 4 > dynamic OJB profiles and a couple of million Oracle 9i-tuples. :-) > > > Or is it possible to modify an existing test case to show the problem? > > Today I managed to home in a bit further on the problem. In my > environment it seems that the Oracle JDBC-prefetching conflicts with the > OJB proxy-prefetching. Moving from platform "Oracle9i" to platform > "Oracle" resolves the null-pointer exception. > > I will try to debug further and check wether it makes sense at all > (performance-wise) to use Oracle-specific prefetching (that Matthew > started and I finished in the Oracle9i in CVS HEAD) now that OJB has > it's own prefetching. > > For now, it would be interesting if others could verify that swapping > platform solves the NPE i OJB CollectionPrefetcher#associateBatch > ed. (If they are using Oracle at alla that is...) > > -- > Martin Kal�n > Curalia AB Web: http://www.curalia.se > Orrspelsv�gen 2B Mail: [EMAIL PROTECTED] > SE-182 79 Stocksund Tel: +46-8-410 064 40 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
