You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consistently apply @ Named and @PersistenceUnit qualifiers to Hibernate ORM beans
- Previously, the @ Named and @PersistenceUnit qualifiers were added conditionally to Hibernate ORM beans. This change ensures that both qualifiers are always applied for every persistence unit, aligning the behavior with Hibernate Search and improving consistency and CDI injection reliability across the codebase.
- Tests are updated to confirm that beans are correctly qualified and injected for each persistence unit.
- Fixes#50138
Copy file name to clipboardExpand all lines: extensions/hibernate-orm/deployment/src/test/java/io/quarkus/hibernate/orm/multiplepersistenceunits/MultiplePersistenceUnitsCdiEntityManagerTest.java
+28-12Lines changed: 28 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,24 @@ public class MultiplePersistenceUnitsCdiEntityManagerTest {
0 commit comments