fitgoodies-db-jdbc/src/main/java/de/cologneintelligence/fitgoodies/database/TableFixture.java
protected ResultSet getResultSet() {
		if (table == null) {
			throw new IllegalArgumentException("missing parameter: table");
		}

		String whereClause = "";
		if (where != null) {
            whereClause = " WHERE " + where;
        }

        try {
			statement = connection.createStatement();
			return statement.executeQuery("SELECT * FROM " + table + whereClause);
		} catch (SQLException e) {
			throw new RuntimeException(e);
		}
	}
protected ResultSet getResultSet() {
		if (table == null) {
			throw new IllegalArgumentException("missing parameter: table");
		}

		String whereClause = "";
		if (where != null) {
            whereClause = " WHERE " + where;
        }

        try {
			statement = connection.createStatement();
			return statement.executeQuery("SELECT * FROM " + table + whereClause);
		} catch (SQLException e) {
			throw new RuntimeException(e);
		}
	}
protected ResultSet getResultSet ( ) { if ( table == null ) { throw new IllegalArgumentException ( "missing parameter: table" ) ; } String whereClause = "" ; if ( where != null ) { whereClause = " WHERE " + where ; } try { statement = connection . createStatement ( ) ; return statement . executeQuery ( "SELECT * FROM " + table + whereClause ) ; } catch ( SQLException e ) { throw new RuntimeException ( e ) ; } }
Generates a {@code java.sql.ResultSet} by using the saved connection.
This method queries the table {@code tableName} and appends
{@code where} as an optional where clause.

@return the {@code ResultSet} which the query returned
Generates a { @code java . sql . ResultSet } by using the saved connection . This method queries the table { @code tableName } and appends { @code where } as an optional where clause .