Scott Marlow in which class is the code above? I looked into org.jboss.as.jpa.persistenceprovider.PersistenceProviderResolverImpl, but there is no method createEntityManagerFactory().