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