DATAGRAPH-340 3.0.GA Release
* update to Spring Data Commons 1.7.0.RELEASE * temporarily disable strict checking until fixed in SDC
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -32,7 +32,7 @@
|
||||
<properties>
|
||||
<project.type>multi</project.type>
|
||||
<dist.id>spring-data-neo4j</dist.id>
|
||||
<springdata.commons>1.7.0.BUILD-SNAPSHOT</springdata.commons>
|
||||
<springdata.commons>1.7.0.RELEASE</springdata.commons>
|
||||
|
||||
<!-- Neo4j 2.0 now requires JDK 7 as a min -->
|
||||
<source.level>1.7</source.level>
|
||||
|
||||
@@ -97,7 +97,7 @@ public class Neo4jMappingContext extends AbstractMappingContext<Neo4jPersistentE
|
||||
@Override
|
||||
public void initialize() {
|
||||
super.initialize();
|
||||
setStrict(true);
|
||||
//TODO re-enable after SDC update setStrict(true);
|
||||
}
|
||||
|
||||
private boolean isRelationshipEntityType(Class<?> type) {
|
||||
@@ -161,6 +161,7 @@ public class Neo4jMappingContext extends AbstractMappingContext<Neo4jPersistentE
|
||||
try {
|
||||
final Neo4jPersistentEntityImpl<?> entity = getPersistentEntity(type);
|
||||
if (entity == null) annotationCheckCache.put(type, type);
|
||||
else if (!shouldCreatePersistentEntityFor(ClassTypeInformation.from(type))) annotationCheckCache.put(type, type);
|
||||
else if (entity.isNodeEntity()) annotationCheckCache.put(type, NodeEntity.class);
|
||||
else if (entity.isRelationshipEntity()) annotationCheckCache.put(type, RelationshipEntity.class);
|
||||
else annotationCheckCache.put(type, type);
|
||||
|
||||
Reference in New Issue
Block a user