Package org.springframework.data.mapping.model

Examples of org.springframework.data.mapping.model.SpELExpressionEvaluator


   
    if(idProperty.usePropertyAccess()) {
      return proxy;
    }
   
    SpELExpressionEvaluator evaluator = new DefaultSpELExpressionEvaluator(proxy, spELContext);
    BeanWrapper<Object> proxyWrapper = BeanWrapper.create(proxy, null);
   
    DBObject object = new BasicDBObject(idProperty.getFieldName(), source.getId());
    ObjectPath objectPath = ObjectPath.ROOT.push(proxy, persistentEntity, null);
    proxyWrapper.setProperty(idProperty, resolver.getValueInternal(idProperty, object, evaluator, objectPath));
View Full Code Here

TOP

Related Classes of org.springframework.data.mapping.model.SpELExpressionEvaluator

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.