I would like to use collections for search criteria. How to get a hashmap to search columnwise? Hashmap store key value pairs which is easy for hardcoded values. How to search for a value eg SFO in the column wise search? Can anyone help me?
That could work, but remember that when going through each record in the DB, the readRecord returns an array of strings that correspond to your database columns. So in the result, call it recordArray, you can get the origin by comparing recordArray[1] to your criteria.
The moth suit and wings road is much more exciting than taxes. Or this tiny ad: