Hibernate filter does not apply for join entity
问题 I am trying to understand hibernate filters, i thought that the filter is applied even if the query is not started from the filtered entity and can be applied if i just join to it. My entities: @Table(name = "SPM_SECTION", schema = "TEST") @GenericGenerator(name = "MODSEC_ID.GEN", strategy = "uuid2") public class ModuleSection implements Serializable { private AcademicClass academicClass; @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "CLASS_ID") public AcademicClass getAcademicClass()