I try to reuse entity soft references on one of my project entity, but I have the followin exception :
Internal Exception: Exception [EclipseLink-7351] (Eclipse Persistence Services - 2.6.2.cuba23): org.eclipse.persistence.exceptions.ValidationException
Exception Description: The converter class [de.diedavids.cuba.entitysoftreference.EntitySoftReferenceConverter] specified on the mapping attribute [subject] from the class [com.busy.app.entity.func.comm.CustomerEventEntity] was not found. Please ensure the converter class name is correct and exists with the persistence unit definition.
The field is declared the way below, compilation is ok as well as Studio assemble.
Using entity-soft-reference-global 0.3.2. I’m aware that the add-on (like may others) has its own persistence.xml but shouldn’t CUBA merge all of them at predeploy time ?
@SystemLevel @Convert(converter = EntitySoftReferenceConverter.class) @MetaProperty(datatype = "EntitySoftReference") @Column(name = "REFERENCE") protected com.haulmont.cuba.core.entity.Entity reference;