With Ebean and @Sql ... using raw sql queries you can actually populate a transient field (field marked with the @Transient annotation).
This however has lead to a bug where if you do a partial object query and select the transient property then Ebean will try an include the transient in the query - and barf with a NPE.
Fixed in HEAD