Class EntityToPersistenceUnitUtil
- java.lang.Object
-
- io.quarkus.hibernate.orm.panache.deployment.EntityToPersistenceUnitUtil
-
public final class EntityToPersistenceUnitUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
Method Detail
-
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
-
-