Bug 361 : Mysql syntax with findRowCount() ... Every derived table must have its own alias
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.7.3
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
16/03/2011
Updated 
16/03/2011
Type 
Bug
 
Attachments 
No attachments

javax.persistence.PersistenceException: Query threw SQLException:Every derived table must have its own alias
Bind values:[1, 1]
Query was:
select count(*) from ( select distinct t0.id c0
from o_order t0
join o_order_detail u1 on u1.order_id = t0.id
where t0.id > ? and u1.id > ? )

 
Rob 16 Mar 11:05
Fixed in HEAD

Fixed in HEAD.

woResponse

Upload a file