[ https://issues.apache.org/jira/browse/OPENJPA-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476856 ]
Marc Prud'hommeaux commented on OPENJPA-20: ------------------------------------------- Or, alternately, a bug in the documentation. The current documentation phrasing is meant to point out that if entity Address is embedded in entity Company, then "select a from Address a" will never return the Company's embedded address. This could be clarified to say something like "Embedded classes are never returned directly from a query unless the query uses a projection on owning class to the embedded instance". > 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.