openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catalina Wei (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OPENJPA-1696) Type discriminator for polymorphic queries limited to Single Table inheritance
Date Sat, 24 Jul 2010 16:26:49 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-1696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Catalina Wei resolved OPENJPA-1696.
-----------------------------------

    Fix Version/s: 2.1.0
       Resolution: Fixed

> Type discriminator for polymorphic queries limited to Single Table inheritance
> ------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1696
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1696
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 2.0.0
>            Reporter: Catalina Wei
>            Assignee: Catalina Wei
>             Fix For: 2.1.0
>
>
> JPA2.0 spec defines TYPE discriminator which can be used in JPQL query to return polymorphic
query results. The spec is unclear that the TYPE discriminator is for Single table inheritance
or it can be used for Table per class or inheritance type Joined or not.
> The initial implementation in OpenJPA has limited it for Single Table inheritance, but
it does not block the usage for the other 2 types of inheritance.
> This resulting incorrect SQL generated and SQLExceptions.

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


Mime
View raw message