Package railo.runtime.orm

Examples of railo.runtime.orm.ORMSession.evictEntity()


  public static String call(PageContext pc,String entityName) throws PageException {
    return call(pc, entityName,null);
  }
  public static String call(PageContext pc,String entityName,String primaryKey) throws PageException {
    ORMSession session=ORMUtil.getSession(pc);
    if(StringUtil.isEmpty(primaryKey))session.evictEntity(pc, entityName);
    else session.evictEntity(pc, entityName,primaryKey);
    return null;
  }
}
View Full Code Here


    return call(pc, entityName,null);
  }
  public static String call(PageContext pc,String entityName,String primaryKey) throws PageException {
    ORMSession session=ORMUtil.getSession(pc);
    if(StringUtil.isEmpty(primaryKey))session.evictEntity(pc, entityName);
    else session.evictEntity(pc, entityName,primaryKey);
    return null;
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.