try {
connection = getConnection();
for (int i=0; i < tables.length; i++) {
String currentTable;
try {