Select() in jpa query

Moderator: admin

Post Reply
NightCapybara
Posts: 3
Joined: Sat Aug 29, 2015 1:30 pm
Contact:

Select() in jpa query

Post by NightCapybara »

So the book (Pro JPA 2.0) says, that it is illegal to select collections in a form, such as: Select e.creditCards from Customer e;
But ToyFramework works fine with this query.
What's the catch?

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

Re: Select() in jpa query

Post by admin »

It is possible that the JPA provider is not 100% compliant or the book is incorrect.
Did you ask the author of the book you've mentioned?
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 75 guests