code: protected void sqlProjection(String sql, List<String> columnAliases, List<Type> types) {
          projectionList.add(Projections.sqlProjection(sql, columnAliases.toArray(new String[columnAliases.size()]), types.toArray(new Type[types.size()])));
      }
docs: Adds a sql projection to the criteria
  
  @param sql SQL projecting
  @param columnAliases List of column aliases for the projected values
  @param types List of types for the projected values