Package org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor

Examples of org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor.PotentiallyConvertingIterator


  }

  private Object setupAndConvert(Object... parameters) {

    MongoParameterAccessor delegate = new StubParameterAccessor(parameters);
    PotentiallyConvertingIterator iterator = new ConvertingParameterAccessor(converter, delegate).iterator();

    MongoPersistentEntity<?> entity = context.getPersistentEntity(Entity.class);
    MongoPersistentProperty property = entity.getPersistentProperty("property");

    return iterator.nextConverted(property);
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor.PotentiallyConvertingIterator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.