persistence/play-java-jpa/src/main/java/play/db/jpa/DefaultJPAConfig.java
public static JPAConfig of(String n1, String u1, String n2, String u2) {
    return new DefaultJPAConfig(
        new JPAConfig.PersistenceUnit(n1, u1), new JPAConfig.PersistenceUnit(n2, u2));
  }
public static JPAConfig of(String n1, String u1, String n2, String u2) {
    return new DefaultJPAConfig(
        new JPAConfig.PersistenceUnit(n1, u1), new JPAConfig.PersistenceUnit(n2, u2));
  }
Create a default JPA configuration with the given names and unit names.

@param n1 Name of the first entity manager factory
@param u1 Name of the first unit
@param n2 Name of the second entity manager factory
@param u2 Name of the second unit
@return a default JPA configuration with the provided persistence units.