When I try to delete an entity and then click OK in edit form i got this message
ClassCastException: org.eclipse.persistence.internal.indirection.jdk8.IndirectList cannot be cast to com.haulmont.cuba.core.entity.Entity
When I try to delete an entity and then click OK in edit form i got this message
ClassCastException: org.eclipse.persistence.internal.indirection.jdk8.IndirectList cannot be cast to com.haulmont.cuba.core.entity.Entity
This problem is solved. On Delete = CASCADE to many places. Is fixed.