Bug 237 : @Transient with @Formula included in many join by default ...
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.5.0
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
09/03/2010
Updated 
09/03/2010
Type 
Bug
 
Attachments 
No attachments
@Entity
public class Entity {

...

  @Transient
  @Formula(...)
  Integer totalItems;

...
}

The transient formula property is included in the default select when the order is joined.

 
Rob 09 Mar 21:21
Note: @Transients with Ebean

Note that Ebean actually makes @Transient properties available to be used with @Formula and raw @SqlSelect queries.

So this is why they can be included in a select clause.

Rob 09 Mar 21:21
Fixed in HEAD

Fixed in HEAD.

woResponse

Upload a file