Enable duplicate Filter throwing exception

repositoryService.createDeployment().addClasspathResource(filename).deploy(); ==> is working
but
repositoryService.createDeployment().addClasspathResource(filename)..enableDuplicateFiltering(true).deploy();
has an exception

Cause: org.apache.ibatis.type.TypeException: Error setting null for parameter #1 with JdbcType OTHER . Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property. Cause: com.microsoft.sqlserver.jdbc.SQLServerException: Die Konvertierung von "OTHER" in "BINARY" wird nicht unterst├╝tzt.
### The error may exist in org/camunda/bpm/engine/impl/mapping/entity/Resource.xml
### The error may involve org.camunda.bpm.engine.impl.persistence.entity.ResourceEntity.selectLatestResourcesByDeploymentName-Inline
### The error occurred while setting parameters .....

Hi @hung,

Which version of Camunda BPM and MS SQL Server do you use?
Are you able to provide a minimal process application that reproduces the problem?

Thanks,
Thorben