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

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
RoyEL1
Posts: 10
Joined: Tue Aug 09, 2011 3:23 pm

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

Post by RoyEL1 »

In the problem statement "bi-directional one to many relationship between Student and Presenter," shouldn't that read Presentation?

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

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

Post by admin »

Yes, it should be. Will be fixed asap.

thank you for your feedback!
If you like our products and services, please help us by posting your review here.

jszczepankiewicz

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

Post by jszczepankiewicz »

The question is too simple in my opinion because wrong questions can be excluded only by checking the line:
Root<Student> pRoot = cq.from(Presentation.class);
I suggest adding another bogus answer.

sztgeza
Posts: 4
Joined: Thu Sep 04, 2014 2:32 pm
Contact:

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

Post by sztgeza »

The correct answer

Code: Select all

CriteriaQuery<Student> cq = cb.createQuery(Student.class); 
Root<Presentation> pRoot = cq.from(Presentation.class);

cq.select(pRoot.get("presenter")).distinct(true); //line 3
ParameterExpression<Integer> marksObtainedPE = cb.parameter(Integer.class, "marksObtained");
Predicate p = cb.ge(pRoot.<Integer>get("marksObtained"), marksObtainedPE); 
cq.where(p); TypedQuery<Student> tq = em.createQuery(cq);
 tq.setParameter("marksObtained", minMarks);
does not compile, because of line 3:
Compiler says:
The method select(Selection<? extends Student>) in the type CriteriaQuery<Student> is not applicable for the arguments (Path<Object>)
The correct version should be:

Code: Select all

cq.select(pRoot.<Student>get("presenter")).distinct(true); //line 3

ikotev
Posts: 17
Joined: Sat Feb 28, 2015 2:26 am
Contact:

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

Post by ikotev »

Hello,

Does anyone read remarks made here ? Why such small problems are not fixed for years ?
I am feeling cheated that I give my money for this exams...

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

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

Post by admin »

Hi Kotev,
It is my fault. I usually apply the fixes asap but it looks like I missed a few of them in this forum. I am very sorry about it.
If you are unsatisfied with the product, kindly send your order id to our support emailid and I will issue you are full refund.

thank you for your feedback,
Paul
If you like our products and services, please help us by posting your review here.

ikotev
Posts: 17
Joined: Sat Feb 28, 2015 2:26 am
Contact:

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

Post by ikotev »

Hi Paul,

I appreciate your work and don't want refund. However I am interested why such old things that are written to be fixed are still not. Why question bank is not updated with latest fixes and information available ?

@I am sorry for spamming this thread but I am not allowed to send you PM.

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

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

Post by admin »

Hi Kotev,
As I mentioned before, I just missed some of these. You may check the Errors/Bugs that have been fixed forum and verify that most of the bugs reported were indeed fixed within a couple of days max.
It was not not done on purpose but because of human error (mine).

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

ikotev
Posts: 17
Joined: Sat Feb 28, 2015 2:26 am
Contact:

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

Post by ikotev »

Hi Paul,

With today's update 1/40 it is still: "bi-directional one to many relationship between Student and Presenter,"

can you please verify if fix is released.

Thank you for other corrections and fixes that you've made.

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

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

Post by admin »

Very sorry again. I replied to you on this thread earlier but didn't see the correction mentioned on the top. Fixed now in 1.41.
-Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests