Package com.avaje.ebeaninternal.server.deploy

Examples of com.avaje.ebeaninternal.server.deploy.BeanProperty


   
    if (deployProp instanceof DeployBeanPropertyCompound) {
      return new BeanPropertyCompound(owner, desc, (DeployBeanPropertyCompound) deployProp);
    }

    return new BeanProperty(owner, desc, deployProp);
  }
View Full Code Here


      for (int i = 0; i < derivedRelationships.size(); i++) {
        DerivedRelationshipData derivedRelationshipData = derivedRelationships.get(i);

        BeanDescriptor<?> beanDescriptor = ebeanServer.getBeanDescriptor(derivedRelationshipData.getBean().getClass());
       
        BeanProperty prop = beanDescriptor.getBeanProperty(derivedRelationshipData.getLogicalName());
        EntityBean entityBean = (EntityBean)derivedRelationshipData.getBean();
        entityBean._ebean_getIntercept().markPropertyAsChanged(prop.getPropertyIndex());
       
        ebeanServer.update(entityBean, transaction);       
      }
    }
  }
View Full Code Here

  public ConcurrencyMode determineConcurrencyMode() {

    // 'partial bean' update/delete...
    if (concurrencyMode.equals(ConcurrencyMode.VERSION)) {
      // check the version property was loaded
      BeanProperty prop = beanDescriptor.getVersionProperty();
      if (prop != null && intercept.isLoadedProperty(prop.getPropertyIndex())) {
        // OK to use version property
      } else {
        concurrencyMode = ConcurrencyMode.NONE;
      }
    }
View Full Code Here

TOP

Related Classes of com.avaje.ebeaninternal.server.deploy.BeanProperty

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.