Class EntityToPersistenceUnitUtil

java.lang.Object
io.quarkus.hibernate.orm.panache.deployment.EntityToPersistenceUnitUtil

public final class EntityToPersistenceUnitUtil extends Object
  • Method Details

    • determineEntityPersistenceUnits

      public static Map<String,String> determineEntityPersistenceUnits(Optional<io.quarkus.hibernate.orm.deployment.JpaModelPersistenceUnitMappingBuildItem> jpaModelPersistenceUnitMapping, Set<String> candidates, String source)
      Given the candidate entities, return a map with the persistence unit that single contains them or throw an exception if any of the candidates is part of more than one persistence unit