SpringSource/spring-data-neo4j — Issue #28: @Autowired not working for objects instantiated via graph repository
Author: styoung
Created: 2012-01-19 02:38:48+00:00
State: open

@NodeEntity
@Configurable
public class Task
{
@Autowired
ProductRepository productRepository;
...
}

If this class is instantiated via new(), productRepository will be injected. When pulled via graph repository it will be null.