and how can your mappedBy contain a dot in it? It should be a name of a property (for example "target"). I think this may be the cause.
Also, then using @OneToMany, you don't have to use @VersionsJoinTable. It will work without it.
@VersionsJoinTable is just needed for the special case when you use @OneToMany and @JointTable.
ProductwiseTarget is a association class between product and target objects (many to many). It contains an embeddable object ProductwiseTargetPK, that's why the mapped by in Target contains a dot.
Moreover, the target class is a superclass in my case, using Joined inheritance. Is it supported by enverse?
What should I do in this case?
Ah ... so you have a relation inside a component?
Unfortunately that's not supported yet (it's not part of standard JPA mappings). Also, joined inheritance isn't yet supported, only the single-table inheritance.