openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Prud'hommeaux (JIRA)" <>
Subject [jira] Commented: (OPENJPA-20) Query can return embeddable class
Date Thu, 01 Mar 2007 07:54:50 GMT


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:
>             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.

View raw message