DATACMNS-355 - ReflectionAuditingBeanWrapper now uses a ConversionService.

We're not manually converting the DateTime instance into the user field type but delegate to a ConversionService instance. This will allow us to automatically adhere to enhancements in conversion capabilities to the DefaultConversionService.
This commit is contained in:
Oliver Gierke
2013-08-07 13:48:19 +02:00
parent a63a2bbd75
commit 04d6859354
2 changed files with 34 additions and 10 deletions

View File

@@ -65,11 +65,9 @@ public class ReflectionAuditingBeanWrapperUnitTests {
class Sample {
@CreatedDate
Long createdDate;
@CreatedDate Long createdDate;
@LastModifiedDate
long modifiedDate;
@LastModifiedDate long modifiedDate;
}
Sample sample = new Sample();