Bug 317 : RawSql cached query plan not binding named parameters - Refer Daryl tests
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.7.0
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
30/08/2010
Updated 
30/08/2010
Type 
Bug
 
Attachments 
No attachments

Daryl logged a test case for this.

Essentially the issue was that named parameters in a RawSql query where not being bound when the query was executed multiple times. The subsequent times can hit the query plan cache and the named parameters need to be converted into positioned parameters for this case.

 
Rob 30 Aug 09:11
Fixed in HEAD

fixed in Head. Refer to CQueryPredicates.

woResponse

Upload a file