Skip to content

Commit 73cc774

Browse files
committed
Revert "[quarkusio#31974][quarkusio#28629] Refactor the Hibernate processors"
This reverts commit e6ffaf6.
1 parent a978f95 commit 73cc774

File tree

3 files changed

+597
-56
lines changed

3 files changed

+597
-56
lines changed

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

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

3-
import static io.quarkus.hibernate.orm.deployment.util.HibernateProcessorUtil.hasEntities;
43
import static org.apache.commons.lang3.BooleanUtils.isFalse;
54

65
import java.lang.reflect.Modifier;
@@ -265,7 +264,7 @@ void registerBeans(HibernateOrmConfig hibernateOrmConfig,
265264
CombinedIndexBuildItem combinedIndex,
266265
List<PersistenceUnitDescriptorBuildItem> descriptors,
267266
JpaModelBuildItem jpaModel) {
268-
if (!hasEntities(jpaModel)) {
267+
if (!HibernateOrmProcessor.hasEntities(jpaModel)) {
269268
return;
270269
}
271270

@@ -294,7 +293,7 @@ void registerBeans(HibernateOrmConfig hibernateOrmConfig,
294293
void transformBeans(JpaModelBuildItem jpaModel, JpaModelIndexBuildItem indexBuildItem,
295294
BeanDiscoveryFinishedBuildItem beans,
296295
BuildProducer<BytecodeTransformerBuildItem> producer) {
297-
if (!hasEntities(jpaModel)) {
296+
if (!HibernateOrmProcessor.hasEntities(jpaModel)) {
298297
return;
299298
}
300299

0 commit comments

Comments
 (0)