DATADOC-190 - SimpleMongoRepository.exists(…) now works for entities with non-ObjectId id type.
Changed the implementation of the exists(…) method to make sure the query is handed to the QueryMapper to convert the id appropriately before executing the query.
@ -121,12 +115,8 @@ public class SimpleMongoRepository<T, ID extends Serializable> implements Paging
@@ -121,12 +115,8 @@ public class SimpleMongoRepository<T, ID extends Serializable> implements Paging
@ -259,4 +259,12 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -259,4 +259,12 @@ public abstract class AbstractPersonRepositoryIntegrationTests {