Bug 29 : Query with setId() ignores other predicates
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
0.9.5
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
13/12/2007
Updated 
13/12/2007
Type 
Bug
 
Attachments 
No attachments

d

 
Rob 13 Dec 19:48
Example
Query

Rob 13 Dec 19:49
Example

Query

Rob 13 Dec 19:49
Example

Query[Bug] q2 = Ebean.createQuery(Bug.class);
q2.setId(1l);
q2.join("details", "*");
// this predicate is ignored
q2.add("details.id", Op.GT_EQ, 3);

Rob 07 Feb 09:40
Fixed in 0.9.5

Fixed.

woResponse

Upload a file