| | |
| | | ResultSet rs = null; |
| | | |
| | | stmt.setFetchSize(FETCHSIZE); |
| | | int size = rs.getMetaData().getColumnCount(); |
| | | try |
| | | { |
| | | rs = stmt.executeQuery(fetchStmt); |
| | | int size = rs.getMetaData().getColumnCount(); |
| | | |
| | | while (rs.next()) |
| | | { |
| | |
| | | if (allowTable(tableName) && (tableName != null) |
| | | && (tableName.equalsIgnoreCase(table))) |
| | | { |
| | | tables.close(); |
| | | return (true); |
| | | } |
| | | } |
| | | |
| | | tables.close(); |
| | | return false; |
| | | } catch (SQLException sqlException) |
| | | { |
| | |
| | | if (allowTable(tableName) && (tableName != null) |
| | | && (tableName.equalsIgnoreCase(table))) |
| | | { |
| | | return (true); |
| | | tables.close(); |
| | | return true; |
| | | } |
| | | } |
| | | |
| | | tables.close(); |
| | | return false; |
| | | } catch (SQLException sqlException) |
| | | { |