users@jpa-spec.java.net

[jpa-spec users] Re: Collection of subtypes?

From: Paul Benedict <pbenedict_at_apache.org>
Date: Wed, 23 Dec 2015 20:47:38 -0600

Reza, thank you for your reply, but my question is really about the spec.
As I said, I don't find any explicit reference to such possibility. If I
can officially find out if JPA doesn't support it, I can certainly create a
JIRA ticket and recommend the feature.

Cheers,
Paul

On Wed, Dec 23, 2015 at 8:44 PM, Reza Rahman <Reza.Rahman_at_oracle.com> wrote:

> Since you are using Hibernate, I would advise using the Hibernate
> community forums for this. The JPA spec user group is largely for
> discussing enhancements to the spec. It's best not to use it as an
> alternative to public JPA forums.
>
>
> On 12/23/2015 9:37 PM, Paul Benedict wrote:
>
>> Does the JPA spec support mapping a collection of subtypes? I haven't
>> found any spec or implementation documentation that demonstrates it
>> supported; that's why I am asking.
>>
>> There is a similar question on Stack Overflow. I am linking to it because
>> it has example mappings that are similar to my real-world case. I also get
>> his exact unexpected result too:
>>
>>
>> http://stackoverflow.com/questions/32036228/mapping-subclass-list-in-java-using-hibernate-annotations
>>
>> Please advise. Thanks for your help.
>>
>> Cheers,
>> Paul
>>
>
>