Skip to content

Commit 2d3e089

Browse files
authored
Merge pull request #48253 from DavideD/31974-v3
Collect the configuration of the Hibernate ORM and Reactive processors
2 parents 6d3fb34 + 8af7560 commit 2d3e089

File tree

4 files changed

+422
-597
lines changed

4 files changed

+422
-597
lines changed

extensions/hibernate-orm/deployment/src/main/java/io/quarkus/hibernate/orm/deployment/HibernateOrmCdiProcessor.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package io.quarkus.hibernate.orm.deployment;
22

3+
import static io.quarkus.hibernate.orm.deployment.util.HibernateProcessorUtil.hasEntities;
34
import static org.apache.commons.lang3.BooleanUtils.isFalse;
45

56
import java.lang.reflect.Modifier;
@@ -264,7 +265,7 @@ void registerBeans(HibernateOrmConfig hibernateOrmConfig,
264265
CombinedIndexBuildItem combinedIndex,
265266
List<PersistenceUnitDescriptorBuildItem> descriptors,
266267
JpaModelBuildItem jpaModel) {
267-
if (!HibernateOrmProcessor.hasEntities(jpaModel)) {
268+
if (!hasEntities(jpaModel)) {
268269
return;
269270
}
270271

@@ -293,7 +294,7 @@ void registerBeans(HibernateOrmConfig hibernateOrmConfig,
293294
void transformBeans(JpaModelBuildItem jpaModel, JpaModelIndexBuildItem indexBuildItem,
294295
BeanDiscoveryFinishedBuildItem beans,
295296
BuildProducer<BytecodeTransformerBuildItem> producer) {
296-
if (!HibernateOrmProcessor.hasEntities(jpaModel)) {
297+
if (!hasEntities(jpaModel)) {
297298
return;
298299
}
299300

0 commit comments

Comments
 (0)