roo workarounds
This commit is contained in:
@@ -8,6 +8,8 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.persistence.graph.neo4j.NodeBacked;
|
||||
import org.springframework.persistence.graph.neo4j.RelationshipBacked;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.TYPE)
|
||||
public @interface Graph {
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
|
||||
@@ -100,7 +100,7 @@ public aspect Neo4jNodeBacking extends AbstractTypeAnnotatingMixinFields<Graph.E
|
||||
return this.underlyingNode.createRelationshipTo(nb.getUnderlyingNode(), type);
|
||||
}
|
||||
|
||||
public long NodeBacked.getId() {
|
||||
public Long NodeBacked.getId() {
|
||||
return underlyingNode.getId();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user