[ 
https://issues.apache.org/jira/browse/OPENJPA-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477043
 ] 

Craig Russell commented on OPENJPA-20:
--------------------------------------

I agree with Marc that it's a bug in the doc. The doc could also be reworded 
like "Embedded classes cannot be used as the first entity in the FROM clause of 
a query. They can only be returned by projecting from an entity that embeds 
them."


> Query can return embeddable class
> ---------------------------------
>
>                 Key: OPENJPA-20
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-20
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: docs
>            Reporter: David Wisneski
>            Priority: Minor
>
>  part 2 , chapter 4 of user manual on Entity, states that embeddable classes 
> are never returned from a query.  
> This is not true as in the query
>    select e.address from EmpBean e
> address could be defined as as embeddable class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to