Skip to content

Commit

Permalink
fixed with skipping ignored properties
Browse files Browse the repository at this point in the history
only working with jackson 2.8.7-SNAPSHOT
see FasterXML/jackson-databind#935
  • Loading branch information
Mathias Düsterhöft committed Feb 10, 2017
1 parent c46df6e commit 8d85c61
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@
<id>spring-libs-snapshot</id>
<url>https://repo.spring.io/libs-snapshot</url>
</repository>
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
</repositories>

<pluginRepositories>
Expand Down
2 changes: 1 addition & 1 deletion spring-data-rest-webmvc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson}</version>
<version>2.8.7-SNAPSHOT</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ private MappedProperties(PersistentEntity<?, ?> entity, BeanDescription descript

for (BeanPropertyDefinition property : description.findProperties()) {

if (description.getIgnoredPropertyNames().contains(property.getName())) {
continue;
}
PersistentProperty<?> persistentProperty = entity.getPersistentProperty(property.getInternalName());

if (persistentProperty != null) {
Expand Down

0 comments on commit 8d85c61

Please sign in to comment.