removed global variable entirely

This commit is contained in:
christian
2021-12-02 01:41:06 +01:00
parent 583324e4ca
commit 30bf0d059f
4 changed files with 2 additions and 17 deletions
@@ -27,7 +27,7 @@ public class DataMapper {
ArrayList<String> arrayListStr = new ArrayList();
try {
l_cCon = DBCPDataSource.getConnection();
String l_sSQL = "SELECT * FROM `Sentences`";
String l_sSQL = "SELECT * FROM `Sentences` order by LENGTH(Strings) desc";
l_pStatement = l_cCon.prepareStatement(l_sSQL);
l_rsSearch = l_pStatement.executeQuery();
while (l_rsSearch.next()) {