Page 1 of 1

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

Posted: Sat Dec 24, 2016 3:41 pm
by johnlong
A Query instance is created by the persistence provider for each named query at the time of parsing.
Please explain why this statement is wrong. If query instance is always created through EntityManager, does it mean that persistence provider has no role in it's creation? Is not it persistent provider that controls EntityManager itself?

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

Posted: Sun Dec 25, 2016 12:39 pm
by admin
It is "at the time of parsing" part that is meaningless.

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

Posted: Sun Dec 25, 2016 6:50 pm
by johnlong
Could you please elaborate.

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

Posted: Mon Dec 26, 2016 12:39 am
by admin
It has no meaning. What parsing is it talking about? That is why it is a wrong option.

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

Posted: Wed Dec 28, 2016 7:45 am
by johnlong
Parsing from JP QL to SQL?

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

Posted: Wed Dec 28, 2016 8:00 am
by admin
How do you know that a Query instance is created at the time of parsing and not some other time?

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

Posted: Wed Dec 28, 2016 1:48 pm
by johnlong
That I do not know, I assume it depends on implementation.