removed global variable entirely
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user