Users encounter runtime errors indicating JDBC connections are not disposed.
GroupingFeatureIterator3 contains logic to use sneaky iteration tricks to dispose the underlying simple DataStores. DefaultMappingFeatureIterator does not. The latter is used when the mapping contains an empty groupBy. The solution might be to pull up the Iterable implementation into the common base class AbstractMappingFeatureIterator.