List of utility methods to do SQL Query
String | runSqlSelect(String sqlQuery, Connection databaseConnection) run Sql Select StringBuilder queryResult = new StringBuilder(); try (PreparedStatement preparedStatement = databaseConnection.prepareStatement(sqlQuery)) { try (ResultSet actualResultSet = preparedStatement.executeQuery()) { ResultSetMetaData metaData = actualResultSet.getMetaData(); boolean isFirstRow = true; int columnsCount = metaData.getColumnCount(); while (actualResultSet.next()) { if (!isFirstRow) { ... |