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

Moderator: admin

Post Reply
johnlong
Posts: 185
Joined: Mon Jun 20, 2016 5:06 pm
Contact:

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

Post by johnlong » Sat Dec 24, 2016 3:41 pm

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?

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

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

Post by admin » Sun Dec 25, 2016 12:39 pm

It is "at the time of parsing" part that is meaningless.
If you like our products and services, please help us by posting your review here.

johnlong
Posts: 185
Joined: Mon Jun 20, 2016 5:06 pm
Contact:

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

Post by johnlong » Sun Dec 25, 2016 6:50 pm

Could you please elaborate.

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

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

Post by admin » Mon Dec 26, 2016 12:39 am

It has no meaning. What parsing is it talking about? That is why it is a wrong option.
If you like our products and services, please help us by posting your review here.

johnlong
Posts: 185
Joined: Mon Jun 20, 2016 5:06 pm
Contact:

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

Post by johnlong » Wed Dec 28, 2016 7:45 am

Parsing from JP QL to SQL?

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

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

Post by admin » Wed Dec 28, 2016 8:00 am

How do you know that a Query instance is created at the time of parsing and not some other time?
If you like our products and services, please help us by posting your review here.

johnlong
Posts: 185
Joined: Mon Jun 20, 2016 5:06 pm
Contact:

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

Post by johnlong » Wed Dec 28, 2016 1:48 pm

That I do not know, I assume it depends on implementation.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests