Examples of merge()


Examples of org.springframework.orm.hibernate3.HibernateTemplate.merge()

        ht.flush();
    }

    protected void merge(String entityName, Object obj) {
        HibernateTemplate ht = findHibernateTemplate();
        ht.merge(entityName, obj);
        ht.flush();
    }

    protected void delete(String entityName, Object obj) {
        HibernateTemplate ht = findHibernateTemplate();
View Full Code Here

Examples of org.tmatesoft.svn.core.SVNMergeRangeList.merge()

            if (isRollBack) {
                ranges = ranges.dup();
                ranges = ranges.reverse();
                rangeList = rangeList.diff(ranges, false);
            } else {
                rangeList = rangeList.merge(ranges);
            }
           
            mergeInfo.put(reposPath, rangeList);
            //TODO: I do not understand this:) how mergeInfo can be ever empty here????
            if (isRollBack && mergeInfo.isEmpty()) {
View Full Code Here

Examples of org.vertx.java.core.eventbus.impl.ServerIDs.merge()

              sids = new ServerIDs(0);
            }
            ServerIDs prev = cache.putIfAbsent(subName, sids);
            if (prev != null) {
              // Merge them
              prev.merge(sids);
              sids = prev;
            }
            sids.setInitialised();
            sresult.setResult(sids);
          } else {
View Full Code Here

Examples of org.zanata.service.TranslationMergeService.merge()

                    TranslationMergeService mergeService =
                            translationMergeServiceFactory
                                    .getMergeService(mergeContext);

                    boolean targetChanged =
                            mergeService.merge(incomingTarget, hTarget,
                                    extensions);
                    if (hTarget == null) {
                        // in case hTarget was null, we need to
                        // retrieve it after merge
                        hTarget = textFlow.getTargets().get(locale.getId());
View Full Code Here

Examples of org.zkoss.zss.model.Range.merge()

       
        Range range = Ranges.range(sheet, tRow, lCol, bRow, rCol);
        if (merged) {
          range.unMerge();
        } else {
          range.merge(false);
          doHorizontalAlignCenter(selection)
        }
      } else {
        showProtectMessage();
      }
View Full Code Here

Examples of parquet.hadoop.metadata.GlobalMetaData.merge()

      for (BlockMetaData block : footer.getParquetMetadata().getBlocks()) {
        block.setPath(path);
        blocks.add(block);
      }
    }
    return new ParquetMetadata(fileMetaData.merge(), blocks);
  }

  /**
   * @return the current position in the underlying file
   * @throws IOException
View Full Code Here

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

public class EntityMerge {

  public static Object call(PageContext pc, Object obj) throws PageException {
    ORMSession session=ORMUtil.getSession(pc);
    return session.merge(pc,obj);
  }
}
View Full Code Here

Examples of reportgen.formatter.simple.ResultGroup.merge()

     */
    @Override
    public void toHTML(PrintStream stream) throws ReportException {
        ResultGroup group = new ResultGroup(getMetaData());
        for(int i=0; i<results.getRowCount(); i++) {
            group.merge(results.getRow(i));
        }
        stream.append(getHeader(title));
        group.format(stream, 2, "", data.isMakeSumRows());
        stream.append(getTail());
    }
View Full Code Here

Examples of reportgen.prototype.queryresults.ResultsRow.merge()

        List<ResultsRow> resultRows = new ArrayList<ResultsRow>();
        ResultsRow row = rows.get(0).clone();
        resultRows.add(row);
        row.initSummRow(data.getModes());
        for (int i = 1; i < rows.size(); i++) {
            row.merge(rows.get(i), null, data.getModes());
        }
        row.normalize(data.getModes());
        return resultRows;
    }
View Full Code Here

Examples of soot.Type.merge()

                    Type argumentType = argument.getType();

                    if (argumentType != parameterType) {
                        // This is inefficient.  Full type merging is
                        // expensive and unnecessary.
                        isEqual = (parameterType == argumentType.merge(
                                parameterType, Scene.v()));
                    }

                    if (!isEqual) {
                        break;
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.