|
I can avoid that error by removing the lines
// If there is a where clause on the relation, adding it to the middle entity. if ( where != null ) { middleEntityXml.addAttribute( "where", where ); }
from file ./hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/CollectionMetadataGenerator.java. But is this correct? Or, whats the motivation for setting the "where"-clause to the middle entity?
|