Package org.springframework.data.mongodb.core.convert

Examples of org.springframework.data.mongodb.core.convert.CustomConversions


   * @see DATAMONGO-374
   */
  @Test
  public void convertsUpdateConstraintsUsingConverters() {

    CustomConversions conversions = new CustomConversions(Collections.singletonList(MyConverter.INSTANCE));
    this.converter.setCustomConversions(conversions);
    this.converter.afterPropertiesSet();

    Query query = new Query();
    Update update = new Update().set("foo", new AutogenerateableId());
View Full Code Here

TOP

Related Classes of org.springframework.data.mongodb.core.convert.CustomConversions

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.