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
Copy file name to clipboardexpand all lines: foundation/org.eclipse.persistence.core.test.framework/src/main/java/org/eclipse/persistence/testing/tests/TestRunModel.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -425,7 +425,7 @@ public static TestModel buildJPAPerformanceTestModel() {
Copy file name to clipboardexpand all lines: foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/exceptions/i18n/QueryExceptionResource.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -186,8 +186,8 @@ public final class QueryExceptionResource extends ListResourceBundle {
186
186
{ "6148", "Adding {0} to PLSQLStoredProcedureCall is not supported." },
187
187
{ "6149", "PLSQLStoredProcedureCall cannot use an unnamed argument." },
188
188
{ "6150", "A null value cannot be used as a key in a container of type [{1}]. Ensure your key values for the objects of type [{0}] cannot be null." },
189
-
{ "6151", "An exception occurred while attempting to set a Redirector {0} passed through a JPA Query Hint {1}. Please verify that the provided Redirector implements org.eclipse.persistence.queries.QueryRedirector."},
190
-
{ "6152", "An exception occurred while attempting to instantiate the class {0} passed through a JPA Query Hint {1}. Please verify that the class has a default constructor."},
189
+
{ "6151", "An exception occurred while attempting to set a Redirector {0} passed through a Jakarta Persistence Query Hint {1}. Please verify that the provided Redirector implements org.eclipse.persistence.queries.QueryRedirector."},
190
+
{ "6152", "An exception occurred while attempting to instantiate the class {0} passed through a Jakarta Persistence Query Hint {1}. Please verify that the class has a default constructor."},
191
191
{ "6153", "CompatibleType must be set on complex type: {0}."},
192
192
{ "6154", "TypeName must be set on complex type: {0}."},
193
193
{ "6155", "No relation table found in {0}. {2}joinCriteria Expression: [{1}]"},
Copy file name to clipboardexpand all lines: foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/exceptions/i18n/ValidationExceptionResource.java
+4-4
Original file line number
Diff line number
Diff line change
@@ -322,7 +322,7 @@ public final class ValidationExceptionResource extends ListResourceBundle {
322
322
{ "7304", "PersistenceUnitProperties.ORACLE_PROXY_TYPE property set to unknown type [{0}], known types are [{1}], [{2}], [{3}]." },
323
323
{ "7305", "An exception was thrown while processing the mapping file from URL: [{0}]." },
324
324
{ "7306", "The annotated element [{0}] from the class [{1}] has an incorrect explicit access type specified. It should specify an access type of [{2}]." },
325
-
{ "7307", "Missing a logging context string for the context [{0}]. This is an internal exception that occurred retrieving a log message for JPA metadata processing, please report a bug." },
325
+
{ "7307", "Missing a logging context string for the context [{0}]. This is an internal exception that occurred retrieving a log message for Jakarta Persistence metadata processing, please report a bug." },
326
326
{ "7308", "The specified value [{0}] for for the persistence property [{1}] is invalid - [{2}]."},
327
327
{ "7309", "The attribute named [{1}] from the embeddable class [{0}] is not a valid mapping to use with an attribute-override for the attribute [{3}] on class [{2}]." },
328
328
{ "7310", "The target class of the element collection attribute [{0}] on the class [{1}] cannot be determined. When not using generics, ensure the target class is defined on the element collection mapping."},
@@ -351,7 +351,7 @@ public final class ValidationExceptionResource extends ListResourceBundle {
351
351
{ "7334", "Class [{0}] has an incomplete primary key specification. When specifying primary key columns, the names of those columns must be specified."},
352
352
{ "7335", "Duplicate partition value [{1}] given for @ValuePartitioning named [{0}]"},
353
353
{ "7336", "Multiple context properties [{2}] and [{3}] specified for the same tenant discriminator field [{1}] for class [{0}]"},
354
-
{ "7337", "The mapped tenant discriminator column [{1}] on the class [{0}] must be marked as read only. In JPA this is done by setting insertable=false and updatable=false on the column e.g. @Column(name=\"TENANT_ID\", insertable=false, updatable=false)."},
354
+
{ "7337", "The mapped tenant discriminator column [{1}] on the class [{0}] must be marked as read only. In Jakarta Persistence API this is done by setting insertable=false and updatable=false on the column e.g. @Column(name=\"TENANT_ID\", insertable=false, updatable=false)."},
355
355
{ "7338", "You cannot add sequences to a SessionBroker." },
356
356
{ "7339", "Alias [{0}] is used by both [{1}] and [{2}] classes. Descriptor alias must be unique." },
357
357
{ "7340", "There are multiple mapping files called [{0}] in classpath."},
@@ -365,12 +365,12 @@ public final class ValidationExceptionResource extends ListResourceBundle {
365
365
{ "7348", "The embedded mapping [{1}] from [{0}] does not specify an attribute name to which the convert is to be applied. You must specify an attribute name on the Embeddable."},
366
366
{ "7350", "The convert attribute name [{3}] from the mapping [{1}] from the class [{0}] was not found on the embeddable class [{2}]. Please ensure the attribute exists and is correctly named." },
367
367
{ "7351", "The converter class [{2}] specified on the mapping attribute [{1}] from the class [{0}] was not found. Please ensure the converter class name is correct and exists with the persistence unit definition." },
368
-
{ "7352", "The converter class [{0}] must implement the JPA jakarta.persistence.AttributeConverter<X, Y> interface to be a valid converter class." },
368
+
{ "7352", "The converter class [{0}] must implement the Jakarta Persistence jakarta.persistence.AttributeConverter<X, Y> interface to be a valid converter class." },
369
369
{ "7353", "The mapping attribute [{1}] from the class [{0}] is not a valid mapping type for a convert specification." },
370
370
{ "7354", "The mapping attribute [{1}] from the class [{0}] is not a valid mapping type for a map key convert specification." },
371
371
{ "7355", "The mapping attribute [{1}] from the class [{0}] is not a valid mapping type for a convert using an attribute name specification. An attribute name should only be specified to traverse an Embedded mapping type." },
372
372
{ "7356", "Procedure: [{1}] cannot be executed because {0} does not currently support multiple out parameters"},
373
-
{ "7357", "The \"[{0}]\" URL for \"[{1}]\" resource does not belong to a valid persistence root (as per JPA Specification)"},
373
+
{ "7357", "The \"[{0}]\" URL for \"[{1}]\" resource does not belong to a valid persistence root (as per Jakarta Persistence Specification)"},
Copy file name to clipboardexpand all lines: foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/internal/localization/i18n/ExceptionLocalizationResource.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (c) 1998, 2021 Oracle and/or its affiliates. All rights reserved.
2
+
* Copyright (c) 1998, 2022 Oracle and/or its affiliates. All rights reserved.
3
3
* Copyright (c) 1998, 2018 IBM Corporation and/or its affiliates. All rights reserved.
4
4
*
5
5
* This program and the accompanying materials are made available under the
@@ -138,8 +138,8 @@ public class ExceptionLocalizationResource extends ListResourceBundle {
138
138
{ "jpa_helper_invalid_report_query", "The query of type {0} is not an EclipseLink report query and therefore, could not be converted."},
139
139
{ "jpa_helper_invalid_read_all_query", "The query of type {0} is not an EclipseLink read all query and therefore, could not be converted."},
140
140
{ "jpa_helper_invalid_query", "The query of type {0} is not an EclipseLink query and therefore, could not be converted."},
141
-
{ "jpa_helper_invalid_entity_manager_factory", "The JPA EntityManagerFactory {0} is not an EclipseLink EntityManagerFactory and therefore, could not be converted."},
142
-
{ "jpa_helper_invalid_entity_manager_factory_for_refresh", "The JPA EntityManagerFactory {0} is not an EclipseLink EntityManagerFactory and therefore, could not have its metadata refreshed."},
141
+
{ "jpa_helper_invalid_entity_manager_factory", "The Jakarta Persistence EntityManagerFactory {0} is not an EclipseLink EntityManagerFactory and therefore, could not be converted."},
142
+
{ "jpa_helper_invalid_entity_manager_factory_for_refresh", "The Jakarta Persistence EntityManagerFactory {0} is not an EclipseLink EntityManagerFactory and therefore, could not have its metadata refreshed."},
143
143
{ "null_not_supported_identityweakhashmap", "The IdentityWeakHashMap does not support \"null\" as a key or value."},
Copy file name to clipboardexpand all lines: foundation/org.eclipse.persistence.core/src/main/java/org/eclipse/persistence/internal/localization/i18n/LoggingLocalizationResource.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -273,7 +273,7 @@ public class LoggingLocalizationResource extends ListResourceBundle {
273
273
{ "metadata_warning_ignore_temporal", "Ignoring temporal specification on element [{1}] within entity class [{0}] since EclipseLink convert metadata is specified." },
274
274
{ "metadata_warning_ignore_serialized", "Ignoring default serialization on element [{1}] within entity class [{0}] since EclipseLink convert metadata is specified." },
275
275
{ "metadata_warning_ignore_enumerated", "Ignoring enumerated specification on element [{1}] within entity class [{0}] since EclipseLink convert metadata is specified." },
276
-
{ "metadata_warning_ignore_converts", "Ignoring JPA convert specification on element [{1}] within entity class [{0}] since EclipseLink convert metadata is specified." },
276
+
{ "metadata_warning_ignore_converts", "Ignoring Jakarta Persistence convert specification on element [{1}] within entity class [{0}] since EclipseLink convert metadata is specified." },
277
277
{ "metadata_warning_ignore_auto_apply_converter", "Ignoring the auto-apply converter for element [{1}] within entity class [{0}] since EclipseLink convert metadata is specified." },
278
278
{ "metadata_warning_ignore_version_locking", "Optimistic locking metadata is already defined on the descriptor for the entity [{0}]. Ignoring version specification on element [{1}]." },
279
279
@@ -318,7 +318,7 @@ public class LoggingLocalizationResource extends ListResourceBundle {
318
318
{ "metadata_warning_partitioned_not_set", "@Partitioning found on the element {1} of class {0}, but no @Partitioned. The @Partitioned annotation must be used to set the partitioning policy, @Partitioning just defines the policy, but does not set it."},
319
319
{ "metadata_warning_reference_column_not_found", "The reference column name [{0}] mapped on the element [{1}] does not correspond to a valid id or basic field/column on the mapping reference. Will use referenced column name as provided."},
320
320
{ "metadata_warning_ignore_is_null_allowed", "isNullAllowed is reset to false in {0} because the aggregate has a (possibly nested) target foreign key mapping"},
321
-
{ "non_jpa_allowed_type_used_for_collection_using_lazy_access", "Element [{1}] within entity class [{0}] uses a collection type [{2}] when the JPA specification only supports java.util.Collection, " +
321
+
{ "non_jpa_allowed_type_used_for_collection_using_lazy_access", "Element [{1}] within entity class [{0}] uses a collection type [{2}] when the Jakarta Persistence specification only supports java.util.Collection, " +
322
322
"java.util.Set, java.util.List, or java.util.Map. This type is supported with eager loading; using lazy loading with this collection type requires additional configuration and an IndirectContainer implementation " +
323
323
"that extends [{2}] or setting the mapping to use basic indirection and the type to be ValueholderInterface." },
324
324
{ "metadata_warning_integer_discriminator_could_not_be_built", "Class [{0}] specifies discriminatorType=INTEGER and uses [{1}] as the discriminatorValue. That value cannot be converted to an integer. We will attempt to use this value in String format." },
Copy file name to clipboardexpand all lines: jpa/eclipselink.jpa.test/src/it/java/org/eclipse/persistence/testing/tests/jpa/advanced/AdvancedJPAJunitTest.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -3216,9 +3216,9 @@ public void testHistoryRelationshipQueryInitialization() {
3216
3216
3217
3217
// execute a non historical query through JPQL against the Oyster entity
3218
3218
oysters = em.createQuery("SELECT e FROM Oyster e", Oyster.class).getResultList();
3219
-
assertTrue("JPA query: Oysters should be non-empty", oysters.size() > 0);
3219
+
assertTrue("Jakarta Persistence query: Oysters should be non-empty", oysters.size() > 0);
3220
3220
for (OysteroysterElem : oysters) {
3221
-
assertNotNull("JPA query: Oyster should have a pearl, historical query executed", oysterElem.getPearl());
3221
+
assertNotNull("Jakarta Persistence query: Oyster should have a pearl, historical query executed", oysterElem.getPearl());
Copy file name to clipboardexpand all lines: jpa/eclipselink.jpa.testapps.oracle/jpa.test.oracle.proxyauthentication/src/test/java/org/eclipse/persistence/testing/tests/jpa/proxyauthentication/ProxyAuthenticationTest.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ public String getPersistenceUnitName() {
100
100
}
101
101
102
102
publicstaticTestsuite() {
103
-
TestSuitesuite = newTestSuite("Proxy Authentication JPA Test Suite");
103
+
TestSuitesuite = newTestSuite("Proxy Authentication Jakarta Persistence Test Suite");
Copy file name to clipboardexpand all lines: jpa/eclipselink.jpa.testapps/jpa.test.jpaadvancedproperties/src/test/java/org/eclipse/persistence/testing/tests/jpa/jpaadvancedproperties/JPAAdvPropertiesTest.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ public String getPersistenceUnitName() {
Copy file name to clipboardexpand all lines: jpa/eclipselink.jpa.testapps/jpa.test.performance/src/test/java/org/eclipse/persistence/testing/tests/jpa/performance/DataNucleusPerformanceRegressionModel.java
Copy file name to clipboardexpand all lines: jpa/eclipselink.jpa.testapps/jpa.test.performance/src/test/java/org/eclipse/persistence/testing/tests/jpa/performance/EssentialsJPAPerformanceRegressionModel.java
Copy file name to clipboardexpand all lines: jpa/eclipselink.jpa.testapps/jpa.test.performance/src/test/java/org/eclipse/persistence/testing/tests/jpa/performance/HibernateJPAConcurrencyComparisonModel.java
Copy file name to clipboardexpand all lines: jpa/eclipselink.jpa.testapps/jpa.test.performance/src/test/java/org/eclipse/persistence/testing/tests/jpa/performance/HibernateJPAPerformanceRegressionModel.java
Copy file name to clipboardexpand all lines: jpa/eclipselink.jpa.testapps/jpa.test.performance/src/test/java/org/eclipse/persistence/testing/tests/jpa/performance/JPAConcurrencyComparisonModel.java
Copy file name to clipboardexpand all lines: jpa/eclipselink.jpa.testapps/jpa.test.performance/src/test/java/org/eclipse/persistence/testing/tests/jpa/performance/JPAEmulatedIsolatedPerformanceRegressionModel.java
Copy file name to clipboardexpand all lines: jpa/eclipselink.jpa.testapps/jpa.test.performance/src/test/java/org/eclipse/persistence/testing/tests/jpa/performance/JPAEmulatedPerformanceRegressionModel.java
Copy file name to clipboardexpand all lines: jpa/eclipselink.jpa.testapps/jpa.test.performance/src/test/java/org/eclipse/persistence/testing/tests/jpa/performance/JPAPerformanceComparisonModel.java
Copy file name to clipboardexpand all lines: jpa/eclipselink.jpa.testapps/jpa.test.performance/src/test/java/org/eclipse/persistence/testing/tests/jpa/performance/JPAPerformanceRegressionModel.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ public class JPAPerformanceRegressionModel extends TestModel {
75
75
publicbooleanisEmulated;
76
76
77
77
publicJPAPerformanceRegressionModel() {
78
-
setDescription("Performance tests that compare JPA performance.");
78
+
setDescription("Performance tests that compare Jakarta Persistence performance.");
Copy file name to clipboardexpand all lines: jpa/eclipselink.jpa.testapps/jpa.test.performance/src/test/java/org/eclipse/persistence/testing/tests/jpa/performance/OpenJPAPerformanceRegressionModel.java
0 commit comments