Class EntityToPersistenceUnitUtil
java.lang.Object
io.quarkus.hibernate.panache.deployment.EntityToPersistenceUnitUtil
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddetermineEntityPersistenceUnits(Optional<io.quarkus.hibernate.orm.deployment.JpaModelPersistenceUnitMappingBuildItem> jpaModelPersistenceUnitMapping, List<io.quarkus.hibernate.orm.deployment.PersistenceUnitDescriptorBuildItem> descriptors, Set<String> candidates, String source, EntityToPersistenceUnitUtil.TriConsumer consumer) 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 Details
-
determineEntityPersistenceUnits
public static void determineEntityPersistenceUnits(Optional<io.quarkus.hibernate.orm.deployment.JpaModelPersistenceUnitMappingBuildItem> jpaModelPersistenceUnitMapping, List<io.quarkus.hibernate.orm.deployment.PersistenceUnitDescriptorBuildItem> descriptors, Set<String> candidates, String source, EntityToPersistenceUnitUtil.TriConsumer consumer) 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
-