code: private void applyPoolConfiguration(PoolConfiguration pc,
                                         org.ironjacamar.common.api.metadata.common.Pool p)
     {
        if (p != null)
        {
           if (p.getMinPoolSize() != null)
              pc.setMinSize(p.getMinPoolSize().intValue());
  
           if (p.getInitialPoolSize() != null)
              pc.setInitialSize(p.getInitialPoolSize().intValue());
  
           if (p.getMaxPoolSize() != null)
              pc.setMaxSize(p.getMaxPoolSize().intValue());
  
           if (p.isPrefill() != null)
              pc.setPrefill(p.isPrefill().booleanValue());
           if (p.getFlushStrategy() != null)
              pc.setFlushStrategy(p.getFlushStrategy());
  
        }
     }
docs: Apply pool to pool configuration
  @param pc The pool configuration
  @param p The pool definition