Sun Java System Application Server Platform Edition 9 Release Notes

Entity mapping @ManyToMany fails on inherited class.

For more information, see https://glassfish.dev.java.net/issues/show_bug.cgi?id=578.

Solution

Do not use ManyToMany relationship in a subclass.