Bug 178 : select of a @Transient property using non raw SQL throwing NPE
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.2.0
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
19/11/2009
Updated 
19/11/2009
Type 
Bug
 
Attachments 
No attachments

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.

 
Rob 19 Nov 11:55
Fixed in HEAD

Fixed in HEAD

woResponse

Upload a file