DATAGRAPH-617 - Fixed repository creation after changes in Spring Data Commons.

The repository factory now passes the correct set of constructor arguments to the reflective repository creation.

Related ticket: DATACMNS-542.
This commit is contained in:
Oliver Gierke
2015-05-05 15:59:15 +02:00
parent c1b933a3ee
commit 1a07b52df3

View File

@@ -68,7 +68,7 @@ public class GraphRepositoryFactory extends RepositoryFactorySupport {
}
protected Object getTargetRepository(RepositoryInformation metadata, Neo4jTemplate template) {
return getTargetRepositoryViaReflection(metadata, template);
return getTargetRepositoryViaReflection(metadata, metadata.getDomainType(), template);
}
@Override