View by Classes

Findings - Overview

warning Method executes sql queries inside of loops (Findbugs)

Method org.jcoderz.testdata.Importer.executeQueries(Properties, Collection, boolean) executes sql queries inside of loops

Further info on the wiki.

This method executes sql queries inside of a loop. This pattern is often inefficient as the number of queries may mushroom in fencepost cases. It is probably more performant to loop over the input and collect the key data needed for the query for all items, and issue one query using an in clause, or similar construct, and then loop over this result set, and fetch all the data at once.

1org.jcoderz.testdata.Importer
 [244]