code: @SuppressWarnings({ "unchecked", "rawtypes" })
  	public <T, I extends Serializable, D, J extends Serializable> RelationshipRepositoryStub<T, I, D, J> getQueryParamsRepository(Class<T> sourceClass, Class<D> targetClass) {
  		init();
  
  		RegistryEntry entry = resourceRegistry.findEntry(sourceClass);
  
  		RelationshipRepositoryAdapter repositoryAdapter = entry.getRelationshipRepositoryForClass(targetClass, null);
  		return (RelationshipRepositoryStub<T, I, D, J>) repositoryAdapter.getRelationshipRepository();
  	}
docs: @param sourceClass
  source class
  @param targetClass
  target class
  @return stub for the relationship between the given source and target
  class
  
  @deprecated make use of QuerySpec