Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Exclude transient fields #44

Merged
merged 1 commit into from

2 participants

@ractive

Exclude transient fields from the field accessor pointcuts in the Neo4jRelationshipBacking aspect as well

@jexp jexp merged commit e0cc04f into spring-projects:2.0.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 27, 2012
  1. @ractive

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

    ractive authored
    …4jRelationshipBacking aspect as well
This page is out of date. Refresh to see the latest.
View
4 ...a/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.*);
Something went wrong with that request. Please try again.