Added toDBRef(…) method to MongoWriter to be able to create a DBRef representation of an object. Polished DBRef creation implementation inside MappingMongoConverter. Removed collection and id attributes from @DBRef annotation as they have neither been documented nor used so far. Refactored MongoQueryCreator to be aware of the property and convert the given value into a DBRef if necessary.
@ -137,37 +138,33 @@ public class ConvertingParameterAccessor implements MongoParameterAccessor {
@@ -137,37 +138,33 @@ public class ConvertingParameterAccessor implements MongoParameterAccessor {
@ -185,6 +182,6 @@ public class ConvertingParameterAccessor implements MongoParameterAccessor {
@@ -185,6 +182,6 @@ public class ConvertingParameterAccessor implements MongoParameterAccessor {
@ -53,6 +54,10 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -53,6 +54,10 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@ -404,4 +409,25 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -404,4 +409,25 @@ public abstract class AbstractPersonRepositoryIntegrationTests {