The test case is the query:
Ebean.find(EEmbInner.class).fetch("outer").orderBy("outer.datePeriod.date1").findList();
With the resulting SQL:
select t0.id c0, t0.nome_inner c1, t0.update_count c2 , t1.id c3, t1.nome_outer c4, t1.update_count c5, t1.date1 c6, t1.date2 c7 from eemb_inner t0left outer join eemb_outer t1 on t1.id = t0.outer_id order by t2.date1
t2 is the incorrect table alias.
fixed in head