Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Exclude transient fields from the field accessor pointcuts in the Neo…

…4jRelationshipBacking aspect as well
  • Loading branch information...
commit 08cd0010e389672844314bc2835e6ed90c9d9f07 1 parent acd5d78
@ractive authored
View
4 ...ts/src/main/java/org/springframework/data/neo4j/aspects/support/relationship/Neo4jRelationshipBacking.aj
@@ -72,13 +72,13 @@ public aspect Neo4jRelationshipBacking {
protected pointcut entityFieldGet(RelationshipBacked entity) :
- get(* RelationshipBacked+.*) &&
+ get(!transient * RelationshipBacked+.*) &&
this(entity) &&
!get(* RelationshipBacked.*);
protected pointcut entityFieldSet(RelationshipBacked entity, Object newVal) :
- set(* RelationshipBacked+.*) &&
+ set(!transient * RelationshipBacked+.*) &&
this(entity) &&
args(newVal) &&
!set(* RelationshipBacked.*);
Please sign in to comment.
Something went wrong with that request. Please try again.