code: public Client getClient(EntityMetadata m)
      {
          // // Persistence Unit used to retrieve client
          if (m == null)
          {
              throw new KunderaException("Entitymatadata should not be null");
          }
          String persistenceUnit = m.getPersistenceUnit();
  
          return getClient(persistenceUnit);
      }
docs: Gets the client.
  
  @param m
  the m
  @return the client