-
Notifications
You must be signed in to change notification settings - Fork 3k
issue-50138-hibernate-orm-named-qualifier #50453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue-50138-hibernate-orm-named-qualifier #50453
Conversation
Thanks for your pull request! Your pull request does not follow our editorial rules. Could you have a look?
This message is automatically generated by a bot. |
/cc @gsmet (hibernate-orm) |
Consistently apply @nAmed and @PersistenceUnit qualifiers to Hibernate ORM beans Fixes quarkusio#50138 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.
e167e57
to
e80fea1
Compare
...kus/hibernate/orm/multiplepersistenceunits/MultiplePersistenceUnitsCdiEntityManagerTest.java
Show resolved
Hide resolved
…te 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 quarkusio#50138
LGTM, thank you. Let's see if CI agrees. |
Status for workflow
|
Consistently apply @ Named and @PersistenceUnit qualifiers to Hibernate ORM beans
Fixes #50138
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.