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

Moderator: admin

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

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

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

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

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

Post by admin »

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: 197
Joined: Mon Jun 20, 2016 5:06 pm
Contact:

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

Post by johnlong »

Could you please elaborate.

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

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

Post by admin »

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: 197
Joined: Mon Jun 20, 2016 5:06 pm
Contact:

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

Post by johnlong »

Parsing from JP QL to SQL?

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

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

Post by admin »

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: 197
Joined: Mon Jun 20, 2016 5:06 pm
Contact:

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

Post by johnlong »

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

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests