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);
    }
public Client getClient ( EntityMetadata m ) { if ( m == null ) { throw new KunderaException ( "Entitymatadata should not be null" ) ; } String persistenceUnit = m . getPersistenceUnit ( ) ; return getClient ( persistenceUnit ) ; }
Gets the client.

@param m
the m
@return the client