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

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
cosminvacaroiu

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

Post 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);

jszczepankiewicz

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

Post 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.

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

The second c should actually be o. This has now been fixed.

thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests