public void afterPropertiesSet() {
Assert.notNull(template, "Neo4jTemplate must not be null!");
if (neo4jMappingContext == null) {
Neo4jMappingContext context = new Neo4jMappingContext();
context.initialize();
this.neo4jMappingContext = context;
}
setMappingContext(neo4jMappingContext);
super.afterPropertiesSet();