Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,10 @@ jakarta-persistence-interface-deprecated-PersistenceUnitTransactionType-for-remo
jakarta-persistence-interface-deprecated-persistence-for-removal=Your application won't work, \
\n please remove the usage of this constructor. This class is not designed for extensibility.
jakarta-persistence-interface-deprecated-persistence-field-for-removal=Your application won't work, \
\n please remove the usage of this constant. This class is not designed for extensibility.
\n please remove the usage of this constant. This class is not designed for extensibility.
jakarta-persistence-interface-persistencecontext-cdi-ambiguous=To avoid ambiguous dependency errors, consider these options: \
\n 1. RECOMMENDED: Remove custom EntityManager @Produces methods and use @Inject EntityManager directly. \
\n Jakarta EE 11 supports direct injection without custom producers. \
\n 2. If you need custom logic, add a @Qualifier annotation to your @Produces method to make it distinct. \
\n 3. Move @PersistenceContext directly to the injection point instead of using a producer. \
\n See: https://payara.atlassian.net/browse/FISH-11759
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,8 @@ jakarta-persistence-interface-deprecated-persistence-for-removal=Jakarta Persist
\n since Jakarta Persistence 3.2 this constructor from Persistence class was deprecated and marked for removal.
jakarta-persistence-interface-deprecated-persistence-field-for-removal=Jakarta Persistence 3.2 \
\n since Jakarta Persistence 3.2 this constant from Persistence class was deprecated and marked for removal.
jakarta-persistence-interface-persistencecontext-cdi-ambiguous=Jakarta Persistence 3.2 (Jakarta EE 11) \
\n In Jakarta EE 11, CDI now provides a default EntityManager producer through PersistenceExtension. \
\n If you have a custom @Produces method for EntityManager without a qualifier, this can cause an ambiguous \
\n dependency error (WELD-001409). The old pattern of creating EntityManager producers with @PersistenceContext \
\n may conflict with the platform's built-in producer.
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ jakarta-persistence-method-deprecated-addKeySubgraph-for-removal-case-2-error=ja
jakarta-persistence-interface-deprecated-PersistenceUnitTransactionType-for-removal-error=jakarta.persistence.spi.PersistenceUnitTransactionType
jakarta-persistence-interface-deprecated-persistence-for-removal-error=jakarta.persistence.Persistence#constructor
jakarta-persistence-interface-deprecated-persistence-field-for-removal-error=jakarta.persistence.Persistence#constant.PERSISTENCE_PROVIDER
jakarta-persistence-interface-persistencecontext-cdi-ambiguous-error=jakarta.persistence.PersistenceContext