List of usage examples for org.springframework.data.mongodb.core.mapping PersonNullProperties PersonNullProperties
public PersonNullProperties()
From source file:org.springframework.data.mongodb.core.mapping.MappingTests.java
@Test public void testPersonWithNullProperties() { PersonNullProperties p = new PersonNullProperties(); template.insert(p); assertNotNull(p.getId()); }