In using a FindByNativeSql with a sql select statement that uses column alias.
select order_id, sum(...) as total...
The "as total" is a column alias, and that is not being used.
So to fix, in....
com.avaje.ebean.server.find.FinderNativeSql.getPropertyNames()
...String columnName = rsmd.getColumnName( index);
should be....
String columnName = rsmd.getColumnLabel( index);
fixed.