code: public Connector merge(Connector conn, Activation ij)
     {
        if (ij == null)
           return conn;
  
        //merge transactionSupport;
        mergeTransactionSupport(ij, conn);
  
        // merge RA onfigProperties;
        List<ConfigProperty> original = conn.getResourceadapter().getConfigProperties();
        List<ConfigProperty> newProperties = this.mergeConfigProperties(ij.getConfigProperties(), original);
  
        ((ResourceAdapterImpl) conn.getResourceadapter()).forceConfigProperties(newProperties);
  
        if (conn.getVersion() != Version.V_10)
        {
           //merge adminObjects;
  
           ResourceAdapter ra = conn.getResourceadapter();
           if (ra != null && ra.getAdminObjects() != null)
           {
              List<AdminObject> newAdminObjects = new ArrayList<AdminObject>(ra.getAdminObjects().size());
              for (AdminObject adminObj : ra.getAdminObjects())
              {
                 AdminObject newAdminObj = adminObj;
                 newAdminObjects.add(newAdminObj);
              }
              ((ResourceAdapterImpl) ra).forceAdminObjects(newAdminObjects);
           }
           //merge connectionDefinitions;
           if (ra != null && ra.getOutboundResourceadapter() != null &&
               ra.getOutboundResourceadapter().getConnectionDefinitions() != null)
           {
              List<ConnectionDefinition> newConDefs = new ArrayList<ConnectionDefinition>(ra
                 .getOutboundResourceadapter().getConnectionDefinitions().size());
              for (ConnectionDefinition conDef : ra.getOutboundResourceadapter().getConnectionDefinitions())
              {
                 ConnectionDefinition newConDef = conDef;
                 newConDefs.add(newConDef);
              }
              ((OutboundResourceAdapterImpl) ra.getOutboundResourceadapter())
                 .forceConnectionDefinitions(newConDefs);
           }
        }
  
        return conn;
     }
docs: Merge a {@link Connector} and a {@link Activation} to form the resulting spec metadata
  @param conn {@link Connector} object
  @param ij The {@link Activation} object
  @return The merged {@link Connector}