Open andreysubbotin opened 5 years ago
As a workaround helps if there is some child entity like:
package com.company.jpa;
import javax.persistence.Entity;
@Entity
public class MyEntityChild extends User{
}
Problem is if parent class with @MappedSuperclass
is not used/inherited.
We use that workaround. It would be nice if it works without WA.
Abstract MappedSuperclass in separate JAR weaved statically. Mapped class is weaved (because it fixed in https://bugs.eclipse.org/bugs/show_bug.cgi?id=466271) but setters/getters for properties are not weaved e.g.:
Test project: test-jpa.zip Build project (
mvn package
) and decompile classUser