DATACMNS-228 - AbstractMappingContext disregards Groovy meta fields.

Refactored persistent field discovery by extracting the FieldFilter implementation and improving the way excluded fields are detected. We now exclude all fields named "this$*" as well as a metaClass field of type groovy.lang.MetaClass explicitly.
This commit is contained in:
Oliver Gierke
2012-09-10 12:56:20 +02:00
parent e922845407
commit a01de83547
4 changed files with 199 additions and 8 deletions

View File

@@ -161,6 +161,14 @@
<version>2.2.3U1</version>
<scope>test</scope>
</dependency>
<!-- Groovy -->
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>1.8.6</version>
<scope>test</scope>
</dependency>
</dependencies>