Allow EntityListIterator to be created from JDBC ResultSet
----------------------------------------------------------

                 Key: OFBIZ-1826
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1826
             Project: OFBiz
          Issue Type: Bug
          Components: framework
            Reporter: Si Chen
            Priority: Minor


EntitylistIterator can only be constructed from a SQLProcessor  right now, but 
in fact, it does not really use the SQLProcessor except to .close().  I have 
created a new constructor for the EntityListIterator which allows it to be 
created from a JDBC ResultSet.  When it comes to closing the list iterator, the 
behavior is the same as before, if there is a SQLProcessor.  Otherwise, it will 
call the ResultSet's close method.

This would not affect anybody who is already using the delegator, but it would 
make it more flexible for people who are not using the delegator.

Please take a look at this.  If nobody opposes it, I will commit it next week

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to