Hello,

I think I've run across a bug (more likely a coding oversight).

In the PersistenceBrokerImpl in the method
getRsIteratorFromQueryExtentAware(Query, ClassDescriptor,
RsIteratorFactory);

Before the while(enum.hasMoreElements()) loop a chainingIterator is defined
and set to null.

With in the loop the chainingIterator is created. 

The problem is it's recreated on each iteration of the loop.  Shouldn't it
only be created if it is null?

I had two criteriaElements added in my Criteria the first was a NotNull the
other an SQL. I was getting nothing returned until I added:

    if (chainingIterator == null) {
        chainingIterator = new ChainingIterator();
    }

Alan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to