roo workarounds

This commit is contained in:
Michael Hunger
2010-08-27 21:47:00 +02:00
parent c5ac97c872
commit c1df1f6807
2 changed files with 3 additions and 1 deletions

View File

@@ -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)

View File

@@ -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();
}