persistence/play-java-jpa/src/main/java/play/db/jpa/DefaultJPAApi.java
public EntityManager em(String name) {
    EntityManagerFactory emf = emfs.get(name);
    if (emf == null) {
      return null;
    }
    return emf.createEntityManager();
  }
public EntityManager em(String name) {
    EntityManagerFactory emf = emfs.get(name);
    if (emf == null) {
      return null;
    }
    return emf.createEntityManager();
  }
public EntityManager em ( String name ) { EntityManagerFactory emf = emfs . get ( name ) ; if ( emf == null ) { return null ; } return emf . createEntityManager ( ) ; }
Get a newly created EntityManager for the specified persistence unit name.

@param name The persistence unit name
Get a newly created EntityManager for the specified persistence unit name .