Bug 25 : addBetween... binds the last value twice - ignoring the first bind value...
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
0.9.3b
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
21/08/2007
Updated 
21/08/2007
Type 
Bug
 
Attachments 
No attachments
public PredicateElement addBetween(String propName, Object v1, Object v2) {
    return predicates.addBetween(propName, v2, v2);
}

Note how v2 is specified twice... should be v1, v2.
The workaround is to use a two clauses... a greater than and a less than clause.

 
Rob 22 Nov 19:52
Fixed in 0.9.3b

Fixed

woResponse

Upload a file