Page 1 of 1

About Question enthuware.oce-jpad.v6.2.578 :

Posted: Fri Jun 01, 2012 3:54 am
by cosminvacaroiu
Why for the last choice we have c twice, instead of c and o ?


Root<Order> c = q.from(Order.class);
Join<Order, Customer> c = c.join(Order_.customer);

Re: About Question enthuware.oce-jpad.v6.2.578 :

Posted: Wed Jul 18, 2012 2:19 pm
by jszczepankiewicz
Last option will result in compilation error. Thus there are two options:
1. replace second c with co
2. treat this as intentionall mistake and change explanation for last option that this will result also with compilation error.

Re: About Question enthuware.oce-jpad.v6.2.578 :

Posted: Sun Jul 22, 2012 10:03 am
by admin
The second c should actually be o. This has now been fixed.

thank you for your feedback!