Examples of CollectionKey


Examples of org.hibernate.engine.spi.CollectionKey

    // in a temp collection.  the temp collection is then used to "drive"
    // the #endRead processing.
    List matches = null;
    Iterator iter = localLoadingCollectionKeys.iterator();
    while ( iter.hasNext() ) {
      final CollectionKey collectionKey = (CollectionKey) iter.next();
      final LoadingCollectionEntry lce = loadContexts.locateLoadingCollectionEntry( collectionKey );
      if ( lce == null ) {
        LOG.loadingCollectionKeyNotFound( collectionKey );
      }
      else if ( lce.getResultSet() == resultSet && lce.getPersister() == persister ) {
        if ( matches == null ) {
          matches = new ArrayList();
        }
        matches.add( lce );
        if ( lce.getCollection().getOwner() == null ) {
          session.getPersistenceContext().addUnownedCollection(
              new CollectionKey(
                  persister,
                  lce.getKey(),
                  persister.getOwnerEntityPersister().getEntityMetamodel().getEntityMode()
              ),
              lce.getCollection()
View Full Code Here

Examples of railo.transformer.bytecode.expression.type.CollectionKey

        arg.setValue(LitDouble.toExprDouble(scope),"number");
       
        // add second argument
       
        if(arr.length==1){
          Expression expr = new CollectionKey(arr[0]);//LitString.toExprString(str);
          arg=new Argument(expr,Collection.Key.class.getName());
          bif.addArgument(arg)
        }
        else {
          CollectionKeyArray expr=new CollectionKeyArray(arr);
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.