Page 1 of 1

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

Posted: Mon May 28, 2012 3:59 pm
by RoyEL1
In the problem statement "bi-directional one to many relationship between Student and Presenter," shouldn't that read Presentation?

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

Posted: Tue May 29, 2012 3:47 pm
by admin
Yes, it should be. Will be fixed asap.

thank you for your feedback!

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

Posted: Wed Jul 18, 2012 3:59 pm
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.

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

Posted: Mon Sep 08, 2014 8:08 am
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

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

Posted: Mon Mar 02, 2015 4:57 am
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...

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

Posted: Mon Mar 02, 2015 5:24 am
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

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

Posted: Wed Mar 11, 2015 2:23 am
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.

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

Posted: Wed Mar 11, 2015 3:32 am
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.

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

Posted: Thu Mar 12, 2015 8:02 am
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.

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

Posted: Thu Mar 12, 2015 8:23 am
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.