what is projection in sql
SQL queries without a candidate class are treated as projections of column data. If you select a single column, the query returns a list of Object s. If you select multiple columns, it returns a list of Object[] s. In either case, each column value is obtained using the java.sql.ResultSet.getObject method.