From 50d55589432bd9808f743d2a7ac548a350efb94c Mon Sep 17 00:00:00 2001 From: Gurunandan Rao Date: Sun, 3 Mar 2024 16:32:21 +0530 Subject: [PATCH] Persistence tck bundle, package rename, documentation, signature tests. (#1232) * persistence tck documentation, signature test, documentation. Signed-off-by: Gurunandan Rao * rename packages for persistence tck. Signed-off-by: Gurunandan Rao * add dist folder, ignored by git. Signed-off-by: Gurunandan Rao --------- Signed-off-by: Gurunandan Rao --- glassfish-runner/jpa-tck/pom.xml | 13 +- jpa/bin/pom.xml | 327 + jpa/common/pom.xml | 71 + .../common/DriverManagerConnection.java | 2 +- .../tck/persistence}/common/PMClientBase.java | 8 +- .../common/persistence-import.xml | 0 ...akarta.persistence.spi.PersistenceProvider | 1 + .../altprovider/implementation/CacheImpl.java | 2 +- .../implementation/ClassTransformerImpl.java | 2 +- .../EntityManagerFactoryImpl.java | 2 +- .../implementation/EntityManagerImpl.java | 2 +- .../implementation/EntityTransactionImpl.java | 2 +- .../implementation/PersistenceProvider.java | 4 +- .../PersistenceUnitInfoImpl.java | 2 +- .../altprovider/implementation/QueryImpl.java | 2 +- .../implementation/TSLogRecord.java | 2 +- .../altprovider/implementation/TSLogger.java | 2 +- .../implementation/TSXMLFormatter.java | 2 +- .../pluggability/util/LogFileProcessor.java | 2 +- .../pluggability/util/LogRecordEntry.java | 2 +- .../persistence}/common/schema30/Address.java | 2 +- .../common/schema30/Address_.java | 2 +- .../persistence}/common/schema30/Alias.java | 2 +- .../persistence}/common/schema30/Alias_.java | 2 +- .../persistence}/common/schema30/Country.java | 2 +- .../common/schema30/Country_.java | 2 +- .../common/schema30/CreditCard.java | 2 +- .../common/schema30/CreditCard_.java | 2 +- .../common/schema30/Customer.java | 2 +- .../common/schema30/Customer_.java | 2 +- .../common/schema30/Department.java | 2 +- .../common/schema30/Department_.java | 2 +- .../common/schema30/Employee.java | 2 +- .../common/schema30/Employee_.java | 2 +- .../common/schema30/HardwareProduct.java | 2 +- .../common/schema30/HardwareProduct_.java | 2 +- .../persistence}/common/schema30/Info.java | 2 +- .../persistence}/common/schema30/Info_.java | 2 +- .../common/schema30/LineItem.java | 2 +- .../common/schema30/LineItemException.java | 2 +- .../common/schema30/LineItem_.java | 2 +- .../persistence}/common/schema30/Order.java | 2 +- .../persistence}/common/schema30/Order_.java | 2 +- .../persistence}/common/schema30/Phone.java | 2 +- .../persistence}/common/schema30/Phone_.java | 2 +- .../persistence}/common/schema30/Product.java | 2 +- .../common/schema30/Product_.java | 2 +- .../common/schema30/ShelfLife.java | 2 +- .../common/schema30/ShelfLife_.java | 2 +- .../common/schema30/SoftwareProduct.java | 2 +- .../common/schema30/SoftwareProduct_.java | 2 +- .../persistence}/common/schema30/Spouse.java | 2 +- .../persistence}/common/schema30/Spouse_.java | 2 +- .../persistence}/common/schema30/Trim.java | 2 +- .../persistence}/common/schema30/Trim_.java | 2 +- .../persistence}/common/schema30/Util.java | 4 +- .../common/schema30/UtilAliasData.java | 2 +- .../common/schema30/UtilAliasOnlyData.java | 2 +- .../schema30/UtilCustAliasProductData.java | 2 +- .../common/schema30/UtilCustomerData.java | 2 +- .../schema30/UtilDepartmentEmployeeData.java | 2 +- .../common/schema30/UtilOrderData.java | 2 +- .../common/schema30/UtilPhoneData.java | 2 +- .../common/schema30/UtilProductData.java | 2 +- .../common/schema30/UtilSetup.java | 2 +- .../common/schema30/UtilTrimData.java | 2 +- .../common/schema30/properties.xml | 0 .../common/template/persistence.xml | 0 .../template/standalone/persistence.xml | 0 jpa/common/src/main/resources/LICENSE_EFTL.md | 83 + jpa/common/src/main/resources/LICENSE_EPL.md | 637 + .../common/persistence-import.xml | 0 ...akarta.persistence.spi.PersistenceProvider | 1 + .../common/schema30/properties.xml | 0 .../common/template/persistence.xml | 0 .../template/standalone/persistence.xml | 0 jpa/dist/pom.xml | 84 + jpa/dist/src/main/assembly/assembly.xml | 105 + jpa/dist/src/main/resources/LICENSE.md | 637 + jpa/dist/src/main/resources/LICENSE_EFTL.md | 83 + jpa/docs/LICENSE_EFTL.md | 83 + jpa/docs/TCK-Exclude-List.txt | 23 + .../assertions/api/api-assertions-3_2.html | 8515 ++++++ .../assertions/spec/spec-assertions-3_2.html | 23649 ++++++++++++++++ jpa/docs/index.html | 63 + jpa/docs/jpatck-ReleaseNotes-3.2.html | 130 + jpa/docs/userguide/README.md | 77 + jpa/docs/userguide/pom.xml | 283 + .../userguide/src/main/jbake/assets/README.md | 4 + .../src/main/jbake/assets/_config.yml | 14 + .../src/main/jbake/assets/css/style.css | 313 + .../img/eclipse_foundation_logo_tiny.png | Bin 0 -> 3612 bytes .../userguide/src/main/jbake/content/README | 77 + .../src/main/jbake/content/attributes.conf | 35 + .../src/main/jbake/content/config.adoc | 37 + .../src/main/jbake/content/config.inc | 159 + .../src/main/jbake/content/debug-tips.inc | 0 .../src/main/jbake/content/debug.adoc | 78 + .../src/main/jbake/content/defns.inc | 46 + .../userguide/src/main/jbake/content/faq.adoc | 55 + .../main/jbake/content/install-server-vi.inc | 0 .../src/main/jbake/content/install-server.inc | 0 .../src/main/jbake/content/install.adoc | 79 + .../src/main/jbake/content/intro.adoc | 291 + .../src/main/jbake/content/intro.inc | 20 + .../src/main/jbake/content/packages.inc | 7 + .../src/main/jbake/content/platforms.inc | 4 + .../src/main/jbake/content/preface.adoc | 143 + .../src/main/jbake/content/rebuild.adoc | 20 + .../src/main/jbake/content/rebuild.inc | 7 + .../src/main/jbake/content/req-software.inc | 10 + .../src/main/jbake/content/rules.adoc | 377 + .../src/main/jbake/content/rules.inc | 19 + .../src/main/jbake/content/tck-packages.inc | 7 + .../src/main/jbake/content/title.adoc | 42 + .../src/main/jbake/content/title.inc | 11 + .../userguide/src/main/jbake/content/toc.adoc | 91 + .../src/main/jbake/content/using-examples.inc | 53 + .../src/main/jbake/content/using.adoc | 144 + .../src/main/jbake/content/using.inc | 0 .../userguide/src/main/jbake/jbake.properties | 24 + .../src/main/jbake/templates/footer.ftl | 44 + .../src/main/jbake/templates/header.ftl | 54 + .../src/main/jbake/templates/menu.ftl | 1 + .../src/main/jbake/templates/page.ftl | 8 + .../userguide/src/theme/jakartaee-theme.yml | 299 + jpa/platform-tests/pom.xml | 87 + .../jakarta/tck/persistence}/ee/common/A.java | 2 +- .../tck/persistence}/ee/common/Account.java | 2 +- .../jakarta/tck/persistence}/ee/common/B.java | 2 +- .../persistence}/ee/entityManager/Client.java | 4 +- .../persistence}/ee/entityManager/Order.java | 2 +- .../ee/entityManagerFactory/Client.java | 6 +- .../ee}/entityManagerFactory/Order.java | 2 +- .../appclient/annotation/Client.java | 2 +- .../appclient/annotation/Coffee.java | 2 +- .../appclient/annotation/persistence.xml | 0 .../appclient/descriptor/Client.java | 2 +- .../appclient/descriptor/Coffee.java | 2 +- ..._packaging_appclient_descriptor_client.xml | 0 .../appclient/descriptor/persistence.xml | 0 .../ee/packaging/ejb/descriptor/A.java | 2 +- .../ee/packaging/ejb/descriptor/B.java | 2 +- .../ee/packaging/ejb/descriptor/C.java | 2 +- .../ee/packaging/ejb/descriptor/Client.java | 2 +- .../ejb/descriptor/Stateful3Bean.java | 2 +- .../packaging/ejb/descriptor/Stateful3IF.java | 2 +- .../ejb/descriptor/Stateless3Bean.java | 2 +- .../ejb/descriptor/Stateless3IF.java | 2 +- ...jpa_ee_packaging_ejb_descriptor_client.xml | 4 +- ...ing_ejb_descriptor_ejb.jar.sun-ejb-jar.xml | 0 ...pa_ee_packaging_ejb_descriptor_ejb.jar.xml | 0 .../packaging/ejb/descriptor/persistence.xml | 0 .../ee/packaging/ejb/exclude/A.java | 2 +- .../ee/packaging/ejb/exclude/B.java | 2 +- .../ee/packaging/ejb/exclude/Client.java | 2 +- .../packaging/ejb/exclude/Stateful3Bean.java | 4 +- .../ee/packaging/ejb/exclude/Stateful3IF.java | 2 +- .../jpa_ee_packaging_ejb.jar.sun-ejb-jar.xml | 0 .../ee/packaging/ejb/exclude/persistence.xml | 2 +- .../packaging/ejb/resource_local/Client.java | 2 +- .../ejb/resource_local/Stateless3Bean.java | 4 +- .../ejb/resource_local/Stateless3IF.java | 2 +- ...ee_packaging_ejb_resource_local_client.xml | 2 +- ...ejb_resource_local_ejb.jar.sun-ejb-jar.xml | 0 ...e_packaging_ejb_resource_local_ejb.jar.xml | 0 .../ejb/resource_local/persistence.xml | 0 .../ee/packaging/ejb/standalone/Client.java | 2 +- .../ejb/standalone/Stateful3Bean.java | 4 +- .../packaging/ejb/standalone/Stateful3IF.java | 2 +- ...lone_client.jar.sun-application-client.xml | 0 ...andalone_component_ejb.jar.sun-ejb-jar.xml | 0 ...aging_ejb_standalone_component_ejb.jar.xml | 0 .../packaging/ejb/standalone/persistence.xml | 0 .../ee/packaging/web/scope/Client.java | 4 +- .../ee/packaging/web/scope/ServletTest.java | 8 +- .../ee/packaging/web/scope/application.xml | 0 ...ee_packaging_web_scope_web.war.sun-web.xml | 0 .../scope/jpa_ee_packaging_web_scope_web.xml | 2 +- .../ee/packaging/web/scope/persistence.xml | 0 .../ee/packaging/web/standalone/Client.java | 4 +- .../packaging/web/standalone/ServletTest.java | 8 +- ...b_standalone_component_web.war.sun-web.xml | 0 ...packaging_web_standalone_component_web.xml | 2 +- .../packaging/web/standalone/persistence.xml | 0 .../ee/pluggability/contracts/jta/Client.java | 18 +- .../ee/pluggability/contracts/jta/Order.java | 2 +- .../ee/pluggability/contracts/jta/Order2.java | 2 +- .../ee/pluggability/contracts/jta/Order3.java | 2 +- .../ee/pluggability/contracts/jta/Order4.java | 2 +- .../contracts/jta/persistence.xml | 4 +- .../contracts/resource_local/Client.java | 14 +- .../contracts/resource_local/Order.java | 2 +- .../contracts/resource_local/Order2.java | 2 +- .../contracts/resource_local/Order3.java | 2 +- .../contracts/resource_local/Order4.java | 2 +- .../contracts/resource_local/persistence.xml | 2 +- .../ee/propagation/am/Client.java | 2 +- .../ee/propagation/am/Member.java | 2 +- .../ee/propagation/am/Member2.java | 2 +- .../ee/propagation/am/Stateful3Bean.java | 2 +- .../ee/propagation/am/Stateful3Bean2.java | 2 +- .../ee/propagation/am/Stateful3IF.java | 2 +- .../ee/propagation/am/Stateful3IF2.java | 2 +- .../ee/propagation/am/Stateless3Bean.java | 4 +- .../ee/propagation/am/Stateless3IF.java | 2 +- ...n_am_client.jar.sun-application-client.xml | 0 ..._ee_propagation_am_ejb.jar.sun-ejb-jar.xml | 0 .../ee/propagation/am/persistence.xml | 16 +- .../ee/propagation/cm/extended/Client.java | 2 +- .../cm/extended/Stateful3Bean.java | 6 +- .../propagation/cm/extended/Stateful3IF.java | 2 +- .../ee/propagation/cm/extended/Teller.java | 6 +- .../propagation/cm/extended/TellerBean.java | 8 +- ..._ext_client.jar.sun-application-client.xml | 0 ...propagation_cm_ext_ejb.jar.sun-ejb-jar.xml | 0 .../propagation/cm/extended/persistence.xml | 0 .../ee/propagation/cm/jta/Client.java | 4 +- .../ee/propagation/cm/jta/ServletTest.java | 8 +- .../ee/propagation/cm/jta/Teller.java | 4 +- .../ee/propagation/cm/jta/TellerBean.java | 4 +- .../ee/propagation/cm/jta/TellerBean2.java | 4 +- .../ee/propagation/cm/jta/application.xml | 0 ...propagation_cm_jta_ejb.jar.sun-ejb-jar.xml | 0 .../cm/jta/jpa_ee_propagation_cm_jta_web.xml | 2 +- .../ee/propagation/cm/jta/persistence.xml | 0 .../ee/util/AbstractUrlClient.java | 2 +- .../tck/persistence}/ee/util/Data.java | 2 +- .../persistence}/ee/util/HttpTCKServlet.java | 2 +- .../persistence}/jpa/ee/packaging/jar/A.java | 2 +- .../persistence}/jpa/ee/packaging/jar/B.java | 2 +- .../persistence}/jpa/ee/packaging/jar/C.java | 2 +- .../jpa/ee/packaging/jar/Client.java | 4 +- .../jpa/ee/packaging/jar/persistence.xml | 0 .../src/main/resources/LICENSE_EFTL.md | 83 + .../src/main/resources/LICENSE_EPL.md | 637 + .../appclient/annotation/persistence.xml | 0 ..._packaging_appclient_descriptor_client.xml | 0 .../ee/packaging/appclient/descriptor/orm.xml | 2 +- .../appclient/descriptor/persistence.xml | 0 ...jpa_ee_packaging_ejb_descriptor_client.xml | 4 +- ...ing_ejb_descriptor_ejb.jar.sun-ejb-jar.xml | 0 ...pa_ee_packaging_ejb_descriptor_ejb.jar.xml | 0 .../ejb/descriptor/myMappingFile.xml | 4 +- .../ejb/descriptor/myMappingFile2.xml | 4 +- .../ee/packaging/ejb/descriptor/orm.xml | 2 +- .../packaging/ejb/descriptor/persistence.xml | 0 .../jpa_ee_packaging_ejb.jar.sun-ejb-jar.xml | 0 .../ee/packaging/ejb/exclude/persistence.xml | 2 +- ...ee_packaging_ejb_resource_local_client.xml | 2 +- ...ejb_resource_local_ejb.jar.sun-ejb-jar.xml | 0 ...e_packaging_ejb_resource_local_ejb.jar.xml | 0 .../ejb/resource_local/persistence.xml | 0 ...lone_client.jar.sun-application-client.xml | 0 ...andalone_component_ejb.jar.sun-ejb-jar.xml | 0 ...aging_ejb_standalone_component_ejb.jar.xml | 0 .../packaging/ejb/standalone/persistence.xml | 0 .../ee/packaging/jar/myMappingFile.xml | 2 +- .../ee/packaging/jar/myMappingFile2.xml | 2 +- .../tck/persistence}/ee/packaging/jar/orm.xml | 2 +- .../ee/packaging/jar/persistence.xml | 0 .../ee/packaging/web/scope/application.xml | 0 ...ee_packaging_web_scope_web.war.sun-web.xml | 0 .../scope/jpa_ee_packaging_web_scope_web.xml | 2 +- .../ee/packaging/web/scope/persistence.xml | 0 ...b_standalone_component_web.war.sun-web.xml | 0 ...packaging_web_standalone_component_web.xml | 2 +- .../packaging/web/standalone/persistence.xml | 0 .../contracts/jta/myMappingFile1.xml | 2 +- .../contracts/jta/myMappingFile2.xml | 2 +- .../ee/pluggability/contracts/jta/orm.xml | 2 +- .../contracts/jta/persistence.xml | 4 +- .../resource_local/myMappingFile1.xml | 2 +- .../resource_local/myMappingFile2.xml | 2 +- .../contracts/resource_local/orm.xml | 2 +- .../contracts/resource_local/persistence.xml | 2 +- ...n_am_client.jar.sun-application-client.xml | 0 ..._ee_propagation_am_ejb.jar.sun-ejb-jar.xml | 0 .../ee/propagation/am/persistence.xml | 16 +- ..._ext_client.jar.sun-application-client.xml | 0 ...propagation_cm_ext_ejb.jar.sun-ejb-jar.xml | 0 .../propagation/cm/extended/persistence.xml | 0 .../ee/propagation/cm/jta/application.xml | 0 ...propagation_cm_jta_ejb.jar.sun-ejb-jar.xml | 0 .../cm/jta/jpa_ee_propagation_cm_jta_web.xml | 2 +- .../ee/propagation/cm/jta/persistence.xml | 0 jpa/pom.xml | 74 +- jpa/procedures/pom.xml | 35 + .../storedprocedures/CS_Procs.java | 4 +- jpa/spec-tests/pom.xml | 93 + .../persistence}/core/EntityGraph/Client.java | 4 +- .../core/EntityGraph/Department.java | 2 +- .../core/EntityGraph/Employee.java | 2 +- .../core/EntityGraph/Employee2.java | 2 +- .../core/EntityGraph/Employee3.java | 2 +- .../core/StoredProcedureQuery/Client.java | 4 +- .../core/StoredProcedureQuery/Client1.java | 2 +- .../core/StoredProcedureQuery/Client2.java | 2 +- .../core/StoredProcedureQuery/Employee.java | 4 +- .../core/StoredProcedureQuery/Employee2.java | 2 +- .../EmployeeMappedSC.java | 2 +- .../core/annotations/access/field/Client.java | 4 +- .../annotations/access/field/Client1.java | 13 +- .../annotations/access/field/Client2.java | 4 +- .../annotations/access/field/Client3.java | 4 +- .../annotations/access/field/Client4.java | 4 +- .../annotations/access/field/DataTypes.java | 5 +- .../annotations/access/field/DataTypes2.java | 2 +- .../access/mappedsc/AbstractPersonnel.java | 2 +- .../annotations/access/mappedsc/Client.java | 4 +- .../access/mappedsc/Department.java | 2 +- .../annotations/access/mappedsc/Employee.java | 2 +- .../access/mappedsc/FullTimeEmployee.java | 2 +- .../access/mappedsc/PartTimeEmployee.java | 2 +- .../annotations/access/mappedsc/Project.java | 2 +- .../annotations/access/property/Client.java | 4 +- .../annotations/access/property/Client1.java | 6 +- .../annotations/access/property/Client2.java | 4 +- .../access/property/DataTypes.java | 5 +- .../access/property/DataTypes2.java | 2 +- .../annotations/assocoverride/Address.java | 2 +- .../annotations/assocoverride/Client.java | 4 +- .../annotations/assocoverride/Employee.java | 2 +- .../assocoverride/PartTimeEmployee.java | 2 +- .../core/annotations/basic/A.java | 2 +- .../core/annotations/basic/Client.java | 4 +- .../core/annotations/basic/Client1.java | 2 +- .../core/annotations/basic/Client2.java | 2 +- .../core/annotations/collectiontable}/A.java | 6 +- .../annotations/collectiontable/Address.java | 2 +- .../annotations/collectiontable/Client.java | 4 +- .../core/annotations/convert/Address.java | 2 +- .../core/annotations/convert/B.java | 2 +- .../annotations/convert/CharConverter.java | 2 +- .../core/annotations/convert/Client.java | 4 +- .../annotations/convert/CommaConverter.java | 2 +- .../core/annotations/convert/Country.java | 2 +- .../core/annotations/convert/Customer.java | 2 +- .../core/annotations/convert/Department.java | 2 +- .../convert/DisableAutoApplyConverter.java | 2 +- .../annotations/convert/DotConverter.java | 2 +- .../annotations/convert/DotConverter2.java | 2 +- .../core/annotations/convert/Employee.java | 2 +- .../core/annotations/convert/Employee2.java | 2 +- .../core/annotations/convert/Employee3.java | 2 +- .../annotations/convert/FullTimeEmployee.java | 2 +- .../convert/FullTimeEmployee2.java | 2 +- .../annotations/convert/IntegerConverter.java | 2 +- .../convert/NumberToStateConverter.java | 2 +- .../annotations/convert/SalaryConverter.java | 2 +- .../annotations/convert/SpaceConverter.java | 2 +- .../discriminatorValue/Client.java | 4 +- .../discriminatorValue/PartProduct.java | 2 +- .../discriminatorValue/PartProduct2.java | 2 +- .../PricedPartProduct2.java | 2 +- .../discriminatorValue/Product.java | 2 +- .../discriminatorValue/Product2.java | 2 +- .../core/annotations/elementcollection/A.java | 4 +- .../elementcollection/Address.java | 2 +- .../elementcollection/Client1.java | 4 +- .../elementcollection/Client2.java | 4 +- .../elementcollection/Customer.java | 2 +- .../elementcollection/CustomerXML.java | 2 +- .../core/annotations/embeddable/Address.java | 2 +- .../core/annotations/embeddable}/B.java | 2 +- .../core/annotations/embeddable/Client.java | 4 +- .../core/annotations/embeddable}/ZipCode.java | 2 +- .../embeddableMapValue/Address.java | 2 +- .../embeddableMapValue/Client.java | 4 +- .../embeddableMapValue/Employee.java | 2 +- .../core/annotations/entity/Client.java | 4 +- .../core/annotations/entity/Coffee.java | 2 +- .../core/annotations/id/Client.java | 4 +- .../annotations/id/FieldBigDecimalId.java | 2 +- .../annotations/id/FieldBigIntegerId.java | 2 +- .../core/annotations/id/FieldIntId.java | 2 +- .../core/annotations/id/FieldIntegerId.java | 2 +- .../core/annotations/id/FieldSQLDateId.java | 2 +- .../core/annotations/id/FieldStringId.java | 2 +- .../core/annotations/id/FieldUtilDateId.java | 2 +- .../annotations/id/PropertyBigDecimalId.java | 2 +- .../annotations/id/PropertyBigIntegerId.java | 2 +- .../core/annotations/id/PropertyIntId.java | 2 +- .../annotations/id/PropertyIntegerId.java | 2 +- .../annotations/id/PropertySQLDateId.java | 2 +- .../core/annotations/id/PropertyStringId.java | 2 +- .../annotations/id/PropertyUtilDateId.java | 2 +- .../core/annotations/lob/Client.java | 4 +- .../core/annotations/lob/DataTypes.java | 2 +- .../core/annotations/mapkey/Client.java | 4 +- .../core/annotations/mapkey/Client1.java | 2 +- .../core/annotations/mapkey/Client2.java | 2 +- .../core/annotations/mapkey/Department.java | 2 +- .../core/annotations/mapkey/Employee.java | 2 +- .../core/annotations/mapkey/Employee2.java | 2 +- .../core/annotations/mapkey/Employee3.java | 2 +- .../core/annotations/mapkey/Employee4.java | 2 +- .../core/annotations/mapkeyclass/Client.java | 4 +- .../core/annotations/mapkeyclass/Course.java | 2 +- .../annotations/mapkeyclass/Semester.java | 2 +- .../core/annotations/mapkeyclass/Student.java | 6 +- .../core/annotations/mapkeycolumn/Client.java | 4 +- .../annotations/mapkeycolumn/Department.java | 2 +- .../annotations/mapkeycolumn/Department2.java | 2 +- .../annotations/mapkeycolumn/Employee.java | 2 +- .../annotations/mapkeyenumerated/Client.java | 4 +- .../mapkeyenumerated/Department.java | 2 +- .../mapkeyenumerated/Department2.java | 2 +- .../mapkeyenumerated/Department3.java | 2 +- .../mapkeyenumerated/Department4.java | 2 +- .../mapkeyenumerated}/EmbeddedEmployee.java | 4 +- .../mapkeyenumerated/Employee.java | 2 +- .../mapkeyenumerated/Employee2.java | 2 +- .../mapkeyenumerated/Employee3.java | 2 +- .../mapkeyenumerated/Employee4.java | 2 +- .../annotations/mapkeyenumerated/Numbers.java | 2 +- .../annotations/mapkeyenumerated/Offices.java | 2 +- .../annotations/mapkeyjoincolumn/Client.java | 4 +- .../annotations/mapkeyjoincolumn/Course.java | 2 +- .../mapkeyjoincolumn/Semester.java | 2 +- .../annotations/mapkeyjoincolumn/Student.java | 2 +- .../annotations/mapkeytemporal/Client.java | 4 +- .../mapkeytemporal/Department.java | 2 +- .../mapkeytemporal/Department2.java | 2 +- .../mapkeytemporal/Department4.java | 2 +- .../mapkeytemporal}/EmbeddedEmployee.java | 4 +- .../annotations/mapkeytemporal/Employee.java | 2 +- .../annotations/mapkeytemporal/Employee2.java | 2 +- .../annotations/mapkeytemporal/Employee4.java | 2 +- .../core/annotations/mapsid/Client.java | 4 +- .../annotations/mapsid/DID1bDependent.java | 2 +- .../annotations/mapsid/DID1bDependentId.java | 2 +- .../annotations/mapsid/DID1bEmployee.java | 2 +- .../core/annotations/nativequery/Client.java | 4 +- .../core/annotations/nativequery/Item.java | 2 +- .../core/annotations/nativequery/Order1.java | 20 +- .../core/annotations/nativequery/Order2.java | 2 +- .../nativequery/PurchaseOrder.java | 2 +- .../core/annotations/onexmanyuni/Client.java | 4 +- .../annotations/onexmanyuni/Customer1.java | 4 +- .../annotations/onexmanyuni/RetailOrder2.java | 4 +- .../core/annotations/orderby/A.java | 2 +- .../core/annotations/orderby/A2.java | 2 +- .../core/annotations/orderby/Address.java | 2 +- .../core/annotations/orderby/Address2.java | 2 +- .../core/annotations/orderby/Client1.java | 4 +- .../core/annotations/orderby/Client2.java | 4 +- .../core/annotations/orderby/Client3.java | 4 +- .../core/annotations/orderby/Customer.java | 2 +- .../core/annotations/orderby/Customer2.java | 2 +- .../core/annotations/orderby/Department.java | 2 +- .../core/annotations/orderby/Employee.java | 2 +- .../core/annotations/orderby/Insurance.java | 2 +- .../core/annotations/orderby/ZipCode.java | 2 +- .../core/annotations/orderby/ZipCode2.java | 2 +- .../core/annotations/ordercolumn/Client1.java | 4 +- .../core/annotations/ordercolumn/Client2.java | 4 +- .../core/annotations/ordercolumn/Course.java | 2 +- .../annotations/ordercolumn/Department.java | 2 +- .../annotations/ordercolumn/Department2.java | 2 +- .../annotations/ordercolumn/Employee.java | 2 +- .../annotations/ordercolumn/Employee2.java | 2 +- .../core/annotations/ordercolumn/Student.java | 2 +- .../annotations/tableGenerator/Client.java | 4 +- .../annotations/tableGenerator/Client1.java | 2 +- .../annotations/tableGenerator/Client2.java | 2 +- .../annotations/tableGenerator/Client3.java | 2 +- .../annotations/tableGenerator/Client4.java | 2 +- .../annotations/tableGenerator/DataTypes.java | 2 +- .../tableGenerator/DataTypes2.java | 2 +- .../tableGenerator/DataTypes3.java | 2 +- .../tableGenerator/DataTypes4.java | 2 +- .../core/annotations/temporal/A2_Field.java | 2 +- .../annotations/temporal/A2_Property.java | 2 +- .../core/annotations/temporal/A_Field.java | 2 +- .../core/annotations/temporal/A_Property.java | 2 +- .../core/annotations/temporal/Client.java | 4 +- .../core/annotations/version/Client.java | 4 +- .../core/annotations/version/Client1.java | 2 +- .../core/annotations/version/Client2.java | 2 +- .../core/annotations/version/Client3.java | 2 +- .../core/annotations/version/Client4.java | 2 +- .../core/annotations/version/Int_Field.java | 2 +- .../annotations/version/Int_Property.java | 2 +- .../annotations/version/Integer_Field.java | 2 +- .../annotations/version/Integer_Property.java | 2 +- .../annotations/version/LongClass_Field.java | 2 +- .../version/LongClass_Property.java | 2 +- .../core/annotations/version/Long_Field.java | 2 +- .../annotations/version/Long_Property.java | 2 +- .../annotations/version/ShortClass_Field.java | 2 +- .../version/ShortClass_Property.java | 2 +- .../core/annotations/version/Short_Field.java | 2 +- .../annotations/version/Short_Property.java | 2 +- .../annotations/version/Timestamp_Field.java | 2 +- .../version/Timestamp_Property.java | 2 +- .../tck/persistence}/core/basic/Client.java | 4 +- .../tck/persistence}/core/basic/Order.java | 2 +- .../core/cache/basicTests/Client.java | 4 +- .../core/cache/basicTests/Order.java | 2 +- .../core/cache/basicTests/persistence_ee.xml | 6 +- .../core/cache/basicTests/persistence_se.xml | 4 +- .../callback/common/CallbackStatusIF.java | 2 +- .../callback/common/CallbackStatusImpl.java | 2 +- .../core/callback/common/Constants.java | 2 +- .../common/EntityCallbackClientBase.java | 4 +- .../callback/common/GenerictListener.java | 2 +- .../callback/common/GenerictListenerImpl.java | 2 +- .../core/callback/common/ListenerA.java | 2 +- .../core/callback/common/ListenerAA.java | 2 +- .../core/callback/common/ListenerB.java | 2 +- .../core/callback/common/ListenerBB.java | 2 +- .../core/callback/common/ListenerBase.java | 2 +- .../core/callback/common/ListenerC.java | 2 +- .../core/callback/common/ListenerCC.java | 2 +- .../core/callback/inheritance/Client.java | 7 +- .../callback/inheritance/PartProduct.java | 7 +- .../inheritance/PartProductListener.java | 9 +- .../inheritance/PricedPartProduct.java | 7 +- .../PricedPartProductCallback.java | 11 +- .../PricedPartProductListener.java | 8 +- .../inheritance/PricedPartProduct_2.java | 7 +- .../core/callback/inheritance/Product.java | 9 +- .../callback/inheritance/ProductListener.java | 5 +- .../core/callback/listener/Client.java | 7 +- .../core/callback/listener/LineItem.java | 9 +- .../callback/listener}/LineItemSuper.java | 11 +- .../core/callback/listener/Order.java | 11 +- .../core/callback/listener/Product.java | 11 +- .../callback/listeneroverride/Client.java | 7 +- .../callback/listeneroverride/LineItem.java | 9 +- .../listeneroverride}/LineItemSuper.java | 11 +- .../core/callback/listeneroverride/Order.java | 11 +- .../callback/listeneroverride/Product.java | 11 +- .../core/callback/method/Client.java | 7 +- .../core/callback/method/LineItem.java | 9 +- .../core/callback/method/Order.java | 9 +- .../core/callback/method/Product.java | 9 +- .../core/callback/methodoverride/Client.java | 7 +- .../callback/methodoverride/LineItem.java | 9 +- .../core/callback/methodoverride/Order.java | 9 +- .../core/callback/methodoverride/Product.java | 9 +- .../core/callback/xml/Client.java | 7 +- .../core/callback/xml/Customer.java | 7 +- .../core/callback/xml/LineItem.java | 5 +- .../core/callback/xml/LineItemSuper.java | 7 +- .../persistence}/core/callback/xml/Order.java | 7 +- .../core/callback/xml/Product.java | 7 +- .../criteriaapi/CriteriaBuilder/Client1.java | 10 +- .../criteriaapi/CriteriaBuilder/Client2.java | 56 +- .../criteriaapi/CriteriaBuilder/Client3.java | 8 +- .../criteriaapi/CriteriaBuilder/Client4.java | 6 +- .../criteriaapi/CriteriaBuilder/Client5.java | 54 +- .../criteriaapi/CriteriaBuilder/Client6.java | 38 +- .../criteriaapi/CriteriaBuilder/Client7.java | 8 +- .../criteriaapi/CriteriaBuilder/Client8.java | 6 +- .../criteriaapi/CriteriaDelete/Client.java | 10 +- .../core/criteriaapi/CriteriaQuery/A.java | 2 +- .../criteriaapi/CriteriaQuery/Client1.java | 18 +- .../criteriaapi/CriteriaQuery/Client2.java | 6 +- .../criteriaapi/CriteriaQuery/Client3.java | 8 +- .../criteriaapi/CriteriaQuery/Client4.java | 10 +- .../criteriaapi/CriteriaQuery/Client5.java | 4 +- .../criteriaapi/CriteriaQuery/Client6.java | 8 +- .../criteriaapi/CriteriaQuery/Client7.java | 8 +- .../criteriaapi/CriteriaUpdate/Client.java | 10 +- .../core/criteriaapi/From/Client1.java | 6 +- .../core/criteriaapi/From/Client2.java | 10 +- .../core/criteriaapi/From/Client3.java | 10 +- .../core/criteriaapi/From/Client4.java | 10 +- .../core/criteriaapi/Join/Client1.java | 16 +- .../core/criteriaapi/Join/Client2.java | 20 +- .../core/criteriaapi/Join/Client3.java | 12 +- .../core/criteriaapi/Root/Client1.java | 6 +- .../core/criteriaapi/Root/Client2.java | 10 +- .../core/criteriaapi/Root/Client3.java | 10 +- .../core/criteriaapi/Root/Client4.java | 10 +- .../criteriaapi/metamodelquery/Client1.java | 18 +- .../criteriaapi/metamodelquery/Client2.java | 28 +- .../criteriaapi/metamodelquery/Client3.java | 12 +- .../criteriaapi/metamodelquery/Client4.java | 10 +- .../criteriaapi/metamodelquery/Client5.java | 8 +- .../criteriaapi/metamodelquery/Client6.java | 16 +- .../criteriaapi/metamodelquery/Client7.java | 10 +- .../core/criteriaapi/misc/Client1.java | 16 +- .../core/criteriaapi/misc/Client2.java | 8 +- .../core/criteriaapi/misc/Client3.java | 10 +- .../core/criteriaapi/parameter/Client.java | 4 +- .../core/criteriaapi/parameter/Client1.java | 2 +- .../core/criteriaapi/parameter/Client2.java | 2 +- .../core/criteriaapi/parameter}/Employee.java | 2 +- .../core/criteriaapi/strquery/Client1.java | 6 +- .../core/criteriaapi/strquery/Client2.java | 12 +- .../core/criteriaapi/strquery/Client3.java | 10 +- .../core/criteriaapi/strquery/Client4.java | 6 +- .../core/criteriaapi/strquery/Client5.java | 8 +- .../core/derivedid/ex1a/Client.java | 4 +- .../core/derivedid/ex1a/DID1Dependent.java | 2 +- .../core/derivedid/ex1a/DID1DependentId.java | 2 +- .../core/derivedid/ex1a/DID1Employee.java | 2 +- .../core/derivedid/ex1b/Client.java | 4 +- .../core/derivedid/ex1b/DID1bDependent.java | 2 +- .../core/derivedid/ex1b/DID1bDependentId.java | 2 +- .../core/derivedid/ex1b/DID1bEmployee.java | 2 +- .../core/derivedid/ex2a/Client.java | 4 +- .../core/derivedid/ex2a/DID2Dependent.java | 2 +- .../core/derivedid/ex2a/DID2DependentId.java | 2 +- .../core/derivedid/ex2a/DID2Employee.java | 2 +- .../core/derivedid/ex2a/DID2EmployeeId.java | 2 +- .../core/derivedid/ex2b/Client.java | 4 +- .../core/derivedid/ex2b/DID2bDependent.java | 2 +- .../core/derivedid/ex2b/DID2bDependentId.java | 2 +- .../core/derivedid/ex2b/DID2bEmployee.java | 2 +- .../core/derivedid/ex2b/DID2bEmployeeId.java | 2 +- .../core/derivedid/ex3a/Client.java | 4 +- .../core/derivedid/ex3a/DID3Dependent.java | 2 +- .../core/derivedid/ex3a/DID3DependentId.java | 2 +- .../core/derivedid/ex3a/DID3Employee.java | 2 +- .../core/derivedid/ex3a/DID3EmployeeId.java | 2 +- .../core/derivedid/ex3b/Client.java | 4 +- .../core/derivedid/ex3b/DID3bDependent.java | 2 +- .../core/derivedid/ex3b/DID3bDependentId.java | 2 +- .../core/derivedid/ex3b/DID3bEmployee.java | 2 +- .../core/derivedid/ex3b/DID3bEmployeeId.java | 2 +- .../core/derivedid/ex4a/Client.java | 4 +- .../derivedid/ex4a/DID4MedicalHistory.java | 2 +- .../core/derivedid/ex4a/DID4Person.java | 2 +- .../core/derivedid/ex4b/Client.java | 4 +- .../derivedid/ex4b/DID4bMedicalHistory.java | 2 +- .../core/derivedid/ex4b/DID4bPerson.java | 2 +- .../core/derivedid/ex5a/Client.java | 4 +- .../derivedid/ex5a/DID5MedicalHistory.java | 2 +- .../core/derivedid/ex5a/DID5Person.java | 2 +- .../core/derivedid/ex5a/DID5PersonId.java | 2 +- .../core/derivedid/ex5b/Client.java | 4 +- .../derivedid/ex5b/DID5bMedicalHistory.java | 2 +- .../core/derivedid/ex5b/DID5bPerson.java | 2 +- .../core/derivedid/ex5b/DID5bPersonId.java | 2 +- .../core/derivedid/ex6a/Client.java | 4 +- .../derivedid/ex6a/DID6MedicalHistory.java | 2 +- .../core/derivedid/ex6a/DID6Person.java | 2 +- .../core/derivedid/ex6a/DID6PersonId.java | 2 +- .../core/derivedid/ex6b/Client.java | 4 +- .../derivedid/ex6b/DID6bMedicalHistory.java | 2 +- .../core/derivedid/ex6b/DID6bPerson.java | 2 +- .../core/derivedid/ex6b/DID6bPersonId.java | 2 +- .../core/entityManager/Client1.java | 4 +- .../core/entityManager/Client2.java | 4 +- .../core/entityManager/Client3.java | 4 +- .../core/entityManager/Employee.java | 4 +- .../core/entityManager/Order.java | 2 +- .../core/entityManager2/Client1.java | 4 +- .../core/entityManager2/Client2.java | 4 +- .../core/entityManager2/DoesNotExist.java | 2 +- .../core/entityManager2/Employee.java | 4 +- .../core/entityManager2}/Order.java | 2 +- .../core/entityManagerFactory/Client1.java | 4 +- .../core/entityManagerFactory/Client2.java | 4 +- .../core/entityManagerFactory/Client3.java | 4 +- .../core}/entityManagerFactory/Member.java | 2 +- .../core}/entityManagerFactory/Member_.java | 2 +- .../core}/entityManagerFactory/Order.java | 2 +- .../core/entityManagerFactory/Order_.java | 2 +- .../Client.java | 4 +- .../core/entityTransaction/Client.java | 4 +- .../core/entitytest/apitests/Bar.java | 2 +- .../core/entitytest/apitests/Client.java | 8 +- .../core/entitytest/apitests/Coffee.java | 10 +- .../entitytest/apitests/CoffeeMappedSC.java | 4 +- .../core/entitytest/apitests/Foo.java | 2 +- .../core/entitytest/bigdecimal/A.java | 2 +- .../core/entitytest/bigdecimal/Client.java | 4 +- .../core/entitytest/biginteger/A.java | 2 +- .../core/entitytest/biginteger/Client.java | 4 +- .../entitytest/cascadeall/manyXmany/A.java | 4 +- .../entitytest/cascadeall/manyXmany/B.java | 4 +- .../cascadeall/manyXmany/Client.java | 4 +- .../entitytest/cascadeall/manyXone/A.java | 2 +- .../entitytest/cascadeall/manyXone/B.java | 4 +- .../cascadeall/manyXone/Client.java | 4 +- .../entitytest/cascadeall}/oneXmany/A.java | 4 +- .../entitytest/cascadeall}/oneXmany/B.java | 4 +- .../cascadeall/oneXmany/Client.java | 4 +- .../core/entitytest/cascadeall/oneXone/A.java | 4 +- .../core/entitytest/cascadeall/oneXone/B.java | 4 +- .../entitytest/cascadeall/oneXone/Client.java | 4 +- .../core/entitytest/detach/basic/A.java | 2 +- .../core/entitytest/detach/basic/Client.java | 4 +- .../core/entitytest/detach/manyXmany/A.java | 4 +- .../core/entitytest/detach/manyXmany/B.java | 4 +- .../entitytest/detach/manyXmany/Client.java | 4 +- .../core/entitytest/detach}/manyXone/A.java | 2 +- .../core/entitytest/detach/manyXone/B.java | 4 +- .../entitytest/detach/manyXone/Client.java | 4 +- .../core/entitytest/detach/oneXmany/A.java | 4 +- .../core/entitytest/detach/oneXmany/B.java | 4 +- .../entitytest/detach/oneXmany/Client.java | 4 +- .../core/entitytest/detach}/oneXone/A.java | 4 +- .../core/entitytest/detach/oneXone/B.java | 4 +- .../entitytest/detach/oneXone/Client.java | 4 +- .../core/entitytest/persist/basic/A.java | 2 +- .../core/entitytest/persist/basic/Client.java | 4 +- .../core/entitytest/persist/manyXmany/A.java | 4 +- .../core/entitytest/persist/manyXmany/B.java | 4 +- .../entitytest/persist/manyXmany/Client.java | 4 +- .../core/entitytest/persist}/manyXone/A.java | 2 +- .../core/entitytest/persist/manyXone/B.java | 4 +- .../entitytest/persist/manyXone/Client.java | 4 +- .../core/entitytest/persist}/oneXmany/A.java | 4 +- .../core/entitytest/persist}/oneXmany/B.java | 4 +- .../entitytest/persist/oneXmany/Client.java | 4 +- .../core/entitytest/persist}/oneXone/A.java | 4 +- .../core/entitytest/persist/oneXone/B.java | 4 +- .../entitytest/persist/oneXone/Client.java | 4 +- .../core/entitytest/remove/basic/A.java | 2 +- .../core/entitytest/remove/basic/Client.java | 4 +- .../core/entitytest/remove/oneXmany/A.java | 4 +- .../core/entitytest/remove/oneXmany/B.java | 4 +- .../entitytest/remove/oneXmany/Client.java | 4 +- .../core/entitytest/remove/oneXone/A.java | 4 +- .../core/entitytest/remove/oneXone/B.java | 4 +- .../entitytest/remove/oneXone/Client.java | 4 +- .../tck/persistence}/core/enums/Client.java | 4 +- .../tck/persistence}/core/enums/Order.java | 2 +- .../persistence}/core/exceptions/Client.java | 4 +- .../persistence}/core/exceptions/Coffee.java | 2 +- .../abstractentity}/AbstractPersonnel.java | 2 +- .../inheritance/abstractentity/Client.java | 4 +- .../abstractentity/Department.java | 2 +- .../inheritance/abstractentity/Employee.java | 2 +- .../abstractentity/FullTimeEmployee.java | 2 +- .../abstractentity/PartTimeEmployee.java | 2 +- .../inheritance/abstractentity/Project.java | 2 +- .../annotation/AbstractPersonnel.java | 2 +- .../mappedsc/annotation/Client.java | 4 +- .../mappedsc/annotation/Department.java | 2 +- .../mappedsc/annotation/Employee.java | 2 +- .../mappedsc/annotation/FullTimeEmployee.java | 2 +- .../mappedsc/annotation/PartTimeEmployee.java | 2 +- .../mappedsc/annotation/Project.java | 2 +- .../descriptors}/AbstractPersonnel.java | 2 +- .../mappedsc/descriptors/Client.java | 4 +- .../mappedsc/descriptors/Department.java | 2 +- .../mappedsc/descriptors/Employee.java | 2 +- .../descriptors/FullTimeEmployee.java | 2 +- .../descriptors/PartTimeEmployee.java | 2 +- .../mappedsc/descriptors/Project.java | 2 +- .../core/inheritance/nonentity/Client.java | 4 +- .../inheritance/nonentity/Department.java | 2 +- .../core/inheritance/nonentity/Employee.java | 2 +- .../inheritance/nonentity/FTEmployee.java | 2 +- .../nonentity/FullTimeEmployee.java | 2 +- .../nonentity/PartTimeEmployee.java | 2 +- .../core/inheritance/nonentity/Personnel.java | 2 +- .../core/inheritance/nonentity/Project.java | 2 +- .../core/lock/entitymanager/Client.java | 4 +- .../core/lock/entitymanager/Coffee.java | 8 +- .../persistence}/core/lock/query/Client.java | 4 +- .../core/lock/query/Department.java | 2 +- .../core/lock/query/Employee.java | 2 +- .../core/lock/query/Insurance.java | 2 +- .../core/metamodelapi/attribute/Client.java | 22 +- .../core/metamodelapi/attribute/Order.java | 2 +- .../core/metamodelapi/basictype/Client.java | 4 +- .../core/metamodelapi/basictype/Order.java | 2 +- .../core/metamodelapi/bindable/A.java | 2 +- .../core/metamodelapi/bindable}/Address.java | 2 +- .../core/metamodelapi/bindable/Client.java | 6 +- .../core/metamodelapi/bindable}/ZipCode.java | 2 +- .../collectionattribute/Client.java | 14 +- .../collectionattribute}/Uni1XMPerson.java | 2 +- .../collectionattribute}/Uni1XMProject.java | 2 +- .../core/metamodelapi/embeddabletype/A.java | 2 +- .../metamodelapi/embeddabletype/Address.java | 2 +- .../metamodelapi/embeddabletype/Client.java | 4 +- .../metamodelapi/embeddabletype/ZipCode.java | 51 + .../core/metamodelapi/entitytype/A.java | 2 +- .../metamodelapi/entitytype}/Address.java | 2 +- .../core/metamodelapi/entitytype/B.java | 2 +- .../core/metamodelapi/entitytype/Client.java | 8 +- .../entitytype}/DID2Employee.java | 2 +- .../entitytype}/DID2EmployeeId.java | 2 +- .../metamodelapi/entitytype}/ZipCode.java | 2 +- .../core/metamodelapi/identifiabletype/A.java | 2 +- .../identifiabletype/Address.java | 74 + .../core/metamodelapi/identifiabletype/B.java | 2 +- .../metamodelapi/identifiabletype/Client.java | 6 +- .../identifiabletype}/DID2Employee.java | 2 +- .../identifiabletype}/DID2EmployeeId.java | 2 +- .../identifiabletype/ZipCode.java | 51 + .../listattribute/BiDirMX1Person.java | 2 +- .../listattribute/BiDirMX1Project.java | 2 +- .../metamodelapi/listattribute/Client.java | 12 +- .../core/metamodelapi/managedtype}/A.java | 2 +- .../metamodelapi/managedtype}/Address.java | 2 +- .../core/metamodelapi/managedtype}/B.java | 2 +- .../managedtype/BiDirMX1Person.java | 2 +- .../managedtype/BiDirMX1Project.java | 2 +- .../core/metamodelapi/managedtype/Client.java | 138 +- .../metamodelapi/managedtype}/Department.java | 2 +- .../metamodelapi/managedtype/Employee.java | 2 +- .../core/metamodelapi/managedtype/Order.java | 2 +- .../managedtype/Uni1XMPerson.java | 2 +- .../managedtype}/Uni1XMProject.java | 2 +- .../metamodelapi/managedtype}/ZipCode.java | 2 +- .../metamodelapi/mapattribute/Client.java | 14 +- .../mapattribute}/Department.java | 2 +- .../metamodelapi/mapattribute/Employee.java | 2 +- .../mappedsuperclasstype/Client.java | 4 +- .../mappedsuperclasstype/Employee.java | 2 +- .../mappedsuperclasstype/Employee2.java | 2 +- .../mappedsuperclasstype/EmployeeId.java | 2 +- .../FullTimeEmployee.java | 2 +- .../FullTimeEmployee2.java | 2 +- .../core/metamodelapi/metamodel}/Address.java | 2 +- .../core/metamodelapi/metamodel/B.java | 2 +- .../core/metamodelapi/metamodel/Client.java | 26 +- .../core/metamodelapi/metamodel/Employee.java | 2 +- .../metamodel/FullTimeEmployee.java | 2 +- .../core/metamodelapi/metamodel}/Order.java | 2 +- .../core/metamodelapi/metamodel}/ZipCode.java | 2 +- .../metamodelapi/pluralattribute/Client.java | 10 +- .../pluralattribute}/Uni1XMPerson.java | 2 +- .../pluralattribute}/Uni1XMProject.java | 2 +- .../core/metamodelapi/setattribute}/A.java | 6 +- .../metamodelapi/setattribute/Address.java | 74 + .../metamodelapi/setattribute/Client.java | 20 +- .../metamodelapi/setattribute/ZipCode.java | 51 + .../singularattribute/Address.java | 74 + .../metamodelapi/singularattribute}/B.java | 2 +- .../singularattribute/Client.java | 66 +- .../singularattribute/ZipCode.java | 51 + .../core/metamodelapi/type}/Address.java | 2 +- .../core/metamodelapi/type/B.java | 2 +- .../core/metamodelapi/type/Client.java | 12 +- .../core/metamodelapi/type}/Order.java | 2 +- .../core/metamodelapi/type}/ZipCode.java | 2 +- .../persistence}/core/nestedembedding/A.java | 4 +- .../core/nestedembedding/Address.java | 2 +- .../persistence}/core/nestedembedding/B.java | 4 +- .../core/nestedembedding/Client.java | 4 +- .../core/nestedembedding/ZipCode.java | 2 +- .../core/override/attributeoverride/Book.java | 2 +- .../override/attributeoverride/Client.java | 4 +- .../override/attributeoverride/LawBook.java | 4 +- .../override/callbacklistener/Client.java | 7 +- .../callbacklistener/OverridenCallBack.java | 5 +- .../core/override/embeddable/Applicant.java | 2 +- .../core/override/embeddable/Book.java | 4 +- .../core/override/embeddable/BookStore.java | 4 +- .../core/override/embeddable/Client.java | 4 +- .../core/override/embeddable/Complaint.java | 4 +- .../core/override/embeddable/Film.java | 2 +- .../core/override/embeddable/MovieTicket.java | 4 +- .../core/override/embeddable/Publisher.java | 2 +- .../core/override/embeddable/Publisher1.java | 2 +- .../core/override/entity/Client.java | 4 +- .../override/entity/NameOnlyInAnnotation.java | 4 +- .../core/override/entity/NameOnlyInXML.java | 4 +- .../core/override/entity/NameOverride.java | 4 +- .../override/entity/NoEntityAnnotation.java | 4 +- .../core/override/entitylistener/Client.java | 7 +- .../override/entitylistener/ListenerA.java | 5 +- .../override/entitylistener/ListenerB.java | 5 +- .../override/entitylistener/ListenerC.java | 5 +- .../override/entitylistener/ListenerD.java | 5 +- .../entitylistener/NoEntityListener.java | 6 +- .../override/entitylistener/NoListener.java | 4 +- .../entitylistener/OverridenListener.java | 9 +- .../core/override/joincolumn/Client.java | 4 +- .../core/override/joincolumn/Course.java | 4 +- .../core/override/joincolumn/Cubicle.java | 6 +- .../core/override/joincolumn/CubiclePK.java | 4 +- .../core/override/joincolumn/Customer1.java | 4 +- .../core/override/joincolumn/Hardware.java | 4 +- .../override/joincolumn/RetailOrder1.java | 4 +- .../core/override/joincolumn}/Student.java | 4 +- .../override/joincolumn/TheatreCompany1.java | 4 +- .../override/joincolumn/TheatreLocation1.java | 4 +- .../core/override/manytomany/Client.java | 4 +- .../core/override/manytomany/Course.java | 4 +- .../core/override/manytomany}/Student.java | 4 +- .../core/override/mapkey/Client.java | 4 +- .../core/override/mapkey/Consumer.java | 4 +- .../core/override/mapkey/Customers.java | 4 +- .../core/override/mapkey/Department.java | 4 +- .../core/override/mapkey/Employee.java | 4 +- .../override/mapkey/EmployeeComparator.java | 2 +- .../core/override/mapkey/RetailOrder.java | 4 +- .../mapkey/RetailOrderCostComparatorDESC.java | 2 +- .../core/override/mapkey/Store.java | 4 +- .../core/override/mapkey/TheatreCompany.java | 4 +- .../core/override/mapkey/TheatreLocation.java | 4 +- .../override/nocallbacklistener/Client.java | 7 +- .../NoCallBackListener.java | 5 +- .../core/override/table/Client.java | 4 +- .../override/table/NoTableAnnotation.java | 4 +- .../core/override/util/CallBackCounts.java | 2 +- .../core/persistenceUtil/Client.java | 4 +- .../core/persistenceUtil}/Employee.java | 2 +- .../core/persistenceUtilUtil/Client.java | 4 +- .../core/persistenceUtilUtil/Employee.java | 2 +- .../core/query/apitests/Client1.java | 4 +- .../core/query/apitests/Client2.java | 4 +- .../core/query/apitests/Client3.java | 4 +- .../core/query/apitests/DataTypes2.java | 2 +- .../core/query/apitests/Department.java | 2 +- .../core/query/apitests/Employee.java | 2 +- .../core/query/apitests/Insurance.java | 2 +- .../core/query/flushmode/Client1.java | 6 +- .../core/query/flushmode/Client2.java | 12 +- .../core/query/flushmode/Client3.java | 6 +- .../core/query/language/Client1.java | 8 +- .../core/query/language/Client2.java | 10 +- .../core/query/language/Client3.java | 4 +- .../core/query/language/Client4.java | 8 +- .../core/query/language/Client5.java | 4 +- .../core/query/language/Client6.java | 6 +- .../core/query/parameter/Client1.java | 4 +- .../core/query/parameter/Client2.java | 4 +- .../core/query/parameter/Employee.java | 2 +- .../relationship/annotations/Address.java | 2 +- .../annotations}/AnnualReview.java | 2 +- .../core/relationship/annotations/Client.java | 4 +- .../relationship/annotations/Company.java | 2 +- .../relationship/annotations/Insurance.java | 2 +- .../core/relationship/annotations/Person.java | 2 +- .../relationship/annotations/Project.java | 2 +- .../core/relationship/annotations/Team.java | 2 +- .../bidirmanyxmany/BiDirMXMPerson.java | 2 +- .../bidirmanyxmany/BiDirMXMProject.java | 2 +- .../relationship/bidirmanyxmany/Client.java | 4 +- .../bidirmanyxone/BiDirMX1Person.java | 2 +- .../bidirmanyxone/BiDirMX1Project.java | 2 +- .../relationship/bidirmanyxone/Client.java | 4 +- .../bidironexmany/BiDir1XMPerson.java | 2 +- .../bidironexmany/BiDir1XMProject.java | 2 +- .../relationship/bidironexmany/Client.java | 4 +- .../bidironexone/BiDir1X1Person.java | 2 +- .../bidironexone/BiDir1X1Project.java | 2 +- .../relationship/bidironexone/Client.java | 4 +- .../core/relationship/defaults/Address.java | 2 +- .../relationship/defaults}/AnnualReview.java | 2 +- .../core/relationship/defaults/Client.java | 4 +- .../core/relationship/defaults/Company.java | 5 +- .../core/relationship/defaults/Insurance.java | 2 +- .../core/relationship/defaults/Person.java | 2 +- .../core/relationship/defaults/Project.java | 2 +- .../core/relationship/defaults/Team.java | 2 +- .../core/relationship/descriptors/Client.java | 4 +- .../relationship/descriptors/XAddress.java | 2 +- .../descriptors/XAnnualReview.java | 2 +- .../relationship/descriptors/XCompany.java | 2 +- .../relationship/descriptors/XInsurance.java | 2 +- .../relationship/descriptors/XPerson.java | 2 +- .../relationship/descriptors/XProject.java | 2 +- .../core/relationship/descriptors/XTeam.java | 2 +- .../relationship/unimanyxmany/Client.java | 4 +- .../unimanyxmany/UniMXMPerson.java | 2 +- .../unimanyxmany/UniMXMProject.java | 2 +- .../core/relationship/unimanyxone/Client.java | 4 +- .../unimanyxone/UniMX1Person.java | 2 +- .../unimanyxone/UniMX1Project.java | 2 +- .../core/relationship/unionexmany/Client.java | 4 +- .../unionexmany/Uni1XMPerson.java | 2 +- .../unionexmany/Uni1XMProject.java | 2 +- .../core/relationship/unionexone/Client.java | 4 +- .../relationship/unionexone/Uni1X1Person.java | 2 +- .../unionexone/Uni1X1Project.java | 2 +- .../persistence}/core/types/auto/Client.java | 4 +- .../core/types/auto/DataTypes.java | 2 +- .../persistence}/core/types/common/Grade.java | 2 +- .../persistence}/core/types/field/Client.java | 12 +- .../core/types/field/DataTypes.java | 5 +- .../core/types/field/DataTypes2.java | 2 +- .../core/types/field/UUIDType.java | 2 +- .../core/types/generator/Client.java | 4 +- .../core/types/generator/Client1.java | 2 +- .../core/types/generator/Client2.java | 2 +- .../core/types/generator/Client3.java | 2 +- .../core/types/generator/Client4.java | 2 +- .../core/types/generator/DataTypes.java | 2 +- .../core/types/generator/DataTypes2.java | 2 +- .../core/types/generator/DataTypes3.java | 2 +- .../core/types/generator/DataTypes4.java | 2 +- .../types/primarykey/compound/Client.java | 4 +- .../types/primarykey/compound/CompoundPK.java | 2 +- .../primarykey/compound/CompoundPK2.java | 2 +- .../primarykey/compound/CompoundPK3.java | 2 +- .../types/primarykey/compound/TestBean.java | 2 +- .../types/primarykey/compound/TestBean2.java | 4 +- .../types/primarykey/compound/TestBean3.java | 4 +- .../core/types/property/Client1.java | 7 +- .../core/types/property/Client2.java | 7 +- .../core/types/property/Customer.java | 5 +- .../core/types/property/DataTypes.java | 5 +- .../core/types/property/DataTypes2.java | 2 +- .../persistence}/core/versioning/Client.java | 4 +- .../persistence}/core/versioning/Member.java | 2 +- .../persist/oneXmanyFetchEager/A.java | 4 +- .../persist/oneXmanyFetchEager/B.java | 4 +- .../persist/oneXmanyFetchEager/Client.java | 4 +- .../persistence}/jpa22/datetime/Client.java | 4 +- .../jpa22/datetime/DateTimeEntity.java | 2 +- .../jpa22/datetime/DummyEntity.java | 2 +- .../generators/tablegenerators/Client.java | 4 +- .../generators/tablegenerators/DataTypes.java | 2 +- .../jpa22/query/stream/Client.java | 4 +- .../jpa22/query/stream/Department.java | 2 +- .../jpa22/query/stream/Employee.java | 2 +- .../jpa22/query/stream/Insurance.java | 2 +- .../attroverride/AbstractPersonnel.java | 2 +- .../jpa22/repeatable/attroverride/Client.java | 4 +- .../repeatable/attroverride/Department.java | 2 +- .../repeatable/attroverride/Employee.java | 2 +- .../attroverride/FullTimeEmployee.java | 2 +- .../attroverride/PartTimeEmployee.java | 2 +- .../repeatable/attroverride/Project.java | 2 +- .../jpa22/repeatable/convert/Address.java | 2 +- .../jpa22/repeatable/convert/B.java | 2 +- .../jpa22/repeatable/convert/Client.java | 4 +- .../repeatable/convert/DotConverter.java | 2 +- .../jpa22/repeatable/convert/Employee3.java | 2 +- .../convert/NumberToStateConverter.java | 2 +- .../jpa22/repeatable/joincolumn/Client.java | 4 +- .../repeatable/joincolumn/DID2Dependent.java | 2 +- .../joincolumn/DID2DependentId.java | 2 +- .../repeatable/joincolumn/DID2Employee.java | 2 +- .../repeatable/joincolumn/DID2EmployeeId.java | 2 +- .../repeatable/mapkeyjoincolumn/Client.java | 4 +- .../repeatable/mapkeyjoincolumn/Course.java | 2 +- .../repeatable/mapkeyjoincolumn/Semester.java | 2 +- .../repeatable/mapkeyjoincolumn/Student.java | 2 +- .../repeatable/namedentitygraph/Client.java | 4 +- .../namedentitygraph/Department.java | 2 +- .../repeatable/namedentitygraph/Employee.java | 2 +- .../namedentitygraph/Employee2.java | 2 +- .../namedentitygraph/Employee3.java | 2 +- .../repeatable/namednativequery/Client.java | 4 +- .../repeatable/namednativequery/Coffee.java | 4 +- .../namedstoredprocedurequery/Client.java | 4 +- .../namedstoredprocedurequery/Employee.java | 2 +- .../generators/sequencegenerators/Client.java | 4 +- .../generators/sequencegenerators/Simple.java | 2 +- .../se/repeatable/secondarytable/Client.java | 4 +- .../secondarytable/HardwareProduct.java | 2 +- .../se/repeatable/secondarytable/Product.java | 2 +- .../secondarytable/SoftwareProduct.java | 2 +- .../persistence}/se/cache/inherit/Client.java | 4 +- .../se/cache/inherit/HardwareProduct.java | 2 +- .../se/cache/inherit/HardwareProduct2.java | 2 +- .../se/cache/inherit/Product.java | 2 +- .../se/cache/inherit/Product2.java | 2 +- .../se/cache/inherit/SoftwareProduct.java | 2 +- .../se/cache/inherit/SoftwareProduct2.java | 2 +- .../persistence}/se/cache/xml/all/Client.java | 6 +- .../persistence}/se/cache/xml/all/Order.java | 2 +- .../se/cache/xml/disableselective/Client.java | 4 +- .../cache/xml/disableselective/Customer.java | 2 +- .../se/cache/xml/disableselective/Order.java | 2 +- .../se/cache/xml/enableselective/Client.java | 4 +- .../cache/xml/enableselective/Customer.java | 2 +- .../cache/xml/enableselective/Department.java | 2 +- .../se/cache/xml/enableselective/Order.java | 2 +- .../se/cache/xml/none/Client.java | 4 +- .../persistence}/se/cache/xml/none/Order.java | 2 +- .../tck/persistence}/se/descriptor/A.java | 2 +- .../tck/persistence}/se/descriptor/B.java | 2 +- .../persistence}/se/descriptor/Client.java | 4 +- .../tck/persistence}/se/entityManager/A.java | 2 +- .../persistence}/se/entityManager/Client.java | 4 +- .../se/entityManager/Employee.java | 4 +- .../persistence/se/entityManager}/Order.java | 2 +- .../se/entityManagerFactory/Client.java | 4 +- .../se}/entityManagerFactory/Member.java | 2 +- .../se}/entityManagerFactory/Member_.java | 2 +- .../se/entityManagerFactory/Order.java | 2 +- .../se/entityManagerFactory/Order_.java | 2 +- .../contracts/resource_local/Client.java | 18 +- .../contracts/resource_local/Order.java | 2 +- .../contracts/resource_local/Order2.java | 2 +- .../contracts/resource_local/Order3.java | 2 +- .../contracts/resource_local/Order4.java | 2 +- .../contracts/resource_local/Order5.java | 2 +- .../tck/persistence}/se/resource_local/A.java | 2 +- .../tck/persistence}/se/resource_local/B.java | 2 +- .../se/resource_local/Client1.java | 7 +- .../se/resource_local/Client2.java | 7 +- .../discriminatorColumn/Client.java | 4 +- .../discriminatorColumn/Simple.java | 2 +- .../annotations/enumerated/Client.java | 4 +- .../annotations/enumerated/Grade.java | 2 +- .../annotations/enumerated/Simple.java | 2 +- .../annotations/id/Client.java | 4 +- .../annotations/id}/Simple.java | 2 +- .../annotations/index/Client.java | 4 +- .../annotations/index/Simple.java | 2 +- .../annotations/joinTable/Client.java | 4 +- .../annotations/joinTable/Course.java | 2 +- .../annotations/joinTable/Student.java | 2 +- .../annotations/orderColumn/Client.java | 4 +- .../annotations/orderColumn/Department.java | 2 +- .../annotations/orderColumn/Employee.java | 2 +- .../annotations/secondaryTable/Client.java | 4 +- .../annotations/secondaryTable/Simple.java | 2 +- .../annotations/sequenceGenerator/Client.java | 4 +- .../annotations/sequenceGenerator/Simple.java | 2 +- .../annotations/table/Client.java | 4 +- .../annotations/table}/Simple.java | 2 +- .../annotations/tableGenerator/Client.java | 4 +- .../annotations/tableGenerator/Simple.java | 2 +- .../annotations/temporal/Client.java | 4 +- .../annotations/temporal/Simple.java | 2 +- .../annotations/uniqueConstraint/Client.java | 4 +- .../annotations/uniqueConstraint/Simple.java | 2 +- .../annotations/version/Client.java | 4 +- .../annotations/version/Simple.java | 2 +- .../se/schemaGeneration/scripts/Client.java | 4 +- .../se/schemaGeneration/scripts/Simple.java | 2 +- .../persistence/signaturetest/JPASigTest.java | 148 + .../src/main/resources/LICENSE_EFTL.md | 83 + .../src/main/resources/LICENSE_EPL.md | 637 + .../persistence/common/persistence-import.xml | 18 +- ...akarta.persistence.spi.PersistenceProvider | 0 .../common/schema30/properties.xml | 70 + .../common/template/persistence.xml | 40 + .../template/standalone/persistence.xml | 32 + .../StoredProcedureQuery/myMappingFile.xml | 2 +- .../elementcollection/myMappingFile.xml | 2 +- .../core/annotations/nativequery/orm.xml | 2 +- .../core/cache/basicTests/persistence_ee.xml | 6 +- .../core/cache/basicTests/persistence_se.xml | 4 +- .../core/callback/listener/orm.xml | 2 +- .../core/callback/listeneroverride/orm.xml | 16 +- .../persistence}/core/callback/method/orm.xml | 6 +- .../core/callback/methodoverride/orm.xml | 8 +- .../persistence}/core/callback/xml/orm.xml | 26 +- .../entitytest/apitests/myMappingFile.xml | 4 +- .../core/entitytest/apitests/orm.xml | 0 .../inheritance/mappedsc/descriptors/orm.xml | 2 +- .../core/override/attributeoverride/orm.xml | 6 +- .../core/override/callbacklistener/orm.xml | 4 +- .../core/override/embeddable/orm.xml | 16 +- .../persistence}/core/override/entity/orm.xml | 10 +- .../core/override/entitylistener/orm.xml | 6 +- .../core/override/joincolumn/orm.xml | 16 +- .../core/override/manytomany/orm.xml | 6 +- .../persistence}/core/override/mapkey/orm.xml | 16 +- .../core/override/nocallbacklistener/orm.xml | 4 +- .../persistence}/core/override/table/orm.xml | 4 +- .../core/relationship/descriptors/orm.xml | 16 +- .../repeatable/secondarytable/persistence.xml | 12 +- .../se/cache/inherit/persistence.xml | 24 +- .../tck/persistence}/se/cache/xml/all/orm.xml | 2 +- .../se/cache/xml/all/persistence.xml | 4 +- .../se/cache/xml/disableselective/orm.xml | 4 +- .../xml/disableselective/persistence.xml | 8 +- .../se/cache/xml/enableselective/orm.xml | 6 +- .../cache/xml/enableselective/persistence.xml | 12 +- .../se/cache/xml/none/persistence.xml | 4 +- .../se/descriptor/myMappingFile.xml | 8 +- .../se/descriptor/persistence.xml | 0 .../resource_local/myMappingFile1.xml | 2 +- .../resource_local/myMappingFile2.xml | 2 +- .../contracts/resource_local/orm.xml | 2 +- .../contracts/resource_local/persistence.xml | 0 .../signaturetest/jakarta.persistence.sig_3.2 | 2326 ++ .../signaturetest/sig-test-pkg-list.txt | 31 + .../persistence/signaturetest/sig-test.map | 42 + .../metamodelapi/managedtype/ZipCode.java | 51 - .../core/metamodelapi/metamodel/Address.java | 74 - .../core/metamodelapi/metamodel/ZipCode.java | 51 - .../metamodelapi/setattribute/Address.java | 74 - .../metamodelapi/setattribute/ZipCode.java | 51 - .../jpa/core/metamodelapi/type/Address.java | 74 - .../jpa/core/metamodelapi/type/ZipCode.java | 51 - ...akarta.persistence.spi.PersistenceProvider | 1 - jpa_extras/pom.xml | 76 - pom.xml | 3 +- 1179 files changed, 44295 insertions(+), 2604 deletions(-) create mode 100644 jpa/bin/pom.xml create mode 100644 jpa/common/pom.xml rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/DriverManagerConnection.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/PMClientBase.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/persistence-import.xml (100%) create mode 100755 jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/pluggability/altprovider/implementation/CacheImpl.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/pluggability/altprovider/implementation/ClassTransformerImpl.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/pluggability/altprovider/implementation/EntityManagerFactoryImpl.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/pluggability/altprovider/implementation/EntityManagerImpl.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/pluggability/altprovider/implementation/EntityTransactionImpl.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/pluggability/altprovider/implementation/PersistenceProvider.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/pluggability/altprovider/implementation/PersistenceUnitInfoImpl.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/pluggability/altprovider/implementation/QueryImpl.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/pluggability/altprovider/implementation/TSLogRecord.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/pluggability/altprovider/implementation/TSLogger.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/pluggability/altprovider/implementation/TSXMLFormatter.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/pluggability/util/LogFileProcessor.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/pluggability/util/LogRecordEntry.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Address.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Address_.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Alias.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Alias_.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Country.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Country_.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/CreditCard.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/CreditCard_.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Customer.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Customer_.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Department.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Department_.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Employee.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Employee_.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/HardwareProduct.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/HardwareProduct_.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Info.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Info_.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/LineItem.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/LineItemException.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/LineItem_.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Order.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Order_.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Phone.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Phone_.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Product.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Product_.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/ShelfLife.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/ShelfLife_.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/SoftwareProduct.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/SoftwareProduct_.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Spouse.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Spouse_.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Trim.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Trim_.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/Util.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/UtilAliasData.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/UtilAliasOnlyData.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/UtilCustAliasProductData.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/UtilCustomerData.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/UtilDepartmentEmployeeData.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/UtilOrderData.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/UtilPhoneData.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/UtilProductData.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/UtilSetup.java (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/UtilTrimData.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/schema30/properties.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/template/persistence.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => common/src/main/java/ee/jakarta/tck/persistence}/common/template/standalone/persistence.xml (100%) create mode 100644 jpa/common/src/main/resources/LICENSE_EFTL.md create mode 100644 jpa/common/src/main/resources/LICENSE_EPL.md rename jpa/{src/main/resources/com/sun/ts/tests/jpa => common/src/main/resources/ee/jakarta/tck/persistence}/common/persistence-import.xml (100%) create mode 100755 jpa/common/src/main/resources/ee/jakarta/tck/persistence/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider rename jpa/{src/main/resources/com/sun/ts/tests/jpa => common/src/main/resources/ee/jakarta/tck/persistence}/common/schema30/properties.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => common/src/main/resources/ee/jakarta/tck/persistence}/common/template/persistence.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => common/src/main/resources/ee/jakarta/tck/persistence}/common/template/standalone/persistence.xml (100%) create mode 100644 jpa/dist/pom.xml create mode 100644 jpa/dist/src/main/assembly/assembly.xml create mode 100644 jpa/dist/src/main/resources/LICENSE.md create mode 100644 jpa/dist/src/main/resources/LICENSE_EFTL.md create mode 100644 jpa/docs/LICENSE_EFTL.md create mode 100644 jpa/docs/TCK-Exclude-List.txt create mode 100644 jpa/docs/assertions/api/api-assertions-3_2.html create mode 100644 jpa/docs/assertions/spec/spec-assertions-3_2.html create mode 100755 jpa/docs/index.html create mode 100644 jpa/docs/jpatck-ReleaseNotes-3.2.html create mode 100644 jpa/docs/userguide/README.md create mode 100644 jpa/docs/userguide/pom.xml create mode 100644 jpa/docs/userguide/src/main/jbake/assets/README.md create mode 100644 jpa/docs/userguide/src/main/jbake/assets/_config.yml create mode 100644 jpa/docs/userguide/src/main/jbake/assets/css/style.css create mode 100644 jpa/docs/userguide/src/main/jbake/assets/img/eclipse_foundation_logo_tiny.png create mode 100644 jpa/docs/userguide/src/main/jbake/content/README create mode 100644 jpa/docs/userguide/src/main/jbake/content/attributes.conf create mode 100644 jpa/docs/userguide/src/main/jbake/content/config.adoc create mode 100644 jpa/docs/userguide/src/main/jbake/content/config.inc create mode 100644 jpa/docs/userguide/src/main/jbake/content/debug-tips.inc create mode 100644 jpa/docs/userguide/src/main/jbake/content/debug.adoc create mode 100644 jpa/docs/userguide/src/main/jbake/content/defns.inc create mode 100644 jpa/docs/userguide/src/main/jbake/content/faq.adoc create mode 100644 jpa/docs/userguide/src/main/jbake/content/install-server-vi.inc create mode 100644 jpa/docs/userguide/src/main/jbake/content/install-server.inc create mode 100644 jpa/docs/userguide/src/main/jbake/content/install.adoc create mode 100644 jpa/docs/userguide/src/main/jbake/content/intro.adoc create mode 100644 jpa/docs/userguide/src/main/jbake/content/intro.inc create mode 100644 jpa/docs/userguide/src/main/jbake/content/packages.inc create mode 100644 jpa/docs/userguide/src/main/jbake/content/platforms.inc create mode 100644 jpa/docs/userguide/src/main/jbake/content/preface.adoc create mode 100644 jpa/docs/userguide/src/main/jbake/content/rebuild.adoc create mode 100644 jpa/docs/userguide/src/main/jbake/content/rebuild.inc create mode 100644 jpa/docs/userguide/src/main/jbake/content/req-software.inc create mode 100644 jpa/docs/userguide/src/main/jbake/content/rules.adoc create mode 100644 jpa/docs/userguide/src/main/jbake/content/rules.inc create mode 100644 jpa/docs/userguide/src/main/jbake/content/tck-packages.inc create mode 100644 jpa/docs/userguide/src/main/jbake/content/title.adoc create mode 100644 jpa/docs/userguide/src/main/jbake/content/title.inc create mode 100644 jpa/docs/userguide/src/main/jbake/content/toc.adoc create mode 100644 jpa/docs/userguide/src/main/jbake/content/using-examples.inc create mode 100644 jpa/docs/userguide/src/main/jbake/content/using.adoc create mode 100644 jpa/docs/userguide/src/main/jbake/content/using.inc create mode 100644 jpa/docs/userguide/src/main/jbake/jbake.properties create mode 100644 jpa/docs/userguide/src/main/jbake/templates/footer.ftl create mode 100644 jpa/docs/userguide/src/main/jbake/templates/header.ftl create mode 100644 jpa/docs/userguide/src/main/jbake/templates/menu.ftl create mode 100644 jpa/docs/userguide/src/main/jbake/templates/page.ftl create mode 100644 jpa/docs/userguide/src/theme/jakartaee-theme.yml create mode 100644 jpa/platform-tests/pom.xml rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/common/A.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/common/Account.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/common/B.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/entityManager/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/entityManager/Order.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/entityManagerFactory/Client.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core => platform-tests/src/main/java/ee/jakarta/tck/persistence/ee}/entityManagerFactory/Order.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/appclient/annotation/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/appclient/annotation/Coffee.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/appclient/annotation/persistence.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/appclient/descriptor/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/appclient/descriptor/Coffee.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/appclient/descriptor/jpa_ee_packaging_appclient_descriptor_client.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/appclient/descriptor/persistence.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/A.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/B.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/C.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/Stateful3Bean.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/Stateful3IF.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/Stateless3Bean.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/Stateless3IF.java (93%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_client.xml (88%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.sun-ejb-jar.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/persistence.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/exclude/A.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/exclude/B.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/exclude/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/exclude/Stateful3Bean.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/exclude/Stateful3IF.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/exclude/jpa_ee_packaging_ejb.jar.sun-ejb-jar.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/exclude/persistence.xml (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/resource_local/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/resource_local/Stateless3Bean.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/resource_local/Stateless3IF.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_client.xml (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.sun-ejb-jar.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/resource_local/persistence.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/standalone/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/standalone/Stateful3Bean.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/standalone/Stateful3IF.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_client.jar.sun-application-client.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.sun-ejb-jar.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/ejb/standalone/persistence.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/web/scope/Client.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/web/scope/ServletTest.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/web/scope/application.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.war.sun-web.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.xml (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/web/scope/persistence.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/web/standalone/Client.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/web/standalone/ServletTest.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.war.sun-web.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.xml (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/packaging/web/standalone/persistence.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/pluggability/contracts/jta/Client.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/pluggability/contracts/jta/Order.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/pluggability/contracts/jta/Order2.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/pluggability/contracts/jta/Order3.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/pluggability/contracts/jta/Order4.java (95%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/pluggability/contracts/jta/persistence.xml (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/pluggability/contracts/resource_local/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/pluggability/contracts/resource_local/Order.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/pluggability/contracts/resource_local/Order2.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/pluggability/contracts/resource_local/Order3.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/pluggability/contracts/resource_local/Order4.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/pluggability/contracts/resource_local/persistence.xml (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/am/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/am/Member.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/am/Member2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/am/Stateful3Bean.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/am/Stateful3Bean2.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/am/Stateful3IF.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/am/Stateful3IF2.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/am/Stateless3Bean.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/am/Stateless3IF.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/am/jpa_ee_propagation_am_client.jar.sun-application-client.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/am/jpa_ee_propagation_am_ejb.jar.sun-ejb-jar.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/am/persistence.xml (75%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/extended/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/extended/Stateful3Bean.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/extended/Stateful3IF.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/extended/Teller.java (88%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/extended/TellerBean.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_client.jar.sun-application-client.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_ejb.jar.sun-ejb-jar.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/extended/persistence.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/jta/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/jta/ServletTest.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/jta/Teller.java (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/jta/TellerBean.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/jta/TellerBean2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/jta/application.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_ejb.jar.sun-ejb-jar.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_web.xml (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/propagation/cm/jta/persistence.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/util/AbstractUrlClient.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/util/Data.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/java/ee/jakarta/tck/persistence}/ee/util/HttpTCKServlet.java (98%) rename jpa/{src/main/java/com/sun/ts/tests => platform-tests/src/main/java/ee/jakarta/tck/persistence}/jpa/ee/packaging/jar/A.java (96%) rename jpa/{src/main/java/com/sun/ts/tests => platform-tests/src/main/java/ee/jakarta/tck/persistence}/jpa/ee/packaging/jar/B.java (96%) rename jpa/{src/main/java/com/sun/ts/tests => platform-tests/src/main/java/ee/jakarta/tck/persistence}/jpa/ee/packaging/jar/C.java (96%) rename jpa/{src/main/java/com/sun/ts/tests => platform-tests/src/main/java/ee/jakarta/tck/persistence}/jpa/ee/packaging/jar/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests => platform-tests/src/main/java/ee/jakarta/tck/persistence}/jpa/ee/packaging/jar/persistence.xml (100%) create mode 100644 jpa/platform-tests/src/main/resources/LICENSE_EFTL.md create mode 100644 jpa/platform-tests/src/main/resources/LICENSE_EPL.md rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/appclient/annotation/persistence.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/appclient/descriptor/jpa_ee_packaging_appclient_descriptor_client.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/appclient/descriptor/orm.xml (92%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/appclient/descriptor/persistence.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_client.xml (88%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.sun-ejb-jar.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/myMappingFile.xml (88%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/myMappingFile2.xml (89%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/orm.xml (93%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/descriptor/persistence.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/exclude/jpa_ee_packaging_ejb.jar.sun-ejb-jar.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/exclude/persistence.xml (94%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_client.xml (92%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.sun-ejb-jar.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/resource_local/persistence.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_client.jar.sun-application-client.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.sun-ejb-jar.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/ejb/standalone/persistence.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/jar/myMappingFile.xml (93%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/jar/myMappingFile2.xml (93%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/jar/orm.xml (93%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/jar/persistence.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/web/scope/application.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.war.sun-web.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.xml (94%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/web/scope/persistence.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.war.sun-web.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.xml (93%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/packaging/web/standalone/persistence.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/pluggability/contracts/jta/myMappingFile1.xml (92%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/pluggability/contracts/jta/myMappingFile2.xml (92%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/pluggability/contracts/jta/orm.xml (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/pluggability/contracts/jta/persistence.xml (93%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa/se => platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee}/pluggability/contracts/resource_local/myMappingFile1.xml (91%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/pluggability/contracts/resource_local/myMappingFile2.xml (91%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/pluggability/contracts/resource_local/orm.xml (91%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/pluggability/contracts/resource_local/persistence.xml (95%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/propagation/am/jpa_ee_propagation_am_client.jar.sun-application-client.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/propagation/am/jpa_ee_propagation_am_ejb.jar.sun-ejb-jar.xml (100%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/propagation/am/persistence.xml (75%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_client.jar.sun-application-client.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_ejb.jar.sun-ejb-jar.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/propagation/cm/extended/persistence.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/propagation/cm/jta/application.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_ejb.jar.sun-ejb-jar.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_web.xml (93%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => platform-tests/src/main/resources/ee/jakarta/tck/persistence}/ee/propagation/cm/jta/persistence.xml (100%) create mode 100644 jpa/procedures/pom.xml rename {jpa_extras/src/main/java/com/sun/ts/lib/tests/jpa => jpa/procedures/src/main/java/ee/jakarta/tck/persistence}/storedprocedures/CS_Procs.java (98%) create mode 100644 jpa/spec-tests/pom.xml rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/EntityGraph/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/EntityGraph/Department.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/EntityGraph/Employee.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/EntityGraph/Employee2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/EntityGraph/Employee3.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/StoredProcedureQuery/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/StoredProcedureQuery/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/StoredProcedureQuery/Client2.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/StoredProcedureQuery/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/StoredProcedureQuery/Employee2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/StoredProcedureQuery/EmployeeMappedSC.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/field/Client.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/field/Client1.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/field/Client2.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/field/Client3.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/field/Client4.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/field/DataTypes.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/field/DataTypes2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/mappedsc/AbstractPersonnel.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/mappedsc/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/mappedsc/Department.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/mappedsc/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/mappedsc/FullTimeEmployee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/mappedsc/PartTimeEmployee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/mappedsc/Project.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/property/Client.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/property/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/property/Client2.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/property/DataTypes.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/access/property/DataTypes2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/assocoverride/Address.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/assocoverride/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/assocoverride/Employee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/assocoverride/PartTimeEmployee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/basic/A.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/basic/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/basic/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/basic/Client2.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/collectiontable}/A.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/collectiontable/Address.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/collectiontable/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/Address.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/B.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/CharConverter.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/CommaConverter.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/Country.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/Customer.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/Department.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/DisableAutoApplyConverter.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/DotConverter.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/DotConverter2.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/Employee.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/Employee2.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/Employee3.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/FullTimeEmployee.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/FullTimeEmployee2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/IntegerConverter.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/NumberToStateConverter.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/SalaryConverter.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/convert/SpaceConverter.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/discriminatorValue/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/discriminatorValue/PartProduct.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/discriminatorValue/PartProduct2.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/discriminatorValue/PricedPartProduct2.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/discriminatorValue/Product.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/discriminatorValue/Product2.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/elementcollection/A.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/elementcollection/Address.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/elementcollection/Client1.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/elementcollection/Client2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/elementcollection/Customer.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/elementcollection/CustomerXML.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/embeddable/Address.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddable}/B.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/embeddable/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddable}/ZipCode.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/embeddableMapValue/Address.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/embeddableMapValue/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/embeddableMapValue/Employee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/entity/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/entity/Coffee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/FieldBigDecimalId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/FieldBigIntegerId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/FieldIntId.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/FieldIntegerId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/FieldSQLDateId.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/FieldStringId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/FieldUtilDateId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/PropertyBigDecimalId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/PropertyBigIntegerId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/PropertyIntId.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/PropertyIntegerId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/PropertySQLDateId.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/PropertyStringId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/id/PropertyUtilDateId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/lob/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/lob/DataTypes.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkey/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkey/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkey/Client2.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkey/Department.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkey/Employee.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkey/Employee2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkey/Employee3.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkey/Employee4.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyclass/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyclass/Course.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyclass/Semester.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyclass/Student.java (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeycolumn/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeycolumn/Department.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeycolumn/Department2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeycolumn/Employee.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyenumerated/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyenumerated/Department.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyenumerated/Department2.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyenumerated/Department3.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyenumerated/Department4.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated}/EmbeddedEmployee.java (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyenumerated/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyenumerated/Employee2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyenumerated/Employee3.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyenumerated/Employee4.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyenumerated/Numbers.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyenumerated/Offices.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyjoincolumn/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyjoincolumn/Course.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyjoincolumn/Semester.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeyjoincolumn/Student.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeytemporal/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeytemporal/Department.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeytemporal/Department2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeytemporal/Department4.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal}/EmbeddedEmployee.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeytemporal/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeytemporal/Employee2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapkeytemporal/Employee4.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapsid/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapsid/DID1bDependent.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapsid/DID1bDependentId.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/mapsid/DID1bEmployee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/nativequery/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/nativequery/Item.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/nativequery/Order1.java (79%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/nativequery/Order2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/nativequery/PurchaseOrder.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/onexmanyuni/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/onexmanyuni/Customer1.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/onexmanyuni/RetailOrder2.java (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/orderby/A.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/orderby/A2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/orderby/Address.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/orderby/Address2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/orderby/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/orderby/Client2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/orderby/Client3.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/orderby/Customer.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/orderby/Customer2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/orderby/Department.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/orderby/Employee.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/orderby/Insurance.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/orderby/ZipCode.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/orderby/ZipCode2.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/ordercolumn/Client1.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/ordercolumn/Client2.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/ordercolumn/Course.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/ordercolumn/Department.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/ordercolumn/Department2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/ordercolumn/Employee.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/ordercolumn/Employee2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/ordercolumn/Student.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/tableGenerator/Client.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/tableGenerator/Client1.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/tableGenerator/Client2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/tableGenerator/Client3.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/tableGenerator/Client4.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/tableGenerator/DataTypes.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/tableGenerator/DataTypes2.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/tableGenerator/DataTypes3.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/tableGenerator/DataTypes4.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/temporal/A2_Field.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/temporal/A2_Property.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/temporal/A_Field.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/temporal/A_Property.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/temporal/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Client.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Client2.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Client3.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Client4.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Int_Field.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Int_Property.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Integer_Field.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Integer_Property.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/LongClass_Field.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/LongClass_Property.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Long_Field.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Long_Property.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/ShortClass_Field.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/ShortClass_Property.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Short_Field.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Short_Property.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Timestamp_Field.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/annotations/version/Timestamp_Property.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/basic/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/basic/Order.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/cache/basicTests/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/cache/basicTests/Order.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/cache/basicTests/persistence_ee.xml (89%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/cache/basicTests/persistence_se.xml (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/common/CallbackStatusIF.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/common/CallbackStatusImpl.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/common/Constants.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/common/EntityCallbackClientBase.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/common/GenerictListener.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/common/GenerictListenerImpl.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/common/ListenerA.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/common/ListenerAA.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/common/ListenerB.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/common/ListenerBB.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/common/ListenerBase.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/common/ListenerC.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/common/ListenerCC.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/inheritance/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/inheritance/PartProduct.java (84%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/inheritance/PartProductListener.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/inheritance/PricedPartProduct.java (84%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/inheritance/PricedPartProductCallback.java (89%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/inheritance/PricedPartProductListener.java (78%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/inheritance/PricedPartProduct_2.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/inheritance/Product.java (87%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/inheritance/ProductListener.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/listener/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/listener/LineItem.java (89%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener}/LineItemSuper.java (78%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/listener/Order.java (87%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/listener/Product.java (86%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/listeneroverride/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/listeneroverride/LineItem.java (89%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/callback/listener => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride}/LineItemSuper.java (77%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/listeneroverride/Order.java (87%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/listeneroverride/Product.java (86%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/method/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/method/LineItem.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/method/Order.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/method/Product.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/methodoverride/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/methodoverride/LineItem.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/methodoverride/Order.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/methodoverride/Product.java (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/xml/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/xml/Customer.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/xml/LineItem.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/xml/LineItemSuper.java (84%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/xml/Order.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/callback/xml/Product.java (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaBuilder/Client1.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaBuilder/Client2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaBuilder/Client3.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaBuilder/Client4.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaBuilder/Client5.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaBuilder/Client6.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaBuilder/Client7.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaBuilder/Client8.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaDelete/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaQuery/A.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaQuery/Client1.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaQuery/Client2.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaQuery/Client3.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaQuery/Client4.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaQuery/Client5.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaQuery/Client6.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaQuery/Client7.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/CriteriaUpdate/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/From/Client1.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/From/Client2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/From/Client3.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/From/Client4.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/Join/Client1.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/Join/Client2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/Join/Client3.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/Root/Client1.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/Root/Client2.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/Root/Client3.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/Root/Client4.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/metamodelquery/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/metamodelquery/Client2.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/metamodelquery/Client3.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/metamodelquery/Client4.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/metamodelquery/Client5.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/metamodelquery/Client6.java (87%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/metamodelquery/Client7.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/misc/Client1.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/misc/Client2.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/misc/Client3.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/parameter/Client.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/parameter/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/parameter/Client2.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/persistenceUtil => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/parameter}/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/strquery/Client1.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/strquery/Client2.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/strquery/Client3.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/strquery/Client4.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/criteriaapi/strquery/Client5.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex1a/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex1a/DID1Dependent.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex1a/DID1DependentId.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex1a/DID1Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex1b/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex1b/DID1bDependent.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex1b/DID1bDependentId.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex1b/DID1bEmployee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex2a/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex2a/DID2Dependent.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex2a/DID2DependentId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex2a/DID2Employee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex2a/DID2EmployeeId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex2b/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex2b/DID2bDependent.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex2b/DID2bDependentId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex2b/DID2bEmployee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex2b/DID2bEmployeeId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex3a/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex3a/DID3Dependent.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex3a/DID3DependentId.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex3a/DID3Employee.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex3a/DID3EmployeeId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex3b/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex3b/DID3bDependent.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex3b/DID3bDependentId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex3b/DID3bEmployee.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex3b/DID3bEmployeeId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex4a/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex4a/DID4MedicalHistory.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex4a/DID4Person.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex4b/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex4b/DID4bMedicalHistory.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex4b/DID4bPerson.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex5a/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex5a/DID5MedicalHistory.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex5a/DID5Person.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex5a/DID5PersonId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex5b/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex5b/DID5bMedicalHistory.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex5b/DID5bPerson.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex5b/DID5bPersonId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex6a/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex6a/DID6MedicalHistory.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex6a/DID6Person.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex6a/DID6PersonId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex6b/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex6b/DID6bMedicalHistory.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex6b/DID6bPerson.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/derivedid/ex6b/DID6bPersonId.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityManager/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityManager/Client2.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityManager/Client3.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityManager/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityManager/Order.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityManager2/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityManager2/Client2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityManager2/DoesNotExist.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityManager2/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/se/entityManager => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2}/Order.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityManagerFactory/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityManagerFactory/Client2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityManagerFactory/Client3.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/se => spec-tests/src/main/java/ee/jakarta/tck/persistence/core}/entityManagerFactory/Member.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/se => spec-tests/src/main/java/ee/jakarta/tck/persistence/core}/entityManagerFactory/Member_.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/ee => spec-tests/src/main/java/ee/jakarta/tck/persistence/core}/entityManagerFactory/Order.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityManagerFactory/Order_.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityManagerFactoryCloseExceptions/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entityTransaction/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/apitests/Bar.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/apitests/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/apitests/Coffee.java (87%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/apitests/CoffeeMappedSC.java (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/apitests/Foo.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/bigdecimal/A.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/bigdecimal/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/biginteger/A.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/biginteger/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/cascadeall/manyXmany/A.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/cascadeall/manyXmany/B.java (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/cascadeall/manyXmany/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/cascadeall/manyXone/A.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/cascadeall/manyXone/B.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/cascadeall/manyXone/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall}/oneXmany/A.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall}/oneXmany/B.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/cascadeall/oneXmany/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/cascadeall/oneXone/A.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/cascadeall/oneXone/B.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/cascadeall/oneXone/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/detach/basic/A.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/detach/basic/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/detach/manyXmany/A.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/detach/manyXmany/B.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/detach/manyXmany/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach}/manyXone/A.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/detach/manyXone/B.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/detach/manyXone/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/detach/oneXmany/A.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/detach/oneXmany/B.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/detach/oneXmany/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach}/oneXone/A.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/detach/oneXone/B.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/detach/oneXone/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/persist/basic/A.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/persist/basic/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/persist/manyXmany/A.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/persist/manyXmany/B.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/persist/manyXmany/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist}/manyXone/A.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/persist/manyXone/B.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/persist/manyXone/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist}/oneXmany/A.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist}/oneXmany/B.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/persist/oneXmany/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist}/oneXone/A.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/persist/oneXone/B.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/persist/oneXone/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/remove/basic/A.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/remove/basic/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/remove/oneXmany/A.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/remove/oneXmany/B.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/remove/oneXmany/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/remove/oneXone/A.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/remove/oneXone/B.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/entitytest/remove/oneXone/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/enums/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/enums/Order.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/exceptions/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/exceptions/Coffee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity}/AbstractPersonnel.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/abstractentity/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/abstractentity/Department.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/abstractentity/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/abstractentity/FullTimeEmployee.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/abstractentity/PartTimeEmployee.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/abstractentity/Project.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/mappedsc/annotation/AbstractPersonnel.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/mappedsc/annotation/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/mappedsc/annotation/Department.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/mappedsc/annotation/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/mappedsc/annotation/FullTimeEmployee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/mappedsc/annotation/PartTimeEmployee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/mappedsc/annotation/Project.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors}/AbstractPersonnel.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/mappedsc/descriptors/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/mappedsc/descriptors/Department.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/mappedsc/descriptors/Employee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/mappedsc/descriptors/FullTimeEmployee.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/mappedsc/descriptors/PartTimeEmployee.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/mappedsc/descriptors/Project.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/nonentity/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/nonentity/Department.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/nonentity/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/nonentity/FTEmployee.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/nonentity/FullTimeEmployee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/nonentity/PartTimeEmployee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/nonentity/Personnel.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/inheritance/nonentity/Project.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/lock/entitymanager/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/lock/entitymanager/Coffee.java (84%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/lock/query/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/lock/query/Department.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/lock/query/Employee.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/lock/query/Insurance.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/attribute/Client.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/attribute/Order.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/basictype/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/basictype/Order.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/bindable/A.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/bindable}/Address.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/bindable/Client.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/embeddabletype => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/bindable}/ZipCode.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/collectionattribute/Client.java (89%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/pluralattribute => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/collectionattribute}/Uni1XMPerson.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/collectionattribute}/Uni1XMProject.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/embeddabletype/A.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/embeddabletype/Address.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/embeddabletype/Client.java (99%) create mode 100644 jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/embeddabletype/ZipCode.java rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/entitytype/A.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype}/Address.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/entitytype/B.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/entitytype/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype}/DID2Employee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype}/DID2EmployeeId.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype}/ZipCode.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/identifiabletype/A.java (98%) create mode 100644 jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/Address.java rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/identifiabletype/B.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/identifiabletype/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype}/DID2Employee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype}/DID2EmployeeId.java (96%) create mode 100644 jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/ZipCode.java rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/listattribute/BiDirMX1Person.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/listattribute/BiDirMX1Project.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/listattribute/Client.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype}/A.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype}/Address.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype}/B.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/managedtype/BiDirMX1Person.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/managedtype/BiDirMX1Project.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/managedtype/Client.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mapattribute => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype}/Department.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/managedtype/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/managedtype/Order.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/managedtype/Uni1XMPerson.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/pluralattribute => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype}/Uni1XMProject.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype}/ZipCode.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/mapattribute/Client.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mapattribute}/Department.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/mapattribute/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/mappedsuperclasstype/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/mappedsuperclasstype/Employee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/mappedsuperclasstype/Employee2.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/mappedsuperclasstype/EmployeeId.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/mappedsuperclasstype/FullTimeEmployee.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/mappedsuperclasstype/FullTimeEmployee2.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel}/Address.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/metamodel/B.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/metamodel/Client.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/metamodel/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/metamodel/FullTimeEmployee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel}/Order.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddable => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel}/ZipCode.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/pluralattribute/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/collectionattribute => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/pluralattribute}/Uni1XMPerson.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/collectionattribute => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/pluralattribute}/Uni1XMProject.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/annotations/collectiontable => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute}/A.java (96%) create mode 100644 jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute/Address.java rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/setattribute/Client.java (85%) create mode 100644 jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute/ZipCode.java create mode 100644 jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute/Address.java rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddable => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute}/B.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/singularattribute/Client.java (85%) create mode 100644 jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute/ZipCode.java rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/bindable => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type}/Address.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/type/B.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/metamodelapi/type/Client.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type}/Order.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/bindable => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type}/ZipCode.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/nestedembedding/A.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/nestedembedding/Address.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/nestedembedding/B.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/nestedembedding/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/nestedembedding/ZipCode.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/attributeoverride/Book.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/attributeoverride/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/attributeoverride/LawBook.java (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/callbacklistener/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/callbacklistener/OverridenCallBack.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/embeddable/Applicant.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/embeddable/Book.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/embeddable/BookStore.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/embeddable/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/embeddable/Complaint.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/embeddable/Film.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/embeddable/MovieTicket.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/embeddable/Publisher.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/embeddable/Publisher1.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/entity/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/entity/NameOnlyInAnnotation.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/entity/NameOnlyInXML.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/entity/NameOverride.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/entity/NoEntityAnnotation.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/entitylistener/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/entitylistener/ListenerA.java (88%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/entitylistener/ListenerB.java (88%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/entitylistener/ListenerC.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/entitylistener/ListenerD.java (89%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/entitylistener/NoEntityListener.java (85%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/entitylistener/NoListener.java (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/entitylistener/OverridenListener.java (86%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/joincolumn/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/joincolumn/Course.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/joincolumn/Cubicle.java (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/joincolumn/CubiclePK.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/joincolumn/Customer1.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/joincolumn/Hardware.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/joincolumn/RetailOrder1.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/override/manytomany => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn}/Student.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/joincolumn/TheatreCompany1.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/joincolumn/TheatreLocation1.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/manytomany/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/manytomany/Course.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/manytomany}/Student.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/mapkey/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/mapkey/Consumer.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/mapkey/Customers.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/mapkey/Department.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/mapkey/Employee.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/mapkey/EmployeeComparator.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/mapkey/RetailOrder.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/mapkey/RetailOrderCostComparatorDESC.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/mapkey/Store.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/mapkey/TheatreCompany.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/mapkey/TheatreLocation.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/nocallbacklistener/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/nocallbacklistener/NoCallBackListener.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/table/Client.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/table/NoTableAnnotation.java (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/override/util/CallBackCounts.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/persistenceUtil/Client.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/parameter => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/persistenceUtil}/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/persistenceUtilUtil/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/persistenceUtilUtil/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/apitests/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/apitests/Client2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/apitests/Client3.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/apitests/DataTypes2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/apitests/Department.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/apitests/Employee.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/apitests/Insurance.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/flushmode/Client1.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/flushmode/Client2.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/flushmode/Client3.java (92%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/language/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/language/Client2.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/language/Client3.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/language/Client4.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/language/Client5.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/language/Client6.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/parameter/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/parameter/Client2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/query/parameter/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/annotations/Address.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations}/AnnualReview.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/annotations/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/annotations/Company.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/annotations/Insurance.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/annotations/Person.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/annotations/Project.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/annotations/Team.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/bidirmanyxmany/BiDirMXMPerson.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/bidirmanyxmany/BiDirMXMProject.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/bidirmanyxmany/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/bidirmanyxone/BiDirMX1Person.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/bidirmanyxone/BiDirMX1Project.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/bidirmanyxone/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/bidironexmany/BiDir1XMPerson.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/bidironexmany/BiDir1XMProject.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/bidironexmany/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/bidironexone/BiDir1X1Person.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/bidironexone/BiDir1X1Project.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/bidironexone/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/defaults/Address.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations => spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults}/AnnualReview.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/defaults/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/defaults/Company.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/defaults/Insurance.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/defaults/Person.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/defaults/Project.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/defaults/Team.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/descriptors/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/descriptors/XAddress.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/descriptors/XAnnualReview.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/descriptors/XCompany.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/descriptors/XInsurance.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/descriptors/XPerson.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/descriptors/XProject.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/descriptors/XTeam.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/unimanyxmany/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/unimanyxmany/UniMXMPerson.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/unimanyxmany/UniMXMProject.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/unimanyxone/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/unimanyxone/UniMX1Person.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/unimanyxone/UniMX1Project.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/unionexmany/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/unionexmany/Uni1XMPerson.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/unionexmany/Uni1XMProject.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/unionexone/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/unionexone/Uni1X1Person.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/relationship/unionexone/Uni1X1Project.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/auto/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/auto/DataTypes.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/common/Grade.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/field/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/field/DataTypes.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/field/DataTypes2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/field/UUIDType.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/generator/Client.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/generator/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/generator/Client2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/generator/Client3.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/generator/Client4.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/generator/DataTypes.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/generator/DataTypes2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/generator/DataTypes3.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/generator/DataTypes4.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/primarykey/compound/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/primarykey/compound/CompoundPK.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/primarykey/compound/CompoundPK2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/primarykey/compound/CompoundPK3.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/primarykey/compound/TestBean.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/primarykey/compound/TestBean2.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/primarykey/compound/TestBean3.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/property/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/property/Client2.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/property/Customer.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/property/DataTypes.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/types/property/DataTypes2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/versioning/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/core/versioning/Member.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core => spec-tests/src/main/java/ee/jakarta/tck/persistence}/entitytest/persist/oneXmanyFetchEager/A.java (91%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core => spec-tests/src/main/java/ee/jakarta/tck/persistence}/entitytest/persist/oneXmanyFetchEager/B.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core => spec-tests/src/main/java/ee/jakarta/tck/persistence}/entitytest/persist/oneXmanyFetchEager/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/datetime/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/datetime/DateTimeEntity.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/datetime/DummyEntity.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/generators/tablegenerators/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/generators/tablegenerators/DataTypes.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/query/stream/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/query/stream/Department.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/query/stream/Employee.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/query/stream/Insurance.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/attroverride/AbstractPersonnel.java (93%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/attroverride/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/attroverride/Department.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/attroverride/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/attroverride/FullTimeEmployee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/attroverride/PartTimeEmployee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/attroverride/Project.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/convert/Address.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/convert/B.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/convert/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/convert/DotConverter.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/convert/Employee3.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/convert/NumberToStateConverter.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/joincolumn/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/joincolumn/DID2Dependent.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/joincolumn/DID2DependentId.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/joincolumn/DID2Employee.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/joincolumn/DID2EmployeeId.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/mapkeyjoincolumn/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/mapkeyjoincolumn/Course.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/mapkeyjoincolumn/Semester.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/mapkeyjoincolumn/Student.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/namedentitygraph/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/namedentitygraph/Department.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/namedentitygraph/Employee.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/namedentitygraph/Employee2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/namedentitygraph/Employee3.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/namednativequery/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/namednativequery/Coffee.java (89%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/namedstoredprocedurequery/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/repeatable/namedstoredprocedurequery/Employee.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/se/generators/sequencegenerators/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/se/generators/sequencegenerators/Simple.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/se/repeatable/secondarytable/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/se/repeatable/secondarytable/HardwareProduct.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/se/repeatable/secondarytable/Product.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/jpa22/se/repeatable/secondarytable/SoftwareProduct.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/inherit/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/inherit/HardwareProduct.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/inherit/HardwareProduct2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/inherit/Product.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/inherit/Product2.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/inherit/SoftwareProduct.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/inherit/SoftwareProduct2.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/xml/all/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/xml/all/Order.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/xml/disableselective/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/xml/disableselective/Customer.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/xml/disableselective/Order.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/xml/enableselective/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/xml/enableselective/Customer.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/xml/enableselective/Department.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/xml/enableselective/Order.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/xml/none/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/cache/xml/none/Order.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/descriptor/A.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/descriptor/B.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/descriptor/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/entityManager/A.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/entityManager/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/entityManager/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core/entityManager2 => spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManager}/Order.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/entityManagerFactory/Client.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core => spec-tests/src/main/java/ee/jakarta/tck/persistence/se}/entityManagerFactory/Member.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/core => spec-tests/src/main/java/ee/jakarta/tck/persistence/se}/entityManagerFactory/Member_.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/entityManagerFactory/Order.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/entityManagerFactory/Order_.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/pluggability/contracts/resource_local/Client.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/pluggability/contracts/resource_local/Order.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/pluggability/contracts/resource_local/Order2.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/pluggability/contracts/resource_local/Order3.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/pluggability/contracts/resource_local/Order4.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/pluggability/contracts/resource_local/Order5.java (94%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/resource_local/A.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/resource_local/B.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/resource_local/Client1.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/resource_local/Client2.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/discriminatorColumn/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/discriminatorColumn/Simple.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/enumerated/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/enumerated/Grade.java (90%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/enumerated/Simple.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/id/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/table => spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/id}/Simple.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/index/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/index/Simple.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/joinTable/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/joinTable/Course.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/joinTable/Student.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/orderColumn/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/orderColumn/Department.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/orderColumn/Employee.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/secondaryTable/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/secondaryTable/Simple.java (97%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/sequenceGenerator/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/sequenceGenerator/Simple.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/table/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/id => spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/table}/Simple.java (95%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/tableGenerator/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/tableGenerator/Simple.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/temporal/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/temporal/Simple.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/uniqueConstraint/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/uniqueConstraint/Simple.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/version/Client.java (98%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/annotations/version/Simple.java (96%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/scripts/Client.java (99%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/java/ee/jakarta/tck/persistence}/se/schemaGeneration/scripts/Simple.java (96%) create mode 100644 jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/signaturetest/JPASigTest.java create mode 100644 jpa/spec-tests/src/main/resources/LICENSE_EFTL.md create mode 100644 jpa/spec-tests/src/main/resources/LICENSE_EPL.md rename jpa_extras/build.xml => jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/persistence-import.xml (56%) rename jpa/{src/main/java/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider (100%) create mode 100644 jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/schema30/properties.xml create mode 100644 jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/template/persistence.xml create mode 100644 jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/template/standalone/persistence.xml rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/StoredProcedureQuery/myMappingFile.xml (93%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/annotations/elementcollection/myMappingFile.xml (92%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/annotations/nativequery/orm.xml (92%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/cache/basicTests/persistence_ee.xml (89%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/cache/basicTests/persistence_se.xml (90%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/callback/listener/orm.xml (92%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/callback/listeneroverride/orm.xml (68%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/callback/method/orm.xml (81%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/callback/methodoverride/orm.xml (86%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/callback/xml/orm.xml (81%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/entitytest/apitests/myMappingFile.xml (91%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/entitytest/apitests/orm.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/inheritance/mappedsc/descriptors/orm.xml (97%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/override/attributeoverride/orm.xml (81%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/override/callbacklistener/orm.xml (87%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/override/embeddable/orm.xml (64%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/override/entity/orm.xml (68%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/override/entitylistener/orm.xml (80%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/override/joincolumn/orm.xml (80%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/override/manytomany/orm.xml (87%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/override/mapkey/orm.xml (80%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/override/nocallbacklistener/orm.xml (86%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/override/table/orm.xml (87%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/core/relationship/descriptors/orm.xml (86%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/jpa22/se/repeatable/secondarytable/persistence.xml (71%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/se/cache/inherit/persistence.xml (60%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/se/cache/xml/all/orm.xml (92%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/se/cache/xml/all/persistence.xml (91%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/se/cache/xml/disableselective/orm.xml (86%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/se/cache/xml/disableselective/persistence.xml (81%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/se/cache/xml/enableselective/orm.xml (84%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/se/cache/xml/enableselective/persistence.xml (74%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/se/cache/xml/none/persistence.xml (90%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/se/descriptor/myMappingFile.xml (85%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/se/descriptor/persistence.xml (100%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa/ee => spec-tests/src/main/resources/ee/jakarta/tck/persistence/se}/pluggability/contracts/resource_local/myMappingFile1.xml (91%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/se/pluggability/contracts/resource_local/myMappingFile2.xml (91%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/se/pluggability/contracts/resource_local/orm.xml (91%) rename jpa/{src/main/resources/com/sun/ts/tests/jpa => spec-tests/src/main/resources/ee/jakarta/tck/persistence}/se/pluggability/contracts/resource_local/persistence.xml (100%) create mode 100644 jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/signaturetest/jakarta.persistence.sig_3.2 create mode 100644 jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/signaturetest/sig-test-pkg-list.txt create mode 100644 jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/signaturetest/sig-test.map delete mode 100644 jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/ZipCode.java delete mode 100644 jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/Address.java delete mode 100644 jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/ZipCode.java delete mode 100644 jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute/Address.java delete mode 100644 jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute/ZipCode.java delete mode 100644 jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/Address.java delete mode 100644 jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/ZipCode.java delete mode 100755 jpa/src/main/resources/com/sun/ts/tests/jpa/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider delete mode 100644 jpa_extras/pom.xml diff --git a/glassfish-runner/jpa-tck/pom.xml b/glassfish-runner/jpa-tck/pom.xml index 8373fad38a..b1febb6645 100644 --- a/glassfish-runner/jpa-tck/pom.xml +++ b/glassfish-runner/jpa-tck/pom.xml @@ -28,12 +28,8 @@ ../pom.xml - jakarta.tck.jpa-tck + jakarta.tck.persistence-tck-tests 3.1.0 - admin - admin - /tmp/ripassword - ${admin.pass.file}.encoded org.eclipse.persistence.jpa.PersistenceProvider org.apache.derby.jdbc.ClientDriver jdbc:derby://localhost:1527/derbyDB;create=true @@ -81,7 +77,7 @@ jakarta.tck - jpa-tck + persistence-tck-tests 10.0.0-SNAPSHOT test @@ -280,6 +276,7 @@ **/*Client*.* + **/*JPASigTest*.* **/jpa/ee/**/*.* @@ -310,7 +307,7 @@ ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/expressly.jar ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/classmate.jar - jakarta.tck:jpa-tck + jakarta.tck:persistence-tck-tests ${project.build.directory}/${glassfish.toplevel.dir} standalone @@ -330,6 +327,8 @@ SELECT ID, TOTAL FROM PURCHASE_ORDER WHERE ID=? /tmp ${jdbc.db} + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.persistence-api.jar:${project.build.directory}/jdk11-bundle/java.base:${project.build.directory}/jdk11-bundle/java.rmi:${project.build.directory}/jdk11-bundle/java.sql:${project.build.directory}/jdk11-bundle/java.naming + ${project.build.directory}/jdk11-bundle diff --git a/jpa/bin/pom.xml b/jpa/bin/pom.xml new file mode 100644 index 0000000000..30a67df899 --- /dev/null +++ b/jpa/bin/pom.xml @@ -0,0 +1,327 @@ + + + jakarta.tck + persistence-tck-runner + 3.2.0 + pom + 4.0.0 + + persistence-tck-common + persistence-tck-spec-tests + 3.2.0 + 7.0.0 + ${project.build.directory}/glassfish7 + ${glassfish.toplevel.dir}/glassfish/modules + ${glassfish.module.dir}/jakarta.persistence-api.jar,${glassfish.module.dir}/org.eclipse.persistence.jpa.jar,${glassfish.module.dir}/jakarta.servlet-api.jar,${glassfish.module.dir}/jakarta.transaction-api.jar,${glassfish.module.dir}/jakarta.ejb-api.jar,${glassfish.module.dir}/org.eclipse.persistence.antlr.jar,${glassfish.module.dir}/org.eclipse.persistence.asm.jar,${glassfish.module.dir}/org.eclipse.persistence.core.jar,${glassfish.module.dir}/org.eclipse.persistence.dbws.jar,${glassfish.module.dir}/org.eclipse.persistence.jpa.jpql.jar,${glassfish.module.dir}/org.eclipse.persistence.jpa.modelgen.processor.jar,${glassfish.module.dir}/org.eclipse.persistence.moxy.jar,${glassfish.module.dir}/org.eclipse.persistence.oracle.jar,${glassfish.module.dir}/jakarta.validation-api.jar,${glassfish.module.dir}/hibernate-validator-cdi.jar,${glassfish.module.dir}/hibernate-validator.jar + ${javadb.lib}/derbyclient.jar,${javadb.lib}/derbyshared.jar,${javadb.lib}/derbytools.jar + ${javadb.lib}/derbyclient.jar:${javadb.lib}/derbyshared.jar:${javadb.lib}/derbytools.jar + derby + org.eclipse.persistence.jpa.PersistenceProvider + org.apache.derby.jdbc.ClientDriver + jdbc:derby://localhost:1527/derbyDB;create=true + cts1 + cts1 + eclipselink.logging.level=OFF + + true + true + ${glassfish.toplevel.dir}/bin/asadmin + ; + 5.10.2 + ${glassfish.toplevel.dir}/javadb/lib + ${project.basedir}/persistence-tck/sql + + + + + org.junit + junit-bom + ${junit.jupiter.version} + pom + import + + + + + + org.junit.jupiter + junit-jupiter + ${junit.jupiter.version} + + + jakarta.tck + ${tck.common.artifactId} + ${version} + test + + + jakarta.tck + ${tck.artifactId} + ${version} + test + + + jakarta.tck + common + 10.0.0-SNAPSHOT + + + jakarta.tck + dbprocedures + 10.0.0-SNAPSHOT + test + + + org.jboss.arquillian.junit5 + arquillian-junit5-container + 1.7.0.Alpha14 + + + org.jboss.arquillian.junit5 + arquillian-junit5-core + 1.7.0.Alpha14 + + + + + full + + true + + + glassfish + + + + web + + web + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.2.0 + + + unpack + pre-integration-test + + unpack + + + + + org.glassfish.main.distributions + ${glassfish-artifact-id} + ${glassfish.container.version} + zip + true + ${project.build.directory} + + + + + + copy-lib + pre-integration-test + + copy + + + + + jakarta.tck + dbprocedures + true + ${project.build.directory} + dbprocedures.jar + + + + + + + + exec-maven-plugin + org.codehaus.mojo + + + stop-database-init + pre-integration-test + + exec + + + ${exec.asadmin} + + stop-database + + + 0 + 1 + + + + + + + exec-maven-plugin + org.codehaus.mojo + + + start-database + pre-integration-test + + exec + + + ${exec.asadmin} + + start-database + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 3.0.0 + + + initdb + pre-integration-test + + run + + + + + + + + + + + initdb-sprocs + pre-integration-test + + run + + + + + + + + + + + install_java_procedures + pre-integration-test + + run + + + + CALL sqlj.remove_jar('APP.dbprocedures', 0); + CALL sqlj.install_jar('${project.build.directory}/dbprocedures.jar', 'APP.dbprocedures', 0); + CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.database.classpath', 'APP.dbprocedures'); + + + + + + + + maven-failsafe-plugin + 3.0.0-M5 + + + gf-tests + + integration-test + verify + + + + **/*Client*.* + **/*JPASigTest*.* + + + ${jpa.classes} + ${jdbc.lib.classpath} + + ${project.groupId}:${tck.artifactId} + + ${project.build.directory}/${glassfish.toplevel.dir} + standalone + JPATCK + JPATCK2 + ${jakarta.persistence.provider} + ${jakarta.persistence.jdbc.driver} + ${jakarta.persistence.jdbc.url} + ${jakarta.persistence.jdbc.user} + ${jakarta.persistence.jdbc.password} + eclipselink.logging.level=OFF + true + standalone + /tmp + ${db.supports.sequence} + INSERT INTO PURCHASE_ORDER(ID, TOTAL, DESCRIPTION) VALUES(?, ?, null) + SELECT ID, TOTAL FROM PURCHASE_ORDER WHERE ID=? + /tmp + ${jdbc.db} + ${glassfish.module.dir}/jakarta.persistence-api.jar:${project.build.directory}/jdk11-bundle/java.base:${project.build.directory}/jdk11-bundle/java.rmi:${project.build.directory}/jdk11-bundle/java.sql:${project.build.directory}/jdk11-bundle/java.naming + ${project.build.directory}/jdk11-bundle + + + + + + + exec-maven-plugin + org.codehaus.mojo + + + stop-database-final + post-integration-test + + exec + + + ${exec.asadmin} + + stop-database + + + 0 + 1 + + + + + + + + \ No newline at end of file diff --git a/jpa/common/pom.xml b/jpa/common/pom.xml new file mode 100644 index 0000000000..fd857f25f6 --- /dev/null +++ b/jpa/common/pom.xml @@ -0,0 +1,71 @@ + + + + 4.0.0 + + jakarta.tck + persistence-tck + 3.2.0 + ../pom.xml + + persistence-tck-common + jar + + + + org.apache.maven.plugins + maven-javadoc-plugin + + none + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.2.0 + + + + src/main/java + + **/*.xml + **/*.map + **/*.txt + **/*.sig* + + + + + + + + diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/DriverManagerConnection.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/DriverManagerConnection.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/DriverManagerConnection.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/DriverManagerConnection.java index c77b9f0c27..4f031ee007 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/DriverManagerConnection.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/DriverManagerConnection.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common; +package ee.jakarta.tck.persistence.common; import java.lang.System.Logger; import java.sql.Connection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/PMClientBase.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/PMClientBase.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/PMClientBase.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/PMClientBase.java index 4c316e5cb3..4a3ac5c6b0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/PMClientBase.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/PMClientBase.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common; +package ee.jakarta.tck.persistence.common; import java.io.BufferedReader; import java.io.File; @@ -85,7 +85,7 @@ abstract public class PMClientBase implements UseEntityManager, UseEntityManager transient private boolean inContainer; - private boolean testArtifactDeployed = false; + transient private boolean testArtifactDeployed = false; // The following are properties specific to standalone TCK, // not used when running tests in JakartaEE environment @@ -1087,8 +1087,8 @@ public String convertToURI(String path) { return sURI; } - public static final String STANDALONE_PERSISTENCE_XML = "com/sun/ts/tests/jpa/common/template/standalone/persistence.xml"; - public static final String EE_PERSISTENCE_XML = "com/sun/ts/tests/jpa/common/template/persistence.xml"; + public static final String STANDALONE_PERSISTENCE_XML = "ee/jakarta/tck/persistence/common/template/standalone/persistence.xml"; + public static final String EE_PERSISTENCE_XML = "ee/jakarta/tck/persistence/common/template/persistence.xml"; public static final String PERSISTENCE_ELEMENT_TAG = "persistence-unit"; public static final String CLASS_ELEMENT_TAG = "class"; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/persistence-import.xml b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/persistence-import.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/persistence-import.xml rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/persistence-import.xml diff --git a/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider new file mode 100755 index 0000000000..08c48386f0 --- /dev/null +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider @@ -0,0 +1 @@ +ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation.PersistenceProvider \ No newline at end of file diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/CacheImpl.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/CacheImpl.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/CacheImpl.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/CacheImpl.java index 1fdc52deb4..0ca5a00bc2 100755 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/CacheImpl.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/CacheImpl.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation; +package ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation; import jakarta.persistence.Cache; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/ClassTransformerImpl.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/ClassTransformerImpl.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/ClassTransformerImpl.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/ClassTransformerImpl.java index fc5ad39b89..6f8aa0bca2 100755 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/ClassTransformerImpl.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/ClassTransformerImpl.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation; +package ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation; import java.security.ProtectionDomain; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/EntityManagerFactoryImpl.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/EntityManagerFactoryImpl.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/EntityManagerFactoryImpl.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/EntityManagerFactoryImpl.java index 93aefb669d..1f4c0cc85a 100755 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/EntityManagerFactoryImpl.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/EntityManagerFactoryImpl.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation; +package ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/EntityManagerImpl.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/EntityManagerImpl.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/EntityManagerImpl.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/EntityManagerImpl.java index 79e7b542f4..f9b0970e9f 100755 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/EntityManagerImpl.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/EntityManagerImpl.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation; +package ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation; import java.util.List; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/EntityTransactionImpl.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/EntityTransactionImpl.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/EntityTransactionImpl.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/EntityTransactionImpl.java index 8910020630..aa4881bed4 100755 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/EntityTransactionImpl.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/EntityTransactionImpl.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation; +package ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation; public class EntityTransactionImpl implements jakarta.persistence.EntityTransaction { protected boolean isActive; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/PersistenceProvider.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/PersistenceProvider.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/PersistenceProvider.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/PersistenceProvider.java index 854dd862f7..7c51eae482 100755 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/PersistenceProvider.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/PersistenceProvider.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation; +package ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation; import java.net.URL; import java.util.ArrayList; @@ -118,7 +118,7 @@ public EntityManagerFactory createEntityManagerFactory(String puName, Map proper return null; } if (!pp.equals( - "com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation.PersistenceProvider")) { + "ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation.PersistenceProvider")) { System.out.println( "returning null from ALTERNATE_PROVIDER: PersistenceProvider.createEntityManagerFactory(String, Map) different provider specified"); return null; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/PersistenceUnitInfoImpl.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/PersistenceUnitInfoImpl.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/PersistenceUnitInfoImpl.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/PersistenceUnitInfoImpl.java index cd0817c3eb..2e1e712722 100755 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/PersistenceUnitInfoImpl.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/PersistenceUnitInfoImpl.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation; +package ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation; import java.net.URL; import java.util.Iterator; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/QueryImpl.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/QueryImpl.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/QueryImpl.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/QueryImpl.java index a6d59ad55f..2f96059f49 100755 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/QueryImpl.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/QueryImpl.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation; +package ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation; import java.util.Calendar; import java.util.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/TSLogRecord.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/TSLogRecord.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/TSLogRecord.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/TSLogRecord.java index 356fcc1ef5..66e02598e1 100755 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/TSLogRecord.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/TSLogRecord.java @@ -19,7 +19,7 @@ * @author Raja Perumal */ -package com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation; +package ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation; import java.text.DateFormat; import java.text.SimpleDateFormat; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/TSLogger.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/TSLogger.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/TSLogger.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/TSLogger.java index b5ba4000be..c6f15a0f9c 100755 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/TSLogger.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/TSLogger.java @@ -19,7 +19,7 @@ * @author Raja Perumal */ -package com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation; +package ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation; import java.io.File; import java.text.DateFormat; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/TSXMLFormatter.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/TSXMLFormatter.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/TSXMLFormatter.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/TSXMLFormatter.java index 3596d56435..3b52ba1850 100755 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/implementation/TSXMLFormatter.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/altprovider/implementation/TSXMLFormatter.java @@ -19,7 +19,7 @@ * @author Raja Perumal */ -package com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation; +package ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation; import java.util.ResourceBundle; import java.util.logging.Handler; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/util/LogFileProcessor.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/util/LogFileProcessor.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/util/LogFileProcessor.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/util/LogFileProcessor.java index 6aabca9c71..e1374d2648 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/util/LogFileProcessor.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/util/LogFileProcessor.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.pluggability.util; +package ee.jakarta.tck.persistence.common.pluggability.util; import java.io.BufferedWriter; import java.io.ByteArrayInputStream; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/util/LogRecordEntry.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/util/LogRecordEntry.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/util/LogRecordEntry.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/util/LogRecordEntry.java index 853cf4a086..6808014766 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/util/LogRecordEntry.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/pluggability/util/LogRecordEntry.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.pluggability.util; +package ee.jakarta.tck.persistence.common.pluggability.util; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Address.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Address.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Address.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Address.java index 4878820119..14d8af4569 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Address.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Address_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Address_.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Address_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Address_.java index 4825f09d4b..ccc7bff16a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Address_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Address_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.CollectionAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Alias.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Alias.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Alias.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Alias.java index 4bab1ba310..8f16350c68 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Alias.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Alias.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Alias_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Alias_.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Alias_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Alias_.java index 79a85b069e..8805573427 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Alias_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Alias_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.CollectionAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Country.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Country.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Country.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Country.java index 4646a50864..44bede9c87 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Country.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Country.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.persistence.Basic; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Country_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Country_.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Country_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Country_.java index e8fc7b60f1..d6e3744dbd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Country_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Country_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.SingularAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/CreditCard.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/CreditCard.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/CreditCard.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/CreditCard.java index 35835bf569..2d997d05c7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/CreditCard.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/CreditCard.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.persistence.CascadeType; import jakarta.persistence.Column; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/CreditCard_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/CreditCard_.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/CreditCard_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/CreditCard_.java index 5e920c3070..513abce4b5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/CreditCard_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/CreditCard_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.SingularAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Customer.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Customer.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Customer.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Customer.java index 4a12a4353f..2126b52c66 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Customer.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Customer.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.util.ArrayList; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Customer_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Customer_.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Customer_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Customer_.java index 6a832bd344..fa7a81bd25 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Customer_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Customer_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.CollectionAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Department.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Department.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Department.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Department.java index 310aa92a89..6384e4059a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Department.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.util.Map; import java.util.Set; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Department_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Department_.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Department_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Department_.java index 47a3e8c6ed..dd8d7ab3ff 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Department_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Department_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.MapAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Employee.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Employee.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Employee.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Employee.java index a5dc719f33..530fac0fc6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Employee.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Employee_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Employee_.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Employee_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Employee_.java index 06eaf86521..340ae32fb6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Employee_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Employee_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/HardwareProduct.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/HardwareProduct.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/HardwareProduct.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/HardwareProduct.java index 25ecead4a1..f0877b2751 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/HardwareProduct.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/HardwareProduct.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorValue; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/HardwareProduct_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/HardwareProduct_.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/HardwareProduct_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/HardwareProduct_.java index 243afc74be..da3d909fd3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/HardwareProduct_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/HardwareProduct_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.SingularAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Info.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Info.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Info.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Info.java index 0599f5d06f..3ce95626a2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Info.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Info.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Info_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Info_.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Info_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Info_.java index 7623832d7c..c54407818a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Info_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Info_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.SingularAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/LineItem.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/LineItem.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/LineItem.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/LineItem.java index 809238b32e..2d7b7c9722 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/LineItem.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/LineItem.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/LineItemException.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/LineItemException.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/LineItemException.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/LineItemException.java index 6f2ff2418b..b44f4fe16f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/LineItemException.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/LineItemException.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; public class LineItemException extends Exception { public String reason = null; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/LineItem_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/LineItem_.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/LineItem_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/LineItem_.java index e56c87b6bd..930c9b6a40 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/LineItem_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/LineItem_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.SingularAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Order.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Order.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Order.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Order.java index d360b4e242..0bb321dac8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Order.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.util.ArrayList; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Order_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Order_.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Order_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Order_.java index eb16798e40..79bec78607 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Order_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Order_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.CollectionAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Phone.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Phone.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Phone.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Phone.java index ff501fe900..2839855903 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Phone.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Phone.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Phone_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Phone_.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Phone_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Phone_.java index affd94bad2..8ffcd80779 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Phone_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Phone_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.SingularAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Product.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Product.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Product.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Product.java index 8b6ccaa0df..bb843307c2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Product.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Product.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.persistence.AttributeOverride; import jakarta.persistence.AttributeOverrides; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Product_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Product_.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Product_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Product_.java index 486d987cac..17156ca569 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Product_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Product_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.SingularAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/ShelfLife.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/ShelfLife.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/ShelfLife.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/ShelfLife.java index 904b71b176..a13831782a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/ShelfLife.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/ShelfLife.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/ShelfLife_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/ShelfLife_.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/ShelfLife_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/ShelfLife_.java index b2f17d0894..f1bbd0721d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/ShelfLife_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/ShelfLife_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/SoftwareProduct.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/SoftwareProduct.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/SoftwareProduct.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/SoftwareProduct.java index f32dcfa7bc..99ac82bb59 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/SoftwareProduct.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/SoftwareProduct.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorValue; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/SoftwareProduct_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/SoftwareProduct_.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/SoftwareProduct_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/SoftwareProduct_.java index 82bf32e4d2..89a4f84e88 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/SoftwareProduct_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/SoftwareProduct_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.SingularAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Spouse.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Spouse.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Spouse.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Spouse.java index 1332478487..21f77fa490 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Spouse.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Spouse.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.persistence.CascadeType; import jakarta.persistence.Column; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Spouse_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Spouse_.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Spouse_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Spouse_.java index 63d3ad787b..0c822be06e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Spouse_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Spouse_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.SingularAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Trim.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Trim.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Trim.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Trim.java index 2c9d2d8df2..d3041357e5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Trim.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Trim.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Trim_.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Trim_.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Trim_.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Trim_.java index aa9f4a5465..25c0197835 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Trim_.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Trim_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.SingularAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Util.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Util.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Util.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Util.java index a04a9cd26c..7c4bd56f65 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/Util.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/Util.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.lang.System.Logger; import java.sql.Date; @@ -26,7 +26,7 @@ import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.AfterEach; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public abstract class Util extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilAliasData.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilAliasData.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilAliasData.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilAliasData.java index ca12a91636..0f4fcafec4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilAliasData.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilAliasData.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilAliasOnlyData.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilAliasOnlyData.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilAliasOnlyData.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilAliasOnlyData.java index 186fa7c2eb..36327d2a36 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilAliasOnlyData.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilAliasOnlyData.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilCustAliasProductData.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilCustAliasProductData.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilCustAliasProductData.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilCustAliasProductData.java index 1c85f57910..fa0378a387 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilCustAliasProductData.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilCustAliasProductData.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilCustomerData.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilCustomerData.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilCustomerData.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilCustomerData.java index ff69a050d4..fdcc0c79f9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilCustomerData.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilCustomerData.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilDepartmentEmployeeData.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilDepartmentEmployeeData.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilDepartmentEmployeeData.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilDepartmentEmployeeData.java index 0961cc9f98..f921b296c7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilDepartmentEmployeeData.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilDepartmentEmployeeData.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilOrderData.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilOrderData.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilOrderData.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilOrderData.java index 318aa8f6e7..1b51b01815 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilOrderData.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilOrderData.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilPhoneData.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilPhoneData.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilPhoneData.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilPhoneData.java index d7066e6c62..781cce0d67 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilPhoneData.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilPhoneData.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilProductData.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilProductData.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilProductData.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilProductData.java index 78f7799740..055e4f391c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilProductData.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilProductData.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilSetup.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilSetup.java similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilSetup.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilSetup.java index 7d9cfc74a4..35c6f3d3c3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilSetup.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilSetup.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilTrimData.java b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilTrimData.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilTrimData.java rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilTrimData.java index c525c25c9e..35bd12daf7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/UtilTrimData.java +++ b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/UtilTrimData.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.common.schema30; +package ee.jakarta.tck.persistence.common.schema30; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/properties.xml b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/properties.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/schema30/properties.xml rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/schema30/properties.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/template/persistence.xml b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/template/persistence.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/template/persistence.xml rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/template/persistence.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/template/standalone/persistence.xml b/jpa/common/src/main/java/ee/jakarta/tck/persistence/common/template/standalone/persistence.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/template/standalone/persistence.xml rename to jpa/common/src/main/java/ee/jakarta/tck/persistence/common/template/standalone/persistence.xml diff --git a/jpa/common/src/main/resources/LICENSE_EFTL.md b/jpa/common/src/main/resources/LICENSE_EFTL.md new file mode 100644 index 0000000000..a2106828a6 --- /dev/null +++ b/jpa/common/src/main/resources/LICENSE_EFTL.md @@ -0,0 +1,83 @@ +# Eclipse Foundation Technology Compatibility Kit License - v 1.0 + +Copyright (c) 2018, Eclipse Foundation, Inc. and its licensors. + +Redistribution and use in binary form is permitted provided that the +following conditions are met: + +1. Use of the Technology Compatibility Kit accompanying this license + (the "TCK") and its documentation is permitted solely for the + purpose of testing compatibility of an implementation (the + "Product") of a specification (the "Specification") made available + by the Eclipse Foundation, Inc. ("Eclipse"). + +2. Only those modifications expressly permitted by the TCK and its + documentation are permitted. Except in these limited circumstances, + no modifications to the TCK are permitted under this license. + +3. A Product will be deemed to be "compatible" with the Specification + if it fully and completely meets and satisfies all requirements of + the TCK. + +4. Before any claim of compatibility (or any similar claim suggesting + compatibility) is made based on the TCK, the testing party must: + + a. use the TCK to demonstrate that the Product fully and + completely meets and satisfies all requirements of the TCK; + + b. make TCK test results showing full and complete satisfaction of + all requirements of the TCK publicly available on the testing + party's website and send a link to such test results to Eclipse + at [tck@eclipse.org](mailto:tck@eclipse.org); and + + c. comply with any requirements stated in the Specification with + regard to subsetting, supersetting, modifying or extending the + Specification in any Product claimed to be compatible with the + Specification. + +5. The test results must be continuously available and the link must + be live for at least as long as the Product is available in the + marketplace. + +6. The TCK may not be used as a basis for any statements of partial + compatibility. The TCK may only be used as a basis for true, + factual statements of full compatibility of Products that fully + meet and satisfy all requirements of the TCK. + +7. A determination that a Product is compatible with the TCK does not, + in itself, give rise to the right to use any name, mark, logo + associated with the TCK, Eclipse, or Eclipse's contributors or + licensors. + +8. Upon the request of Eclipse, a tester will retract any statements + of compatibility (or any similar claim suggesting compatibility) + which Eclipse reasonably determines to be false or misleading or in + violation of the terms of this license. + +9. Redistribution of the TCK must be under this Eclipse Foundation + Technology Compatibility Kit License and must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + +10. Neither the name, trademarks or logos of Eclipse, nor the names, + trademarks or logos of its contributors or licensors may be used to + endorse or promote products tested with this software without + specific prior written permission. + +11. The source code for the TCK accompanying this license is available + from Eclipse. + +TO THE EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED ON +AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER +EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR +CONDITIONS OF TITLE, NON- INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR +A PARTICULAR PURPOSE. TO THE EXTENT PERMITTED BY APPLICABLE LAW, +NEITHER THE COPYRIGHT OWNER OR ANY CONTRIBUTORS SHALL HAVE ANY +LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE +EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. diff --git a/jpa/common/src/main/resources/LICENSE_EPL.md b/jpa/common/src/main/resources/LICENSE_EPL.md new file mode 100644 index 0000000000..1d428edaa0 --- /dev/null +++ b/jpa/common/src/main/resources/LICENSE_EPL.md @@ -0,0 +1,637 @@ +# Eclipse Public License - v 2.0 + + THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE + PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION + OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + + 1. DEFINITIONS + + "Contribution" means: + + a) in the case of the initial Contributor, the initial content + Distributed under this Agreement, and + + b) in the case of each subsequent Contributor: + i) changes to the Program, and + ii) additions to the Program; + where such changes and/or additions to the Program originate from + and are Distributed by that particular Contributor. A Contribution + "originates" from a Contributor if it was added to the Program by + such Contributor itself or anyone acting on such Contributor's behalf. + Contributions do not include changes or additions to the Program that + are not Modified Works. + + "Contributor" means any person or entity that Distributes the Program. + + "Licensed Patents" mean patent claims licensable by a Contributor which + are necessarily infringed by the use or sale of its Contribution alone + or when combined with the Program. + + "Program" means the Contributions Distributed in accordance with this + Agreement. + + "Recipient" means anyone who receives the Program under this Agreement + or any Secondary License (as applicable), including Contributors. + + "Derivative Works" shall mean any work, whether in Source Code or other + form, that is based on (or derived from) the Program and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. + + "Modified Works" shall mean any work in Source Code or other form that + results from an addition to, deletion from, or modification of the + contents of the Program, including, for purposes of clarity any new file + in Source Code form that contains any contents of the Program. Modified + Works shall not include works that contain only declarations, + interfaces, types, classes, structures, or files of the Program solely + in each case in order to link to, bind by name, or subclass the Program + or Modified Works thereof. + + "Distribute" means the acts of a) distributing or b) making available + in any manner that enables the transfer of a copy. + + "Source Code" means the form of a Program preferred for making + modifications, including but not limited to software source code, + documentation source, and configuration files. + + "Secondary License" means either the GNU General Public License, + Version 2.0, or any later versions of that license, including any + exceptions or additional permissions as identified by the initial + Contributor. + + 2. GRANT OF RIGHTS + + a) Subject to the terms of this Agreement, each Contributor hereby + grants Recipient a non-exclusive, worldwide, royalty-free copyright + license to reproduce, prepare Derivative Works of, publicly display, + publicly perform, Distribute and sublicense the Contribution of such + Contributor, if any, and such Derivative Works. + + b) Subject to the terms of this Agreement, each Contributor hereby + grants Recipient a non-exclusive, worldwide, royalty-free patent + license under Licensed Patents to make, use, sell, offer to sell, + import and otherwise transfer the Contribution of such Contributor, + if any, in Source Code or other form. This patent license shall + apply to the combination of the Contribution and the Program if, at + the time the Contribution is added by the Contributor, such addition + of the Contribution causes such combination to be covered by the + Licensed Patents. The patent license shall not apply to any other + combinations which include the Contribution. No hardware per se is + licensed hereunder. + + c) Recipient understands that although each Contributor grants the + licenses to its Contributions set forth herein, no assurances are + provided by any Contributor that the Program does not infringe the + patent or other intellectual property rights of any other entity. + Each Contributor disclaims any liability to Recipient for claims + brought by any other entity based on infringement of intellectual + property rights or otherwise. As a condition to exercising the + rights and licenses granted hereunder, each Recipient hereby + assumes sole responsibility to secure any other intellectual + property rights needed, if any. For example, if a third party + patent license is required to allow Recipient to Distribute the + Program, it is Recipient's responsibility to acquire that license + before distributing the Program. + + d) Each Contributor represents that to its knowledge it has + sufficient copyright rights in its Contribution, if any, to grant + the copyright license set forth in this Agreement. + + e) Notwithstanding the terms of any Secondary License, no + Contributor makes additional grants to any Recipient (other than + those set forth in this Agreement) as a result of such Recipient's + receipt of the Program under the terms of a Secondary License + (if permitted under the terms of Section 3). + + 3. REQUIREMENTS + + 3.1 If a Contributor Distributes the Program in any form, then: + + a) the Program must also be made available as Source Code, in + accordance with section 3.2, and the Contributor must accompany + the Program with a statement that the Source Code for the Program + is available under this Agreement, and informs Recipients how to + obtain it in a reasonable manner on or through a medium customarily + used for software exchange; and + + b) the Contributor may Distribute the Program under a license + different than this Agreement, provided that such license: + i) effectively disclaims on behalf of all other Contributors all + warranties and conditions, express and implied, including + warranties or conditions of title and non-infringement, and + implied warranties or conditions of merchantability and fitness + for a particular purpose; + + ii) effectively excludes on behalf of all other Contributors all + liability for damages, including direct, indirect, special, + incidental and consequential damages, such as lost profits; + + iii) does not attempt to limit or alter the recipients' rights + in the Source Code under section 3.2; and + + iv) requires any subsequent distribution of the Program by any + party to be under a license that satisfies the requirements + of this section 3. + + 3.2 When the Program is Distributed as Source Code: + + a) it must be made available under this Agreement, or if the + Program (i) is combined with other material in a separate file or + files made available under a Secondary License, and (ii) the initial + Contributor attached to the Source Code the notice described in + Exhibit A of this Agreement, then the Program may be made available + under the terms of such Secondary Licenses, and + + b) a copy of this Agreement must be included with each copy of + the Program. + + 3.3 Contributors may not remove or alter any copyright, patent, + trademark, attribution notices, disclaimers of warranty, or limitations + of liability ("notices") contained within the Program from any copy of + the Program which they Distribute, provided that Contributors may add + their own appropriate notices. + + 4. COMMERCIAL DISTRIBUTION + + Commercial distributors of software may accept certain responsibilities + with respect to end users, business partners and the like. While this + license is intended to facilitate the commercial use of the Program, + the Contributor who includes the Program in a commercial product + offering should do so in a manner which does not create potential + liability for other Contributors. Therefore, if a Contributor includes + the Program in a commercial product offering, such Contributor + ("Commercial Contributor") hereby agrees to defend and indemnify every + other Contributor ("Indemnified Contributor") against any losses, + damages and costs (collectively "Losses") arising from claims, lawsuits + and other legal actions brought by a third party against the Indemnified + Contributor to the extent caused by the acts or omissions of such + Commercial Contributor in connection with its distribution of the Program + in a commercial product offering. The obligations in this section do not + apply to any claims or Losses relating to any actual or alleged + intellectual property infringement. In order to qualify, an Indemnified + Contributor must: a) promptly notify the Commercial Contributor in + writing of such claim, and b) allow the Commercial Contributor to control, + and cooperate with the Commercial Contributor in, the defense and any + related settlement negotiations. The Indemnified Contributor may + participate in any such claim at its own expense. + + For example, a Contributor might include the Program in a commercial + product offering, Product X. That Contributor is then a Commercial + Contributor. If that Commercial Contributor then makes performance + claims, or offers warranties related to Product X, those performance + claims and warranties are such Commercial Contributor's responsibility + alone. Under this section, the Commercial Contributor would have to + defend claims against the other Contributors related to those performance + claims and warranties, and if a court requires any other Contributor to + pay any damages as a result, the Commercial Contributor must pay + those damages. + + 5. NO WARRANTY + + EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT + PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" + BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR + IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF + TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR + PURPOSE. Each Recipient is solely responsible for determining the + appropriateness of using and distributing the Program and assumes all + risks associated with its exercise of rights under this Agreement, + including but not limited to the risks and costs of program errors, + compliance with applicable laws, damage to or loss of data, programs + or equipment, and unavailability or interruption of operations. + + 6. DISCLAIMER OF LIABILITY + + EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT + PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS + SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST + PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE + EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGES. + + 7. GENERAL + + If any provision of this Agreement is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this Agreement, and without further + action by the parties hereto, such provision shall be reformed to the + minimum extent necessary to make such provision valid and enforceable. + + If Recipient institutes patent litigation against any entity + (including a cross-claim or counterclaim in a lawsuit) alleging that the + Program itself (excluding combinations of the Program with other software + or hardware) infringes such Recipient's patent(s), then such Recipient's + rights granted under Section 2(b) shall terminate as of the date such + litigation is filed. + + All Recipient's rights under this Agreement shall terminate if it + fails to comply with any of the material terms or conditions of this + Agreement and does not cure such failure in a reasonable period of + time after becoming aware of such noncompliance. If all Recipient's + rights under this Agreement terminate, Recipient agrees to cease use + and distribution of the Program as soon as reasonably practicable. + However, Recipient's obligations under this Agreement and any licenses + granted by Recipient relating to the Program shall continue and survive. + + Everyone is permitted to copy and distribute copies of this Agreement, + but in order to avoid inconsistency the Agreement is copyrighted and + may only be modified in the following manner. The Agreement Steward + reserves the right to publish new versions (including revisions) of + this Agreement from time to time. No one other than the Agreement + Steward has the right to modify this Agreement. The Eclipse Foundation + is the initial Agreement Steward. The Eclipse Foundation may assign the + responsibility to serve as the Agreement Steward to a suitable separate + entity. Each new version of the Agreement will be given a distinguishing + version number. The Program (including Contributions) may always be + Distributed subject to the version of the Agreement under which it was + received. In addition, after a new version of the Agreement is published, + Contributor may elect to Distribute the Program (including its + Contributions) under the new version. + + Except as expressly stated in Sections 2(a) and 2(b) above, Recipient + receives no rights or licenses to the intellectual property of any + Contributor under this Agreement, whether expressly, by implication, + estoppel or otherwise. All rights in the Program not expressly granted + under this Agreement are reserved. Nothing in this Agreement is intended + to be enforceable by any entity that is not a Contributor or Recipient. + No third-party beneficiary rights are created under this Agreement. + + Exhibit A - Form of Secondary Licenses Notice + + "This Source Code may also be made available under the following + Secondary Licenses when the conditions for such availability set forth + in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), + version(s), and exceptions or additional permissions here}." + + Simply including a copy of this Agreement, including this Exhibit A + is not sufficient to license the Source Code under Secondary Licenses. + + If it is not possible or desirable to put the notice in a particular + file, then You may include the notice in a location (such as a LICENSE + file in a relevant directory) where a recipient would be likely to + look for such a notice. + + You may add additional accurate notices of copyright ownership. + +--- + +## The GNU General Public License (GPL) Version 2, June 1991 + + Copyright (C) 1989, 2022 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor + Boston, MA 02110-1335 + USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your freedom to + share and change it. By contrast, the GNU General Public License is + intended to guarantee your freedom to share and change free software--to + make sure the software is free for all its users. This General Public + License applies to most of the Free Software Foundation's software and + to any other program whose authors commit to using it. (Some other Free + Software Foundation software is covered by the GNU Library General + Public License instead.) You can apply it to your programs, too. + + When we speak of free software, we are referring to freedom, not price. + Our General Public Licenses are designed to make sure that you have the + freedom to distribute copies of free software (and charge for this + service if you wish), that you receive source code or can get it if you + want it, that you can change the software or use pieces of it in new + free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid anyone + to deny you these rights or to ask you to surrender the rights. These + restrictions translate to certain responsibilities for you if you + distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether gratis + or for a fee, you must give the recipients all the rights that you have. + You must make sure that they, too, receive or can get the source code. + And you must show them these terms so they know their rights. + + We protect your rights with two steps: (1) copyright the software, and + (2) offer you this license which gives you legal permission to copy, + distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain + that everyone understands that there is no warranty for this free + software. If the software is modified by someone else and passed on, we + want its recipients to know that what they have is not the original, so + that any problems introduced by others will not reflect on the original + authors' reputations. + + Finally, any free program is threatened constantly by software patents. + We wish to avoid the danger that redistributors of a free program will + individually obtain patent licenses, in effect making the program + proprietary. To prevent this, we have made it clear that any patent must + be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and + modification follow. + + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains a + notice placed by the copyright holder saying it may be distributed under + the terms of this General Public License. The "Program", below, refers + to any such program or work, and a "work based on the Program" means + either the Program or any derivative work under copyright law: that is + to say, a work containing the Program or a portion of it, either + verbatim or with modifications and/or translated into another language. + (Hereinafter, translation is included without limitation in the term + "modification".) Each licensee is addressed as "you". + + Activities other than copying, distribution and modification are not + covered by this License; they are outside its scope. The act of running + the Program is not restricted, and the output from the Program is + covered only if its contents constitute a work based on the Program + (independent of having been made by running the Program). Whether that + is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's source + code as you receive it, in any medium, provided that you conspicuously + and appropriately publish on each copy an appropriate copyright notice + and disclaimer of warranty; keep intact all the notices that refer to + this License and to the absence of any warranty; and give any other + recipients of the Program a copy of this License along with the Program. + + You may charge a fee for the physical act of transferring a copy, and + you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion of + it, thus forming a work based on the Program, and copy and distribute + such modifications or work under the terms of Section 1 above, provided + that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any part + thereof, to be licensed as a whole at no charge to all third parties + under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a notice + that there is no warranty (or else, saying that you provide a + warranty) and that users may redistribute the program under these + conditions, and telling the user how to view a copy of this License. + (Exception: if the Program itself is interactive but does not + normally print such an announcement, your work based on the Program + is not required to print an announcement.) + + These requirements apply to the modified work as a whole. If + identifiable sections of that work are not derived from the Program, and + can be reasonably considered independent and separate works in + themselves, then this License, and its terms, do not apply to those + sections when you distribute them as separate works. But when you + distribute the same sections as part of a whole which is a work based on + the Program, the distribution of the whole must be on the terms of this + License, whose permissions for other licensees extend to the entire + whole, and thus to each and every part regardless of who wrote it. + + Thus, it is not the intent of this section to claim rights or contest + your rights to work written entirely by you; rather, the intent is to + exercise the right to control the distribution of derivative or + collective works based on the Program. + + In addition, mere aggregation of another work not based on the Program + with the Program (or with a work based on the Program) on a volume of a + storage or distribution medium does not bring the other work under the + scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, + under Section 2) in object code or executable form under the terms of + Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your cost + of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed + only for noncommercial distribution and only if you received the + program in object code or executable form with such an offer, in + accord with Subsection b above.) + + The source code for a work means the preferred form of the work for + making modifications to it. For an executable work, complete source code + means all the source code for all modules it contains, plus any + associated interface definition files, plus the scripts used to control + compilation and installation of the executable. However, as a special + exception, the source code distributed need not include anything that is + normally distributed (in either source or binary form) with the major + components (compiler, kernel, and so on) of the operating system on + which the executable runs, unless that component itself accompanies the + executable. + + If distribution of executable or object code is made by offering access + to copy from a designated place, then offering equivalent access to copy + the source code from the same place counts as distribution of the source + code, even though third parties are not compelled to copy the source + along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program + except as expressly provided under this License. Any attempt otherwise + to copy, modify, sublicense or distribute the Program is void, and will + automatically terminate your rights under this License. However, parties + who have received copies, or rights, from you under this License will + not have their licenses terminated so long as such parties remain in + full compliance. + + 5. You are not required to accept this License, since you have not + signed it. However, nothing else grants you permission to modify or + distribute the Program or its derivative works. These actions are + prohibited by law if you do not accept this License. Therefore, by + modifying or distributing the Program (or any work based on the + Program), you indicate your acceptance of this License to do so, and all + its terms and conditions for copying, distributing or modifying the + Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the + Program), the recipient automatically receives a license from the + original licensor to copy, distribute or modify the Program subject to + these terms and conditions. You may not impose any further restrictions + on the recipients' exercise of the rights granted herein. You are not + responsible for enforcing compliance by third parties to this License. + + 7. If, as a consequence of a court judgment or allegation of patent + infringement or for any other reason (not limited to patent issues), + conditions are imposed on you (whether by court order, agreement or + otherwise) that contradict the conditions of this License, they do not + excuse you from the conditions of this License. If you cannot distribute + so as to satisfy simultaneously your obligations under this License and + any other pertinent obligations, then as a consequence you may not + distribute the Program at all. For example, if a patent license would + not permit royalty-free redistribution of the Program by all those who + receive copies directly or indirectly through you, then the only way you + could satisfy both it and this License would be to refrain entirely from + distribution of the Program. + + If any portion of this section is held invalid or unenforceable under + any particular circumstance, the balance of the section is intended to + apply and the section as a whole is intended to apply in other + circumstances. + + It is not the purpose of this section to induce you to infringe any + patents or other property right claims or to contest validity of any + such claims; this section has the sole purpose of protecting the + integrity of the free software distribution system, which is implemented + by public license practices. Many people have made generous + contributions to the wide range of software distributed through that + system in reliance on consistent application of that system; it is up to + the author/donor to decide if he or she is willing to distribute + software through any other system and a licensee cannot impose that choice. + + This section is intended to make thoroughly clear what is believed to be + a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in + certain countries either by patents or by copyrighted interfaces, the + original copyright holder who places the Program under this License may + add an explicit geographical distribution limitation excluding those + countries, so that distribution is permitted only in or among countries + not thus excluded. In such case, this License incorporates the + limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new + versions of the General Public License from time to time. Such new + versions will be similar in spirit to the present version, but may + differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the Program + specifies a version number of this License which applies to it and "any + later version", you have the option of following the terms and + conditions either of that version or of any later version published by + the Free Software Foundation. If the Program does not specify a version + number of this License, you may choose any version ever published by the + Free Software Foundation. + + 10. If you wish to incorporate parts of the Program into other free + programs whose distribution conditions are different, write to the + author to ask for permission. For software which is copyrighted by the + Free Software Foundation, write to the Free Software Foundation; we + sometimes make exceptions for this. Our decision will be guided by the + two goals of preserving the free status of all derivatives of our free + software and of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO + WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. + EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR + OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, + EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE + ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH + YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL + NECESSARY SERVICING, REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN + WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY + AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR + DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL + DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM + (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED + INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF + THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR + OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest + possible use to the public, the best way to achieve this is to make it + free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest to + attach them to the start of each source file to most effectively convey + the exclusion of warranty; and each file should have at least the + "copyright" line and a pointer to where the full notice is found. + + One line to give the program's name and a brief idea of what it does. + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA + + Also add information on how to contact you by electronic and paper mail. + + If the program is interactive, make it output a short notice like this + when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type + `show w'. This is free software, and you are welcome to redistribute + it under certain conditions; type `show c' for details. + + The hypothetical commands `show w' and `show c' should show the + appropriate parts of the General Public License. Of course, the commands + you use may be called something other than `show w' and `show c'; they + could even be mouse-clicks or menu items--whatever suits your program. + + You should also get your employer (if you work as a programmer) or your + school, if any, to sign a "copyright disclaimer" for the program, if + necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + program `Gnomovision' (which makes passes at compilers) written by + James Hacker. + + signature of Ty Coon, 1 April 1989 + Ty Coon, President of Vice + + This General Public License does not permit incorporating your program + into proprietary programs. If your program is a subroutine library, you + may consider it more useful to permit linking proprietary applications + with the library. If this is what you want to do, use the GNU Library + General Public License instead of this License. + +--- + +## CLASSPATH EXCEPTION + + Linking this library statically or dynamically with other modules is + making a combined work based on this library. Thus, the terms and + conditions of the GNU General Public License version 2 cover the whole + combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent + modules, and to copy and distribute the resulting executable under + terms of your choice, provided that you also meet, for each linked + independent module, the terms and conditions of the license of that + module. An independent module is a module which is not derived from or + based on this library. If you modify this library, you may extend this + exception to your version of the library, but you are not obligated to + do so. If you do not wish to do so, delete this exception statement + from your version. diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/common/persistence-import.xml b/jpa/common/src/main/resources/ee/jakarta/tck/persistence/common/persistence-import.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/common/persistence-import.xml rename to jpa/common/src/main/resources/ee/jakarta/tck/persistence/common/persistence-import.xml diff --git a/jpa/common/src/main/resources/ee/jakarta/tck/persistence/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider b/jpa/common/src/main/resources/ee/jakarta/tck/persistence/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider new file mode 100755 index 0000000000..08c48386f0 --- /dev/null +++ b/jpa/common/src/main/resources/ee/jakarta/tck/persistence/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider @@ -0,0 +1 @@ +ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation.PersistenceProvider \ No newline at end of file diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/common/schema30/properties.xml b/jpa/common/src/main/resources/ee/jakarta/tck/persistence/common/schema30/properties.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/common/schema30/properties.xml rename to jpa/common/src/main/resources/ee/jakarta/tck/persistence/common/schema30/properties.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/common/template/persistence.xml b/jpa/common/src/main/resources/ee/jakarta/tck/persistence/common/template/persistence.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/common/template/persistence.xml rename to jpa/common/src/main/resources/ee/jakarta/tck/persistence/common/template/persistence.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/common/template/standalone/persistence.xml b/jpa/common/src/main/resources/ee/jakarta/tck/persistence/common/template/standalone/persistence.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/common/template/standalone/persistence.xml rename to jpa/common/src/main/resources/ee/jakarta/tck/persistence/common/template/standalone/persistence.xml diff --git a/jpa/dist/pom.xml b/jpa/dist/pom.xml new file mode 100644 index 0000000000..27916a1c8c --- /dev/null +++ b/jpa/dist/pom.xml @@ -0,0 +1,84 @@ + + + + 4.0.0 + + jakarta.tck + persistence-tck + 3.2.0 + ../pom.xml + + persistence-tck-dist + jar + + ${bundle-name}-${project.version} + + + src/main/resources + + LICENSE_${license}.md + + + + + + org.apache.maven.plugins + maven-assembly-plugin + 3.3.0 + + + distribution + + single + + package + + + src/main/assembly/assembly.xml + + \ + false + ${bundle-name}-${project.version} + + + + + + + + + EFTL + + true + + + jakarta-persistence-tck + EFTL + + + + EPL + + persistence-tck + EPL + + + + diff --git a/jpa/dist/src/main/assembly/assembly.xml b/jpa/dist/src/main/assembly/assembly.xml new file mode 100644 index 0000000000..2dd3ce1198 --- /dev/null +++ b/jpa/dist/src/main/assembly/assembly.xml @@ -0,0 +1,105 @@ + + + + + distribution + persistence-tck + + zip + + + + + + ${project.basedir}/src/main/resources/LICENSE_${license}.md + LICENSE.md + + + + + ${project.basedir}/../spec-tests/target + artifacts + 755 + + **/*.jar + + + + ${project.basedir}/../common/target + artifacts + 755 + + **/*.jar + + + + ${project.basedir}/../docs + docs + 755 + + assertions/** + *.html + *.txt + + + + ${project.basedir}/../procedures/target + artifacts + 755 + + **/*.jar + + + + ${project.basedir}/../docs/userguide/target/generated-docs + docs/pdf-usersguide + 755 + + *.pdf + + + + ${project.basedir}/../docs/userguide/target/staging + docs/html-usersguide + 755 + + *.html + css/** + img/** + + + + ${project.basedir}/../../sql + sql + 755 + + **/** + + + + ${project.basedir}/../bin + bin + 755 + + **/** + + + + diff --git a/jpa/dist/src/main/resources/LICENSE.md b/jpa/dist/src/main/resources/LICENSE.md new file mode 100644 index 0000000000..5de3d1b40c --- /dev/null +++ b/jpa/dist/src/main/resources/LICENSE.md @@ -0,0 +1,637 @@ +# Eclipse Public License - v 2.0 + + THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE + PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION + OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + + 1. DEFINITIONS + + "Contribution" means: + + a) in the case of the initial Contributor, the initial content + Distributed under this Agreement, and + + b) in the case of each subsequent Contributor: + i) changes to the Program, and + ii) additions to the Program; + where such changes and/or additions to the Program originate from + and are Distributed by that particular Contributor. A Contribution + "originates" from a Contributor if it was added to the Program by + such Contributor itself or anyone acting on such Contributor's behalf. + Contributions do not include changes or additions to the Program that + are not Modified Works. + + "Contributor" means any person or entity that Distributes the Program. + + "Licensed Patents" mean patent claims licensable by a Contributor which + are necessarily infringed by the use or sale of its Contribution alone + or when combined with the Program. + + "Program" means the Contributions Distributed in accordance with this + Agreement. + + "Recipient" means anyone who receives the Program under this Agreement + or any Secondary License (as applicable), including Contributors. + + "Derivative Works" shall mean any work, whether in Source Code or other + form, that is based on (or derived from) the Program and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. + + "Modified Works" shall mean any work in Source Code or other form that + results from an addition to, deletion from, or modification of the + contents of the Program, including, for purposes of clarity any new file + in Source Code form that contains any contents of the Program. Modified + Works shall not include works that contain only declarations, + interfaces, types, classes, structures, or files of the Program solely + in each case in order to link to, bind by name, or subclass the Program + or Modified Works thereof. + + "Distribute" means the acts of a) distributing or b) making available + in any manner that enables the transfer of a copy. + + "Source Code" means the form of a Program preferred for making + modifications, including but not limited to software source code, + documentation source, and configuration files. + + "Secondary License" means either the GNU General Public License, + Version 2.0, or any later versions of that license, including any + exceptions or additional permissions as identified by the initial + Contributor. + + 2. GRANT OF RIGHTS + + a) Subject to the terms of this Agreement, each Contributor hereby + grants Recipient a non-exclusive, worldwide, royalty-free copyright + license to reproduce, prepare Derivative Works of, publicly display, + publicly perform, Distribute and sublicense the Contribution of such + Contributor, if any, and such Derivative Works. + + b) Subject to the terms of this Agreement, each Contributor hereby + grants Recipient a non-exclusive, worldwide, royalty-free patent + license under Licensed Patents to make, use, sell, offer to sell, + import and otherwise transfer the Contribution of such Contributor, + if any, in Source Code or other form. This patent license shall + apply to the combination of the Contribution and the Program if, at + the time the Contribution is added by the Contributor, such addition + of the Contribution causes such combination to be covered by the + Licensed Patents. The patent license shall not apply to any other + combinations which include the Contribution. No hardware per se is + licensed hereunder. + + c) Recipient understands that although each Contributor grants the + licenses to its Contributions set forth herein, no assurances are + provided by any Contributor that the Program does not infringe the + patent or other intellectual property rights of any other entity. + Each Contributor disclaims any liability to Recipient for claims + brought by any other entity based on infringement of intellectual + property rights or otherwise. As a condition to exercising the + rights and licenses granted hereunder, each Recipient hereby + assumes sole responsibility to secure any other intellectual + property rights needed, if any. For example, if a third party + patent license is required to allow Recipient to Distribute the + Program, it is Recipient's responsibility to acquire that license + before distributing the Program. + + d) Each Contributor represents that to its knowledge it has + sufficient copyright rights in its Contribution, if any, to grant + the copyright license set forth in this Agreement. + + e) Notwithstanding the terms of any Secondary License, no + Contributor makes additional grants to any Recipient (other than + those set forth in this Agreement) as a result of such Recipient's + receipt of the Program under the terms of a Secondary License + (if permitted under the terms of Section 3). + + 3. REQUIREMENTS + + 3.1 If a Contributor Distributes the Program in any form, then: + + a) the Program must also be made available as Source Code, in + accordance with section 3.2, and the Contributor must accompany + the Program with a statement that the Source Code for the Program + is available under this Agreement, and informs Recipients how to + obtain it in a reasonable manner on or through a medium customarily + used for software exchange; and + + b) the Contributor may Distribute the Program under a license + different than this Agreement, provided that such license: + i) effectively disclaims on behalf of all other Contributors all + warranties and conditions, express and implied, including + warranties or conditions of title and non-infringement, and + implied warranties or conditions of merchantability and fitness + for a particular purpose; + + ii) effectively excludes on behalf of all other Contributors all + liability for damages, including direct, indirect, special, + incidental and consequential damages, such as lost profits; + + iii) does not attempt to limit or alter the recipients' rights + in the Source Code under section 3.2; and + + iv) requires any subsequent distribution of the Program by any + party to be under a license that satisfies the requirements + of this section 3. + + 3.2 When the Program is Distributed as Source Code: + + a) it must be made available under this Agreement, or if the + Program (i) is combined with other material in a separate file or + files made available under a Secondary License, and (ii) the initial + Contributor attached to the Source Code the notice described in + Exhibit A of this Agreement, then the Program may be made available + under the terms of such Secondary Licenses, and + + b) a copy of this Agreement must be included with each copy of + the Program. + + 3.3 Contributors may not remove or alter any copyright, patent, + trademark, attribution notices, disclaimers of warranty, or limitations + of liability ("notices") contained within the Program from any copy of + the Program which they Distribute, provided that Contributors may add + their own appropriate notices. + + 4. COMMERCIAL DISTRIBUTION + + Commercial distributors of software may accept certain responsibilities + with respect to end users, business partners and the like. While this + license is intended to facilitate the commercial use of the Program, + the Contributor who includes the Program in a commercial product + offering should do so in a manner which does not create potential + liability for other Contributors. Therefore, if a Contributor includes + the Program in a commercial product offering, such Contributor + ("Commercial Contributor") hereby agrees to defend and indemnify every + other Contributor ("Indemnified Contributor") against any losses, + damages and costs (collectively "Losses") arising from claims, lawsuits + and other legal actions brought by a third party against the Indemnified + Contributor to the extent caused by the acts or omissions of such + Commercial Contributor in connection with its distribution of the Program + in a commercial product offering. The obligations in this section do not + apply to any claims or Losses relating to any actual or alleged + intellectual property infringement. In order to qualify, an Indemnified + Contributor must: a) promptly notify the Commercial Contributor in + writing of such claim, and b) allow the Commercial Contributor to control, + and cooperate with the Commercial Contributor in, the defense and any + related settlement negotiations. The Indemnified Contributor may + participate in any such claim at its own expense. + + For example, a Contributor might include the Program in a commercial + product offering, Product X. That Contributor is then a Commercial + Contributor. If that Commercial Contributor then makes performance + claims, or offers warranties related to Product X, those performance + claims and warranties are such Commercial Contributor's responsibility + alone. Under this section, the Commercial Contributor would have to + defend claims against the other Contributors related to those performance + claims and warranties, and if a court requires any other Contributor to + pay any damages as a result, the Commercial Contributor must pay + those damages. + + 5. NO WARRANTY + + EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT + PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" + BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR + IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF + TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR + PURPOSE. Each Recipient is solely responsible for determining the + appropriateness of using and distributing the Program and assumes all + risks associated with its exercise of rights under this Agreement, + including but not limited to the risks and costs of program errors, + compliance with applicable laws, damage to or loss of data, programs + or equipment, and unavailability or interruption of operations. + + 6. DISCLAIMER OF LIABILITY + + EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT + PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS + SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST + PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE + EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGES. + + 7. GENERAL + + If any provision of this Agreement is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this Agreement, and without further + action by the parties hereto, such provision shall be reformed to the + minimum extent necessary to make such provision valid and enforceable. + + If Recipient institutes patent litigation against any entity + (including a cross-claim or counterclaim in a lawsuit) alleging that the + Program itself (excluding combinations of the Program with other software + or hardware) infringes such Recipient's patent(s), then such Recipient's + rights granted under Section 2(b) shall terminate as of the date such + litigation is filed. + + All Recipient's rights under this Agreement shall terminate if it + fails to comply with any of the material terms or conditions of this + Agreement and does not cure such failure in a reasonable period of + time after becoming aware of such noncompliance. If all Recipient's + rights under this Agreement terminate, Recipient agrees to cease use + and distribution of the Program as soon as reasonably practicable. + However, Recipient's obligations under this Agreement and any licenses + granted by Recipient relating to the Program shall continue and survive. + + Everyone is permitted to copy and distribute copies of this Agreement, + but in order to avoid inconsistency the Agreement is copyrighted and + may only be modified in the following manner. The Agreement Steward + reserves the right to publish new versions (including revisions) of + this Agreement from time to time. No one other than the Agreement + Steward has the right to modify this Agreement. The Eclipse Foundation + is the initial Agreement Steward. The Eclipse Foundation may assign the + responsibility to serve as the Agreement Steward to a suitable separate + entity. Each new version of the Agreement will be given a distinguishing + version number. The Program (including Contributions) may always be + Distributed subject to the version of the Agreement under which it was + received. In addition, after a new version of the Agreement is published, + Contributor may elect to Distribute the Program (including its + Contributions) under the new version. + + Except as expressly stated in Sections 2(a) and 2(b) above, Recipient + receives no rights or licenses to the intellectual property of any + Contributor under this Agreement, whether expressly, by implication, + estoppel or otherwise. All rights in the Program not expressly granted + under this Agreement are reserved. Nothing in this Agreement is intended + to be enforceable by any entity that is not a Contributor or Recipient. + No third-party beneficiary rights are created under this Agreement. + + Exhibit A - Form of Secondary Licenses Notice + + "This Source Code may also be made available under the following + Secondary Licenses when the conditions for such availability set forth + in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), + version(s), and exceptions or additional permissions here}." + + Simply including a copy of this Agreement, including this Exhibit A + is not sufficient to license the Source Code under Secondary Licenses. + + If it is not possible or desirable to put the notice in a particular + file, then You may include the notice in a location (such as a LICENSE + file in a relevant directory) where a recipient would be likely to + look for such a notice. + + You may add additional accurate notices of copyright ownership. + +--- + +## The GNU General Public License (GPL) Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor + Boston, MA 02110-1335 + USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your freedom to + share and change it. By contrast, the GNU General Public License is + intended to guarantee your freedom to share and change free software--to + make sure the software is free for all its users. This General Public + License applies to most of the Free Software Foundation's software and + to any other program whose authors commit to using it. (Some other Free + Software Foundation software is covered by the GNU Library General + Public License instead.) You can apply it to your programs, too. + + When we speak of free software, we are referring to freedom, not price. + Our General Public Licenses are designed to make sure that you have the + freedom to distribute copies of free software (and charge for this + service if you wish), that you receive source code or can get it if you + want it, that you can change the software or use pieces of it in new + free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid anyone + to deny you these rights or to ask you to surrender the rights. These + restrictions translate to certain responsibilities for you if you + distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether gratis + or for a fee, you must give the recipients all the rights that you have. + You must make sure that they, too, receive or can get the source code. + And you must show them these terms so they know their rights. + + We protect your rights with two steps: (1) copyright the software, and + (2) offer you this license which gives you legal permission to copy, + distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain + that everyone understands that there is no warranty for this free + software. If the software is modified by someone else and passed on, we + want its recipients to know that what they have is not the original, so + that any problems introduced by others will not reflect on the original + authors' reputations. + + Finally, any free program is threatened constantly by software patents. + We wish to avoid the danger that redistributors of a free program will + individually obtain patent licenses, in effect making the program + proprietary. To prevent this, we have made it clear that any patent must + be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and + modification follow. + + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains a + notice placed by the copyright holder saying it may be distributed under + the terms of this General Public License. The "Program", below, refers + to any such program or work, and a "work based on the Program" means + either the Program or any derivative work under copyright law: that is + to say, a work containing the Program or a portion of it, either + verbatim or with modifications and/or translated into another language. + (Hereinafter, translation is included without limitation in the term + "modification".) Each licensee is addressed as "you". + + Activities other than copying, distribution and modification are not + covered by this License; they are outside its scope. The act of running + the Program is not restricted, and the output from the Program is + covered only if its contents constitute a work based on the Program + (independent of having been made by running the Program). Whether that + is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's source + code as you receive it, in any medium, provided that you conspicuously + and appropriately publish on each copy an appropriate copyright notice + and disclaimer of warranty; keep intact all the notices that refer to + this License and to the absence of any warranty; and give any other + recipients of the Program a copy of this License along with the Program. + + You may charge a fee for the physical act of transferring a copy, and + you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion of + it, thus forming a work based on the Program, and copy and distribute + such modifications or work under the terms of Section 1 above, provided + that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any part + thereof, to be licensed as a whole at no charge to all third parties + under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a notice + that there is no warranty (or else, saying that you provide a + warranty) and that users may redistribute the program under these + conditions, and telling the user how to view a copy of this License. + (Exception: if the Program itself is interactive but does not + normally print such an announcement, your work based on the Program + is not required to print an announcement.) + + These requirements apply to the modified work as a whole. If + identifiable sections of that work are not derived from the Program, and + can be reasonably considered independent and separate works in + themselves, then this License, and its terms, do not apply to those + sections when you distribute them as separate works. But when you + distribute the same sections as part of a whole which is a work based on + the Program, the distribution of the whole must be on the terms of this + License, whose permissions for other licensees extend to the entire + whole, and thus to each and every part regardless of who wrote it. + + Thus, it is not the intent of this section to claim rights or contest + your rights to work written entirely by you; rather, the intent is to + exercise the right to control the distribution of derivative or + collective works based on the Program. + + In addition, mere aggregation of another work not based on the Program + with the Program (or with a work based on the Program) on a volume of a + storage or distribution medium does not bring the other work under the + scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, + under Section 2) in object code or executable form under the terms of + Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your cost + of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed + only for noncommercial distribution and only if you received the + program in object code or executable form with such an offer, in + accord with Subsection b above.) + + The source code for a work means the preferred form of the work for + making modifications to it. For an executable work, complete source code + means all the source code for all modules it contains, plus any + associated interface definition files, plus the scripts used to control + compilation and installation of the executable. However, as a special + exception, the source code distributed need not include anything that is + normally distributed (in either source or binary form) with the major + components (compiler, kernel, and so on) of the operating system on + which the executable runs, unless that component itself accompanies the + executable. + + If distribution of executable or object code is made by offering access + to copy from a designated place, then offering equivalent access to copy + the source code from the same place counts as distribution of the source + code, even though third parties are not compelled to copy the source + along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program + except as expressly provided under this License. Any attempt otherwise + to copy, modify, sublicense or distribute the Program is void, and will + automatically terminate your rights under this License. However, parties + who have received copies, or rights, from you under this License will + not have their licenses terminated so long as such parties remain in + full compliance. + + 5. You are not required to accept this License, since you have not + signed it. However, nothing else grants you permission to modify or + distribute the Program or its derivative works. These actions are + prohibited by law if you do not accept this License. Therefore, by + modifying or distributing the Program (or any work based on the + Program), you indicate your acceptance of this License to do so, and all + its terms and conditions for copying, distributing or modifying the + Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the + Program), the recipient automatically receives a license from the + original licensor to copy, distribute or modify the Program subject to + these terms and conditions. You may not impose any further restrictions + on the recipients' exercise of the rights granted herein. You are not + responsible for enforcing compliance by third parties to this License. + + 7. If, as a consequence of a court judgment or allegation of patent + infringement or for any other reason (not limited to patent issues), + conditions are imposed on you (whether by court order, agreement or + otherwise) that contradict the conditions of this License, they do not + excuse you from the conditions of this License. If you cannot distribute + so as to satisfy simultaneously your obligations under this License and + any other pertinent obligations, then as a consequence you may not + distribute the Program at all. For example, if a patent license would + not permit royalty-free redistribution of the Program by all those who + receive copies directly or indirectly through you, then the only way you + could satisfy both it and this License would be to refrain entirely from + distribution of the Program. + + If any portion of this section is held invalid or unenforceable under + any particular circumstance, the balance of the section is intended to + apply and the section as a whole is intended to apply in other + circumstances. + + It is not the purpose of this section to induce you to infringe any + patents or other property right claims or to contest validity of any + such claims; this section has the sole purpose of protecting the + integrity of the free software distribution system, which is implemented + by public license practices. Many people have made generous + contributions to the wide range of software distributed through that + system in reliance on consistent application of that system; it is up to + the author/donor to decide if he or she is willing to distribute + software through any other system and a licensee cannot impose that choice. + + This section is intended to make thoroughly clear what is believed to be + a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in + certain countries either by patents or by copyrighted interfaces, the + original copyright holder who places the Program under this License may + add an explicit geographical distribution limitation excluding those + countries, so that distribution is permitted only in or among countries + not thus excluded. In such case, this License incorporates the + limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new + versions of the General Public License from time to time. Such new + versions will be similar in spirit to the present version, but may + differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the Program + specifies a version number of this License which applies to it and "any + later version", you have the option of following the terms and + conditions either of that version or of any later version published by + the Free Software Foundation. If the Program does not specify a version + number of this License, you may choose any version ever published by the + Free Software Foundation. + + 10. If you wish to incorporate parts of the Program into other free + programs whose distribution conditions are different, write to the + author to ask for permission. For software which is copyrighted by the + Free Software Foundation, write to the Free Software Foundation; we + sometimes make exceptions for this. Our decision will be guided by the + two goals of preserving the free status of all derivatives of our free + software and of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO + WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. + EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR + OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, + EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE + ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH + YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL + NECESSARY SERVICING, REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN + WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY + AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR + DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL + DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM + (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED + INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF + THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR + OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest + possible use to the public, the best way to achieve this is to make it + free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest to + attach them to the start of each source file to most effectively convey + the exclusion of warranty; and each file should have at least the + "copyright" line and a pointer to where the full notice is found. + + One line to give the program's name and a brief idea of what it does. + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA + + Also add information on how to contact you by electronic and paper mail. + + If the program is interactive, make it output a short notice like this + when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type + `show w'. This is free software, and you are welcome to redistribute + it under certain conditions; type `show c' for details. + + The hypothetical commands `show w' and `show c' should show the + appropriate parts of the General Public License. Of course, the commands + you use may be called something other than `show w' and `show c'; they + could even be mouse-clicks or menu items--whatever suits your program. + + You should also get your employer (if you work as a programmer) or your + school, if any, to sign a "copyright disclaimer" for the program, if + necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + program `Gnomovision' (which makes passes at compilers) written by + James Hacker. + + signature of Ty Coon, 1 April 1989 + Ty Coon, President of Vice + + This General Public License does not permit incorporating your program + into proprietary programs. If your program is a subroutine library, you + may consider it more useful to permit linking proprietary applications + with the library. If this is what you want to do, use the GNU Library + General Public License instead of this License. + +--- + +## CLASSPATH EXCEPTION + + Linking this library statically or dynamically with other modules is + making a combined work based on this library. Thus, the terms and + conditions of the GNU General Public License version 2 cover the whole + combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent + modules, and to copy and distribute the resulting executable under + terms of your choice, provided that you also meet, for each linked + independent module, the terms and conditions of the license of that + module. An independent module is a module which is not derived from or + based on this library. If you modify this library, you may extend this + exception to your version of the library, but you are not obligated to + do so. If you do not wish to do so, delete this exception statement + from your version. diff --git a/jpa/dist/src/main/resources/LICENSE_EFTL.md b/jpa/dist/src/main/resources/LICENSE_EFTL.md new file mode 100644 index 0000000000..a2106828a6 --- /dev/null +++ b/jpa/dist/src/main/resources/LICENSE_EFTL.md @@ -0,0 +1,83 @@ +# Eclipse Foundation Technology Compatibility Kit License - v 1.0 + +Copyright (c) 2018, Eclipse Foundation, Inc. and its licensors. + +Redistribution and use in binary form is permitted provided that the +following conditions are met: + +1. Use of the Technology Compatibility Kit accompanying this license + (the "TCK") and its documentation is permitted solely for the + purpose of testing compatibility of an implementation (the + "Product") of a specification (the "Specification") made available + by the Eclipse Foundation, Inc. ("Eclipse"). + +2. Only those modifications expressly permitted by the TCK and its + documentation are permitted. Except in these limited circumstances, + no modifications to the TCK are permitted under this license. + +3. A Product will be deemed to be "compatible" with the Specification + if it fully and completely meets and satisfies all requirements of + the TCK. + +4. Before any claim of compatibility (or any similar claim suggesting + compatibility) is made based on the TCK, the testing party must: + + a. use the TCK to demonstrate that the Product fully and + completely meets and satisfies all requirements of the TCK; + + b. make TCK test results showing full and complete satisfaction of + all requirements of the TCK publicly available on the testing + party's website and send a link to such test results to Eclipse + at [tck@eclipse.org](mailto:tck@eclipse.org); and + + c. comply with any requirements stated in the Specification with + regard to subsetting, supersetting, modifying or extending the + Specification in any Product claimed to be compatible with the + Specification. + +5. The test results must be continuously available and the link must + be live for at least as long as the Product is available in the + marketplace. + +6. The TCK may not be used as a basis for any statements of partial + compatibility. The TCK may only be used as a basis for true, + factual statements of full compatibility of Products that fully + meet and satisfy all requirements of the TCK. + +7. A determination that a Product is compatible with the TCK does not, + in itself, give rise to the right to use any name, mark, logo + associated with the TCK, Eclipse, or Eclipse's contributors or + licensors. + +8. Upon the request of Eclipse, a tester will retract any statements + of compatibility (or any similar claim suggesting compatibility) + which Eclipse reasonably determines to be false or misleading or in + violation of the terms of this license. + +9. Redistribution of the TCK must be under this Eclipse Foundation + Technology Compatibility Kit License and must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + +10. Neither the name, trademarks or logos of Eclipse, nor the names, + trademarks or logos of its contributors or licensors may be used to + endorse or promote products tested with this software without + specific prior written permission. + +11. The source code for the TCK accompanying this license is available + from Eclipse. + +TO THE EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED ON +AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER +EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR +CONDITIONS OF TITLE, NON- INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR +A PARTICULAR PURPOSE. TO THE EXTENT PERMITTED BY APPLICABLE LAW, +NEITHER THE COPYRIGHT OWNER OR ANY CONTRIBUTORS SHALL HAVE ANY +LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE +EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. diff --git a/jpa/docs/LICENSE_EFTL.md b/jpa/docs/LICENSE_EFTL.md new file mode 100644 index 0000000000..a2106828a6 --- /dev/null +++ b/jpa/docs/LICENSE_EFTL.md @@ -0,0 +1,83 @@ +# Eclipse Foundation Technology Compatibility Kit License - v 1.0 + +Copyright (c) 2018, Eclipse Foundation, Inc. and its licensors. + +Redistribution and use in binary form is permitted provided that the +following conditions are met: + +1. Use of the Technology Compatibility Kit accompanying this license + (the "TCK") and its documentation is permitted solely for the + purpose of testing compatibility of an implementation (the + "Product") of a specification (the "Specification") made available + by the Eclipse Foundation, Inc. ("Eclipse"). + +2. Only those modifications expressly permitted by the TCK and its + documentation are permitted. Except in these limited circumstances, + no modifications to the TCK are permitted under this license. + +3. A Product will be deemed to be "compatible" with the Specification + if it fully and completely meets and satisfies all requirements of + the TCK. + +4. Before any claim of compatibility (or any similar claim suggesting + compatibility) is made based on the TCK, the testing party must: + + a. use the TCK to demonstrate that the Product fully and + completely meets and satisfies all requirements of the TCK; + + b. make TCK test results showing full and complete satisfaction of + all requirements of the TCK publicly available on the testing + party's website and send a link to such test results to Eclipse + at [tck@eclipse.org](mailto:tck@eclipse.org); and + + c. comply with any requirements stated in the Specification with + regard to subsetting, supersetting, modifying or extending the + Specification in any Product claimed to be compatible with the + Specification. + +5. The test results must be continuously available and the link must + be live for at least as long as the Product is available in the + marketplace. + +6. The TCK may not be used as a basis for any statements of partial + compatibility. The TCK may only be used as a basis for true, + factual statements of full compatibility of Products that fully + meet and satisfy all requirements of the TCK. + +7. A determination that a Product is compatible with the TCK does not, + in itself, give rise to the right to use any name, mark, logo + associated with the TCK, Eclipse, or Eclipse's contributors or + licensors. + +8. Upon the request of Eclipse, a tester will retract any statements + of compatibility (or any similar claim suggesting compatibility) + which Eclipse reasonably determines to be false or misleading or in + violation of the terms of this license. + +9. Redistribution of the TCK must be under this Eclipse Foundation + Technology Compatibility Kit License and must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + +10. Neither the name, trademarks or logos of Eclipse, nor the names, + trademarks or logos of its contributors or licensors may be used to + endorse or promote products tested with this software without + specific prior written permission. + +11. The source code for the TCK accompanying this license is available + from Eclipse. + +TO THE EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED ON +AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER +EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR +CONDITIONS OF TITLE, NON- INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR +A PARTICULAR PURPOSE. TO THE EXTENT PERMITTED BY APPLICABLE LAW, +NEITHER THE COPYRIGHT OWNER OR ANY CONTRIBUTORS SHALL HAVE ANY +LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE +EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. diff --git a/jpa/docs/TCK-Exclude-List.txt b/jpa/docs/TCK-Exclude-List.txt new file mode 100644 index 0000000000..3eba138cc0 --- /dev/null +++ b/jpa/docs/TCK-Exclude-List.txt @@ -0,0 +1,23 @@ +# +# Copyright (c) 2024 Oracle and/or its affiliates. All rights reserved. +# +# This program and the accompanying materials are made available under the +# terms of the Eclipse Public License v. 2.0, which is available at +# http://www.eclipse.org/legal/epl-2.0. +# +# This Source Code may also be made available under the following Secondary +# Licenses when the conditions for such availability set forth in the +# Eclipse Public License v. 2.0 are satisfied: GNU General Public License, +# version 2 with the GNU Classpath Exception, which is available at +# https://www.gnu.org/software/classpath/license.html. +# +# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 +# + +# This file lists the excluded tests from Jakarta EL TCK. +# This is intended only for documentation purpose and is not used to exclude any tests. +# The tests are excluded from the test source using @Disabled tag in JUnit framework. +# +ee/jakarta/tck/persistence/se/schemaGeneration/annotations/tableGenerator/Client.java#tableGeneratorTest +ee/jakarta/tck/persistence/core/query/language/Client6.java#resultContainsFetchReference +ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/Client.java#getDeclaredSingularAttributes \ No newline at end of file diff --git a/jpa/docs/assertions/api/api-assertions-3_2.html b/jpa/docs/assertions/api/api-assertions-3_2.html new file mode 100644 index 0000000000..446febb844 --- /dev/null +++ b/jpa/docs/assertions/api/api-assertions-3_2.html @@ -0,0 +1,8515 @@ + + + +JavaDoc Assertion Detail + + +
+
+

Java(TM) Persistence API
PERSISTENCE - 3.1
+ JavaDoc Assertion Detail +

+
+ + + + + + + + + + + +
TotalsTotalActiveDeprecatedRemoved
+ # of Assertions + 18609980862
+ # of Required Assertions + 18439870856
+ # of Optional Assertions + 171106
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IDReturnMethod/FieldDescriptionRequiredDeprecatedTestable
PERSISTENCE:JAVADOC:29__OLDStringjakarta.persistence.Entity.name
+
(Optional) The entity name. Defaults to the unqualified name of the entity class. This name is used to refer to the entity in queries. The name must not be a reserved literal in the Java Persistence query language.true +
+
true
PERSISTENCE:JAVADOC:38__OLDQueryjakarta.persistence.EntityManager.createNamedQuery
+ + ( + String + ) +
Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL).true +
+
true
PERSISTENCE:JAVADOC:42__OLDQueryjakarta.persistence.EntityManager.createQuery
+ + ( + String + ) +
Create an instance of Query for executing a Java Persistence query language statement.true +
+
true
PERSISTENCE:JAVADOC:124__OLDStringjakarta.persistence.NamedQuery.query
+
(Required) The query string in the Java Persistence query language.true +
+
true
PERSISTENCE:JAVADOC:320__OLDTypedQueryjakarta.persistence.EntityManager.createNamedQuery
+ + ( + String + ,
Class + ) +
Create an instance of TypedQuery for executing a Java Persistence query language named query. The select list of the query must contain only a single item, which must be assignable to the type specified by the resultClass argument.true +
+
true
PERSISTENCE:JAVADOC:322__OLDTypedQueryjakarta.persistence.EntityManager.createQuery
+ + ( + String + ,
Class + ) +
Create an instance of TypedQuery for executing a Java Persistence query language statement. The select list of the query must contain only a single item, which must be assignable to the type specified by the resultClass argument.true +
+
true
PERSISTENCE:JAVADOC:382__OLDClassjakarta.persistence.Parameter.getParameterType
+
Return the Java type of the parameter. Values bound to the parameter must be assignable to this type. This method is required to be supported for criteria queries only. Applications that use this method for Java Persistence query language queries and native queries will not be portable.true +
+
true
PERSISTENCE:JAVADOC:924__OLDCriteriaQueryjakarta.persistence.criteria.CriteriaQuery.multiselect
+ + ( + Selection[] + ) +
Specify the selection items that are to be returned in the query result. Replaces the previously specified selection(s), if any. The type of the result of the query execution depends on the specification of the type of the criteria query object created as well as the arguments to the multiselect method. An argument to the multiselect method must not be a tuple- or array-valued compound selection item. The semantics of this method are as follows: If the type of the criteria query is CriteriaQuery #060;Tuple #062; (i.e., a criteria query object created by either the createTupleQuery method or by passing a Tuple class argument to the createQuery method), a Tuple object corresponding to the arguments of the multiselect method, in the specified order, will be instantiated and returned for each row that results from the query execution. If the type of the criteria query is CriteriaQuery #060;X #062; for some user-defined class X (i.e., a criteria query object created by passing a X class argument to the createQuery method), the arguments to the multiselect method will be passed to the X constructor and an instance of type X will be returned for each row. If the type of the criteria query is CriteriaQuery #060;X[] #062; for some class X, an instance of type X[] will be returned for each row. The elements of the array will correspond to the arguments of the multiselect method, in the specified order. If the type of the criteria query is CriteriaQuery #060;Object #062; or if the criteria query was created without specifying a type, and only a single argument is passed to the multiselect method, an instance of type Object will be returned for each row. If the type of the criteria query is CriteriaQuery #060;Object #062; or if the criteria query was created without specifying a type, and more than one argument is passed to the multiselect method, an instance of type Object[] will be instantiated and returned for each row. The elements of the array will correspond to the arguments to the multiselect method, in the specified order.true +
+
true
PERSISTENCE:JAVADOC:926__OLDCriteriaQueryjakarta.persistence.criteria.CriteriaQuery.multiselect
+ + ( + List + ) +
Specify the selection items that are to be returned in the query result. Replaces the previously specified selection(s), if any. The type of the result of the query execution depends on the specification of the type of the criteria query object created as well as the argument to the multiselect method. An element of the list passed to the multiselect method must not be a tuple- or array-valued compound selection item. The semantics of this method are as follows: If the type of the criteria query is CriteriaQuery #060;Tuple #062; (i.e., a criteria query object created by either the createTupleQuery method or by passing a Tuple class argument to the createQuery method), a Tuple object corresponding to the elements of the list passed to the multiselect method, in the specified order, will be instantiated and returned for each row that results from the query execution. If the type of the criteria query is CriteriaQuery #060;X #062; for some user-defined class X (i.e., a criteria query object created by passing a X class argument to the createQuery method), the elements of the list passed to the multiselect method will be passed to the X constructor and an instance of type X will be returned for each row. If the type of the criteria query is CriteriaQuery #060;X[] #062; for some class X, an instance of type X[] will be returned for each row. The elements of the array will correspond to the elements of the list passed to the multiselect method, in the specified order. If the type of the criteria query is CriteriaQuery #060;Object #062; or if the criteria query was created without specifying a type, and the list passed to the multiselect method contains only a single element, an instance of type Object will be returned for each row. If the type of the criteria query is CriteriaQuery #060;Object #062; or if the criteria query was created without specifying a type, and the list passed to the multiselect method contains more than one element, an instance of type Object[] will be instantiated and returned for each row. The elements of the array will correspond to the elements of the list passed to the multiselect method, in the specified order.true +
+
true
PERSISTENCE:JAVADOC:930__OLDCriteriaQueryjakarta.persistence.criteria.CriteriaQuery.select
+ + ( + Selection + ) +
Specify the item that is to be returned in the query result. Replaces the previously specified selection(s), if any. Note: Applications using the string-based API may need to specify the type of the select item when it results from a get or join operation and the query result type is specified. For example: CriteriaQuery #060;String #062; q = cb.createQuery(String.class); Root #060;Order #062; order = q.from(Order.class); q.select(order.get("shippingAddress"). #060;String #062;get("state")); CriteriaQuery #060;Product #062; q2 = cb.createQuery(Product.class); q2.select(q2.from(Order.class) .join("items") . #060;Item,Product #062;join("product"));true +
+
true
PERSISTENCE:JAVADOC:1099__OLDPathjakarta.persistence.criteria.Path.get
+ + ( + String + ) +
Create a path corresponding to the referenced attribute. Note: Applications using the string-based API may need to specify the type resulting from the get operation in order to avoid the use of Path variables. For example: CriteriaQuery #060;Person #062; q = cb.createQuery(Person.class); Root #060;Person #062; p = q.from(Person.class); q.select(p) .where(cb.isMember("joe", p. #060;Set #060;String #062; #062;get("nicknames"))); rather than: CriteriaQuery #060;Person #062; q = cb.createQuery(Person.class); Root #060;Person #062; p = q.from(Person.class); Path #060;Set #060;String #062; #062; nicknames = p.get("nicknames"); q.select(p) .where(cb.isMember("joe", nicknames));true +
+
true
PERSISTENCE:JAVADOC:3466__OLDMapjakarta.persistence.AttributeNode.getKeySubgraphs
+
Return the Map #060;Class, Subgraph #062; of subgraphs associated with this attribute node's map key.true +
+
true
PERSISTENCE:JAVADOC:3467__OLDMapjakarta.persistence.AttributeNode.getSubgraphs
+
Return the Map #060;Class, Subgraph #062; of subgraphs associated with this attribute node.true +
+
true
PERSISTENCE:JAVADOC:1JoinColumn[]jakarta.persistence.AssociationOverride.joinColumns
+
The join column(s) being mapped to the persistent attribute(s). The joinColumns elements must be specified if a foreign key mapping is used in the overriding of the mapping of the relationship. The joinColumns element must not be specified if a join table is used in the overriding of the mapping of the relationship.true +
+
true
PERSISTENCE:JAVADOC:2Stringjakarta.persistence.AssociationOverride.name
+
(Required) The name of the relationship property whose mapping is being overridden if property-based access is being used, or the name of the relationship field if field-based access is used.true +
+
true
PERSISTENCE:JAVADOC:3AssociationOverride[]jakarta.persistence.AssociationOverrides.value
+
(Required) The association override mappings that are to be applied to the relationship field or property .true +
+
true
PERSISTENCE:JAVADOC:4Columnjakarta.persistence.AttributeOverride.column
+
(Required) The column that is being mapped to the persistent attribute. The mapping type will remain the same as is defined in the embeddable class or mapped superclass.true +
+
true
PERSISTENCE:JAVADOC:5Stringjakarta.persistence.AttributeOverride.name
+
(Required) The name of the property whose mapping is being overridden if property-based access is being used, or the name of the field if field-based access is used.true +
+
true
PERSISTENCE:JAVADOC:6AttributeOverride[]jakarta.persistence.AttributeOverrides.value
+
(Required) One or more field or property mapping overrides.true +
+
true
PERSISTENCE:JAVADOC:7FetchTypejakarta.persistence.Basic.fetch
+
(Optional) Defines whether the value of the field or property should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the value must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. If not specified, defaults to EAGER.true +
+
true
PERSISTENCE:JAVADOC:8booleanjakarta.persistence.Basic.optional
+
(Optional) Defines whether the value of the field or property may be null. This is a hint and is disregarded for primitive types; it may be used in schema generation. If not specified, defaults to true.true +
+
true
PERSISTENCE:JAVADOC:9CascadeTypejakarta.persistence.CascadeType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:10CascadeType[]jakarta.persistence.CascadeType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:11Stringjakarta.persistence.Column.columnDefinition
+
(Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to the generated SQL to create a column of the inferred type.false +
+
true
PERSISTENCE:JAVADOC:12booleanjakarta.persistence.Column.insertable
+
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.true +
+
true
PERSISTENCE:JAVADOC:13intjakarta.persistence.Column.length
+
(Optional) The column length. (Applies only if a string-valued column is used.)true +
+
true
PERSISTENCE:JAVADOC:14Stringjakarta.persistence.Column.name
+
(Optional) The name of the column. Defaults to the property or field name.true +
+
true
PERSISTENCE:JAVADOC:15booleanjakarta.persistence.Column.nullable
+
(Optional) Whether the database column is nullable.true +
+
true
PERSISTENCE:JAVADOC:16intjakarta.persistence.Column.precision
+
(Optional) The precision for a decimal (exact numeric) column. (Applies only if a decimal column is used.) Value must be set by developer if used when generating the DDL for the column.true +
+
true
PERSISTENCE:JAVADOC:17intjakarta.persistence.Column.scale
+
(Optional) The scale for a decimal (exact numeric) column. (Applies only if a decimal column is used.)true +
+
true
PERSISTENCE:JAVADOC:18Stringjakarta.persistence.Column.table
+
(Optional) The name of the table that contains the column. If absent the column is assumed to be in the primary table.true +
+
true
PERSISTENCE:JAVADOC:19booleanjakarta.persistence.Column.unique
+
(Optional) Whether the column is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint corresponds to only a single column. This constraint applies in addition to any constraint entailed by primary key mapping and to constraints specified at the table level.true +
+
true
PERSISTENCE:JAVADOC:20booleanjakarta.persistence.Column.updatable
+
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.true +
+
true
PERSISTENCE:JAVADOC:21Stringjakarta.persistence.ColumnResult.name
+
(Required) The name of a column in the SELECT clause of a SQL querytrue +
+
true
PERSISTENCE:JAVADOC:22Stringjakarta.persistence.DiscriminatorColumn.columnDefinition
+
(Optional) The SQL fragment that is used when generating the DDL for the discriminator column. Defaults to the provider-generated SQL to create a column of the specified discriminator type.false +
+
true
PERSISTENCE:JAVADOC:23DiscriminatorTypejakarta.persistence.DiscriminatorColumn.discriminatorType
+
(Optional) The type of object/column to use as a class discriminator. Defaults to DiscriminatorType#STRING DiscriminatorType.STRING.true +
+
true
PERSISTENCE:JAVADOC:24intjakarta.persistence.DiscriminatorColumn.length
+
(Optional) The column length for String-based discriminator types. Ignored for other discriminator types.false +
+
true
PERSISTENCE:JAVADOC:25Stringjakarta.persistence.DiscriminatorColumn.name
+
(Optional) The name of column to be used for the discriminator.false +
+
true
PERSISTENCE:JAVADOC:26DiscriminatorTypejakarta.persistence.DiscriminatorType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:27DiscriminatorType[]jakarta.persistence.DiscriminatorType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:28Stringjakarta.persistence.DiscriminatorValue.value
+
(Optional) The value that indicates that the row is an entity of the annotated entity type. If the DiscriminatorValue annotation is not specified and a discriminator column is used, a provider-specific function will be used to generate a value representing the entity type. If the DiscriminatorType is STRING, the discriminator value default is the entity name.true +
+
true
PERSISTENCE:JAVADOC:29Stringjakarta.persistence.Entity.name
+
(Optional) The entity name. Defaults to the unqualified name of the entity class. This name is used to refer to the entity in queries. The name must not be a reserved literal in the Jakarta Persistence query language.true +
+
true
PERSISTENCE:JAVADOC:30EntityExistsExceptionjakarta.persistence.EntityExistsException.EntityExistsException
+
Constructs a new EntityExistsException exception with null as its detail message.true +
+
true
PERSISTENCE:JAVADOC:31EntityExistsExceptionjakarta.persistence.EntityExistsException.EntityExistsException
+ + ( + String + ) +
Constructs a new EntityExistsException exception with the specified detail message.true +
+
true
PERSISTENCE:JAVADOC:32EntityExistsExceptionjakarta.persistence.EntityExistsException.EntityExistsException
+ + ( + String + ,
Throwable + ) +
Constructs a new EntityExistsException exception with the specified detail message and cause.true +
+
true
PERSISTENCE:JAVADOC:33EntityExistsExceptionjakarta.persistence.EntityExistsException.EntityExistsException
+ + ( + Throwable + ) +
Constructs a new EntityExistsException exception with the specified cause.true +
+
true
PERSISTENCE:JAVADOC:34Class[]jakarta.persistence.EntityListeners.value
+
The callback listener classestrue +
+
true
PERSISTENCE:JAVADOC:35voidjakarta.persistence.EntityManager.clear
+
Clear the persistence context, causing all managed entities to become detached. Changes made to entities that have not been flushed to the database will not be persisted.true +
+
true
PERSISTENCE:JAVADOC:36voidjakarta.persistence.EntityManager.close
+
Close an application-managed entity manager. After the close method has been invoked, all methods on the EntityManager instance and any Query, TypedQuery, and StoredProcedureQuery objects obtained from it will throw the IllegalStateException except for getProperties, getTransaction, and isOpen (which will return false). If this method is called when the entity manager is joined to an active transaction, the persistence context remains managed until the transaction completes.true +
+
true
PERSISTENCE:JAVADOC:37booleanjakarta.persistence.EntityManager.contains
+ + ( + Object + ) +
Check if the instance is a managed entity instance belonging to the current persistence context.true +
+
true
PERSISTENCE:JAVADOC:38Queryjakarta.persistence.EntityManager.createNamedQuery
+ + ( + String + ) +
Create an instance of Query for executing a named query (in the Jakarta Persistence query language or in native SQL).true +
+
true
PERSISTENCE:JAVADOC:39Queryjakarta.persistence.EntityManager.createNativeQuery
+ + ( + String + ) +
Create an instance of Query for executing a native SQL statement, e.g., for update or delete. If the query is not an update or delete query, query execution will result in each row of the SQL result being returned as a result of type Object[] (or a result of type Object if there is only one column in the select list.) Column values are returned in the order of their appearance in the select list and default JDBC type mappings are applied.true +
+
true
PERSISTENCE:JAVADOC:40Queryjakarta.persistence.EntityManager.createNativeQuery
+ + ( + String + ,
Class + ) +
Create an instance of Query for executing a native SQL query.true +
+
true
PERSISTENCE:JAVADOC:41Queryjakarta.persistence.EntityManager.createNativeQuery
+ + ( + String + ,
String + ) +
Create an instance of Query for executing a native SQL query.true +
+
true
PERSISTENCE:JAVADOC:42Queryjakarta.persistence.EntityManager.createQuery
+ + ( + String + ) +
Create an instance of Query for executing a Jakarta Persistence query language statement.true +
+
true
PERSISTENCE:JAVADOC:43Objectjakarta.persistence.EntityManager.find
+ + ( + Class + ,
Object + ) +
Find by primary key. Search for an entity of the specified class and primary key. If the entity instance is contained in the persistence context, it is returned from there.true +
+
true
PERSISTENCE:JAVADOC:44voidjakarta.persistence.EntityManager.flush
+
Synchronize the persistence context to the underlying database.true +
+
true
PERSISTENCE:JAVADOC:45Objectjakarta.persistence.EntityManager.getDelegate
+
Return the underlying provider object for the EntityManager, if available. The result of this method is implementation specific. The unwrap method is to be preferred for new applications.true +
+
false
PERSISTENCE:JAVADOC:46FlushModeTypejakarta.persistence.EntityManager.getFlushMode
+
Get the flush mode that applies to all objects contained in the persistence context.true +
+
true
PERSISTENCE:JAVADOC:47Objectjakarta.persistence.EntityManager.getReference
+ + ( + Class + ,
Object + ) +
Get an instance, whose state may be lazily fetched. If the requested instance does not exist in the database, the EntityNotFoundException is thrown when the instance state is first accessed. (The persistence provider runtime is permitted to throw the EntityNotFoundException when getReference is called.) The application should not expect that the instance state will be available upon detachment, unless it was accessed by the application while the entity manager was open.true +
+
true
PERSISTENCE:JAVADOC:48EntityTransactionjakarta.persistence.EntityManager.getTransaction
+
Return the resource-level EntityTransaction object. The EntityTransaction instance may be used serially to begin and commit multiple transactions.true +
+
true
PERSISTENCE:JAVADOC:49booleanjakarta.persistence.EntityManager.isOpen
+
Determine whether the entity manager is open.true +
+
true
PERSISTENCE:JAVADOC:50voidjakarta.persistence.EntityManager.joinTransaction
+
Indicate to the entity manager that a JTA transaction is active and join the persistence context to it. This method should be called on a JTA application managed entity manager that was created outside the scope of the active transaction or on an entity manager of type SynchronizationType.UNSYNCHRONIZED to associate it with the current JTA transaction.true +
+
true
PERSISTENCE:JAVADOC:51voidjakarta.persistence.EntityManager.lock
+ + ( + Object + ,
LockModeType + ) +
Lock an entity instance that is contained in the persistence context with the specified lock mode type. If a pessimistic lock mode type is specified and the entity contains a version attribute, the persistence provider must also perform optimistic version checks when obtaining the database lock. If these checks fail, the OptimisticLockException will be thrown. If the lock mode type is pessimistic and the entity instance is found but cannot be locked: the PessimisticLockException will be thrown if the database locking failure causes transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollbacktrue +
+
true
PERSISTENCE:JAVADOC:52Objectjakarta.persistence.EntityManager.merge
+ + ( + Object + ) +
Merge the state of the given entity into the current persistence context.true +
+
true
PERSISTENCE:JAVADOC:53voidjakarta.persistence.EntityManager.persist
+ + ( + Object + ) +
Make an instance managed and persistent.true +
+
true
PERSISTENCE:JAVADOC:54voidjakarta.persistence.EntityManager.refresh
+ + ( + Object + ) +
Refresh the state of the instance from the database, overwriting changes made to the entity, if any.true +
+
true
PERSISTENCE:JAVADOC:55voidjakarta.persistence.EntityManager.remove
+ + ( + Object + ) +
Remove the entity instance.true +
+
true
PERSISTENCE:JAVADOC:56voidjakarta.persistence.EntityManager.setFlushMode
+ + ( + FlushModeType + ) +
Set the flush mode that applies to all objects contained in the persistence context.true +
+
true
PERSISTENCE:JAVADOC:57voidjakarta.persistence.EntityManagerFactory.close
+
Close the factory, releasing any resources that it holds. After a factory instance has been closed, all methods invoked on it will throw the IllegalStateException, except for isOpen, which will return false. Once an EntityManagerFactory has been closed, all its entity managers are considered to be in the closed state.true +
+
true
PERSISTENCE:JAVADOC:58EntityManagerjakarta.persistence.EntityManagerFactory.createEntityManager
+
Create a new application-managed EntityManager. This method returns a new EntityManager instance each time it is invoked. The isOpen method will return true on the returned instance.true +
+
true
PERSISTENCE:JAVADOC:59EntityManagerjakarta.persistence.EntityManagerFactory.createEntityManager
+ + ( + Map + ) +
Create a new application-managed EntityManager with the specified Map of properties. This method returns a new EntityManager instance each time it is invoked. The isOpen method will return true on the returned instance.true +
+
true
PERSISTENCE:JAVADOC:60booleanjakarta.persistence.EntityManagerFactory.isOpen
+
Indicates whether the factory is open. Returns true until the factory has been closed.true +
+
true
PERSISTENCE:JAVADOC:61EntityNotFoundExceptionjakarta.persistence.EntityNotFoundException.EntityNotFoundException
+
Constructs a new EntityNotFoundException exception with null as its detail message.true +
+
true
PERSISTENCE:JAVADOC:62EntityNotFoundExceptionjakarta.persistence.EntityNotFoundException.EntityNotFoundException
+ + ( + String + ) +
Constructs a new EntityNotFoundException exception with the specified detail message.true +
+
true
PERSISTENCE:JAVADOC:63Stringjakarta.persistence.EntityResult.discriminatorColumn
+
Specifies the column name (or alias) of the column in the SELECT list that is used to determine the type of the entity instance.true +
+
true
PERSISTENCE:JAVADOC:64Classjakarta.persistence.EntityResult.entityClass
+
The class of the result.true +
+
true
PERSISTENCE:JAVADOC:65FieldResult[]jakarta.persistence.EntityResult.fields
+
Maps the columns specified in the SELECT list of the query to the properties or fields of the entity class.true +
+
true
PERSISTENCE:JAVADOC:66voidjakarta.persistence.EntityTransaction.begin
+
Start a resource transaction.true +
+
true
PERSISTENCE:JAVADOC:67voidjakarta.persistence.EntityTransaction.commit
+
Commit the current resource transaction, writing any unflushed changes to the database.true +
+
true
PERSISTENCE:JAVADOC:68booleanjakarta.persistence.EntityTransaction.getRollbackOnly
+
Determine whether the current resource transaction has been marked for rollback.true +
+
true
PERSISTENCE:JAVADOC:69booleanjakarta.persistence.EntityTransaction.isActive
+
Indicate whether a resource transaction is in progress.true +
+
true
PERSISTENCE:JAVADOC:70voidjakarta.persistence.EntityTransaction.rollback
+
Roll back the current resource transaction.true +
+
true
PERSISTENCE:JAVADOC:71voidjakarta.persistence.EntityTransaction.setRollbackOnly
+
Mark the current resource transaction so that the only possible outcome of the transaction is for the transaction to be rolled back.true +
+
true
PERSISTENCE:JAVADOC:72EnumTypejakarta.persistence.Enumerated.value
+
(Optional) The type used in mapping an enum type.true +
+
true
PERSISTENCE:JAVADOC:73EnumTypejakarta.persistence.EnumType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:74EnumType[]jakarta.persistence.EnumType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:75FetchTypejakarta.persistence.FetchType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:76FetchType[]jakarta.persistence.FetchType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:77Stringjakarta.persistence.FieldResult.column
+
Name of the column in the SELECT clause - i.e., column aliases, if applicable.true +
+
true
PERSISTENCE:JAVADOC:78Stringjakarta.persistence.FieldResult.name
+
Name of the persistent field or property of the class.true +
+
true
PERSISTENCE:JAVADOC:79FlushModeTypejakarta.persistence.FlushModeType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:80FlushModeType[]jakarta.persistence.FlushModeType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:81Stringjakarta.persistence.GeneratedValue.generator
+
(Optional) The name of the primary key generator to use as specified in the SequenceGenerator or TableGenerator annotation. Defaults to the id generator supplied by persistence provider.true +
+
true
PERSISTENCE:JAVADOC:82GenerationTypejakarta.persistence.GeneratedValue.strategy
+
(Optional) The primary key generation strategy that the persistence provider must use to generate the annotated entity primary key.true +
+
true
PERSISTENCE:JAVADOC:83GenerationTypejakarta.persistence.GenerationType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:84GenerationType[]jakarta.persistence.GenerationType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:85Classjakarta.persistence.IdClass.value
+
Primary key classtrue +
+
true
PERSISTENCE:JAVADOC:86InheritanceTypejakarta.persistence.Inheritance.strategy
+
The strategy to be used for the entity inheritance hierarchy.true +
+
true
PERSISTENCE:JAVADOC:87InheritanceTypejakarta.persistence.InheritanceType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:88InheritanceType[]jakarta.persistence.InheritanceType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:89Stringjakarta.persistence.JoinColumn.columnDefinition
+
(Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to the generated SQL for the column.false +
+
true
PERSISTENCE:JAVADOC:90booleanjakarta.persistence.JoinColumn.insertable
+
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.true +
+
true
PERSISTENCE:JAVADOC:91Stringjakarta.persistence.JoinColumn.name
+
(Optional) The name of the foreign key column. The table in which it is found depends upon the context. If the join is for a OneToOne or ManyToOne mapping using a foreign key mapping strategy, the foreign key column is in the table of the source entity or embeddable. If the join is for a unidirectional OneToMany mapping using a foreign key mapping strategy, the foreign key is in the table of the target entity. If the join is for a ManyToMany mapping or for a OneToOne or bidirectional ManyToOne/OneToMany mapping using a join table, the foreign key is in a join table. If the join is for an element collection, the foreign key is in a collection table. Default (only applies if a single join column is used): The concatenation of the following: the name of the referencing relationship property or field of the referencing entity or embeddable class; "_"; the name of the referenced primary key column. If there is no such referencing relationship property or field in the entity, or if the join is for an element collection, the join column name is formed as the concatenation of the following: the name of the entity; "_"; the name of the referenced primary key column.true +
+
true
PERSISTENCE:JAVADOC:92booleanjakarta.persistence.JoinColumn.nullable
+
(Optional) Whether the foreign key column is nullable.true +
+
true
PERSISTENCE:JAVADOC:93Stringjakarta.persistence.JoinColumn.referencedColumnName
+
(Optional) The name of the column referenced by this foreign key column. When used with entity relationship mappings other than the cases described here, the referenced column is in the table of the target entity. When used with a unidirectional OneToMany foreign key mapping, the referenced column is in the table of the source entity. When used inside a JoinTable annotation, the referenced key column is in the entity table of the owning entity, or inverse entity if the join is part of the inverse join definition. When used in a CollectionTable mapping, the referenced column is in the table of the entity containing the collection. Default (only applies if single join column is being used): The same name as the primary key column of the referenced table.true +
+
true
PERSISTENCE:JAVADOC:94Stringjakarta.persistence.JoinColumn.table
+
(Optional) The name of the table that contains the column. If a table is not specified, the column is assumed to be in the primary table of the applicable entity. Default: If the join is for a OneToOne or ManyToOne mapping using a foreign key mapping strategy, the name of the table of the source entity or embeddable. If the join is for a unidirectional OneToMany mapping using a foreign key mapping strategy, the name of the table of the target entity. If the join is for a ManyToMany mapping or for a OneToOne or bidirectional ManyToOne/OneToMany mapping using a join table, the name of the join table. If the join is for an element collection, the name of the collection table.true +
+
true
PERSISTENCE:JAVADOC:95booleanjakarta.persistence.JoinColumn.unique
+
(Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint is only a single field. It is not necessary to explicitly specify this for a join column that corresponds to a primary key that is part of a foreign key.false +
+
true
PERSISTENCE:JAVADOC:96booleanjakarta.persistence.JoinColumn.updatable
+
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.true +
+
true
PERSISTENCE:JAVADOC:97JoinColumn[]jakarta.persistence.JoinColumns.value
+
The join columns that map the relationship.true +
+
true
PERSISTENCE:JAVADOC:98Stringjakarta.persistence.JoinTable.catalog
+
(Optional) The catalog of the table. Defaults to the default catalog.true +
+
false
PERSISTENCE:JAVADOC:99JoinColumn[]jakarta.persistence.JoinTable.inverseJoinColumns
+
(Optional) The foreign key columns of the join table which reference the primary table of the entity that does not own the association. (I.e. the inverse side of the association). Uses the same defaults as for JoinColumn.true +
+
true
PERSISTENCE:JAVADOC:100JoinColumn[]jakarta.persistence.JoinTable.joinColumns
+
(Optional) The foreign key columns of the join table which reference the primary table of the entity owning the association. (I.e. the owning side of the association). Uses the same defaults as for JoinColumn.true +
+
true
PERSISTENCE:JAVADOC:101Stringjakarta.persistence.JoinTable.name
+
(Optional) The name of the join table. Defaults to the concatenated names of the two associated primary entity tables, separated by an underscore.true +
+
true
PERSISTENCE:JAVADOC:102Stringjakarta.persistence.JoinTable.schema
+
(Optional) The schema of the table. Defaults to the default schema for user.true +
+
true
PERSISTENCE:JAVADOC:103UniqueConstraint[]jakarta.persistence.JoinTable.uniqueConstraints
+
(Optional) Unique constraints that are to be placed on the table. These are only used if table generation is in effect. Defaults to no additional constraints.false +
+
true
PERSISTENCE:JAVADOC:104LockModeTypejakarta.persistence.LockModeType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:105LockModeType[]jakarta.persistence.LockModeType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:106CascadeType[]jakarta.persistence.ManyToMany.cascade
+
(Optional) The operations that must be cascaded to the target of the association. When the target collection is a java.util.Map java.util.Map, the cascade element applies to the map value. Defaults to no operations being cascaded.true +
+
true
PERSISTENCE:JAVADOC:107FetchTypejakarta.persistence.ManyToMany.fetch
+
(Optional) Whether the association should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entities must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime.true +
+
true
PERSISTENCE:JAVADOC:108Stringjakarta.persistence.ManyToMany.mappedBy
+
The field that owns the relationship. Required unless the relationship is unidirectional.true +
+
true
PERSISTENCE:JAVADOC:109Classjakarta.persistence.ManyToMany.targetEntity
+
(Optional) The entity class that is the target of the association. Optional only if the collection-valued relationship property is defined using Java generics. Must be specified otherwise. Defaults to the parameterized type of the collection when defined using generics.true +
+
true
PERSISTENCE:JAVADOC:110CascadeType[]jakarta.persistence.ManyToOne.cascade
+
(Optional) The operations that must be cascaded to the target of the association. By default no operations are cascaded.true +
+
true
PERSISTENCE:JAVADOC:111FetchTypejakarta.persistence.ManyToOne.fetch
+
(Optional) Whether the association should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime.true +
+
true
PERSISTENCE:JAVADOC:112booleanjakarta.persistence.ManyToOne.optional
+
(Optional) Whether the association is optional. If set to false then a non-null relationship must always exist.true +
+
true
PERSISTENCE:JAVADOC:113Classjakarta.persistence.ManyToOne.targetEntity
+
(Optional) The entity class that is the target of the association. Defaults to the type of the field or property that stores the association.true +
+
true
PERSISTENCE:JAVADOC:114Stringjakarta.persistence.MapKey.name
+
(Optional) The name of the persistent field or property of the associated entity that is used as the map key. Default: If the name element is not specified, the primary key of the associated entity is used as the map key. If the primary key is a composite primary key and is mapped as IdClass, an instance of the primary key class is used as the key.true +
+
true
PERSISTENCE:JAVADOC:115NamedNativeQuery[]jakarta.persistence.NamedNativeQueries.value
+
(Required) Array of NamedNativeQuery annotations.true +
+
true
PERSISTENCE:JAVADOC:116QueryHint[]jakarta.persistence.NamedNativeQuery.hints
+
Query properties and hints. (May include vendor-specific query hints.)true +
+
false
PERSISTENCE:JAVADOC:117Stringjakarta.persistence.NamedNativeQuery.name
+
The name used to refer to the query with the EntityManager methods that create query objects.true +
+
true
PERSISTENCE:JAVADOC:118Stringjakarta.persistence.NamedNativeQuery.query
+
The SQL query string.true +
+
true
PERSISTENCE:JAVADOC:119Classjakarta.persistence.NamedNativeQuery.resultClass
+
The class of the result.true +
+
true
PERSISTENCE:JAVADOC:120Stringjakarta.persistence.NamedNativeQuery.resultSetMapping
+
The name of a SqlResultSetMapping, as defined in metadata.true +
+
true
PERSISTENCE:JAVADOC:121NamedQuery[]jakarta.persistence.NamedQueries.value
+
(Required) An array of NamedQuery annotations.true +
+
true
PERSISTENCE:JAVADOC:122QueryHint[]jakarta.persistence.NamedQuery.hints
+
(Optional) Query properties and hints. May include vendor-specific query hints.true +
+
false
PERSISTENCE:JAVADOC:123Stringjakarta.persistence.NamedQuery.name
+
(Required) The name used to refer to the query with the EntityManager methods that create query objects.true +
+
true
PERSISTENCE:JAVADOC:124Stringjakarta.persistence.NamedQuery.query
+
(Required) The query string in the Jakarta Persistence query language.true +
+
true
PERSISTENCE:JAVADOC:125NonUniqueResultExceptionjakarta.persistence.NonUniqueResultException.NonUniqueResultException
+
Constructs a new NonUniqueResultException exception with null as its detail message.true +
+
true
PERSISTENCE:JAVADOC:126NonUniqueResultExceptionjakarta.persistence.NonUniqueResultException.NonUniqueResultException
+ + ( + String + ) +
Constructs a new NonUniqueResultException exception with the specified detail message.true +
+
true
PERSISTENCE:JAVADOC:127NoResultExceptionjakarta.persistence.NoResultException.NoResultException
+
Constructs a new NoResultException exception with null as its detail message.true +
+
true
PERSISTENCE:JAVADOC:128NoResultExceptionjakarta.persistence.NoResultException.NoResultException
+ + ( + String + ) +
Constructs a new NoResultException exception with the specified detail message.true +
+
true
PERSISTENCE:JAVADOC:129CascadeType[]jakarta.persistence.OneToMany.cascade
+
(Optional) The operations that must be cascaded to the target of the association. Defaults to no operations being cascaded. When the target collection is a java.util.Map java.util.Map, the cascade element applies to the map value.true +
+
true
PERSISTENCE:JAVADOC:130FetchTypejakarta.persistence.OneToMany.fetch
+
(Optional) Whether the association should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entities must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime.true +
+
true
PERSISTENCE:JAVADOC:131Stringjakarta.persistence.OneToMany.mappedBy
+
The field that owns the relationship. Required unless the relationship is unidirectional.true +
+
true
PERSISTENCE:JAVADOC:132Classjakarta.persistence.OneToMany.targetEntity
+
(Optional) The entity class that is the target of the association. Optional only if the collection property is defined using Java generics. Must be specified otherwise. Defaults to the parameterized type of the collection when defined using generics.true +
+
true
PERSISTENCE:JAVADOC:133CascadeType[]jakarta.persistence.OneToOne.cascade
+
(Optional) The operations that must be cascaded to the target of the association. By default no operations are cascaded.true +
+
true
PERSISTENCE:JAVADOC:134FetchTypejakarta.persistence.OneToOne.fetch
+
(Optional) Whether the association should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime.true +
+
true
PERSISTENCE:JAVADOC:135Stringjakarta.persistence.OneToOne.mappedBy
+
(Optional) The field that owns the relationship. This element is only specified on the inverse (non-owning) side of the association.true +
+
true
PERSISTENCE:JAVADOC:136booleanjakarta.persistence.OneToOne.optional
+
(Optional) Whether the association is optional. If set to false then a non-null relationship must always exist.true +
+
true
PERSISTENCE:JAVADOC:137Classjakarta.persistence.OneToOne.targetEntity
+
(Optional) The entity class that is the target of the association. Defaults to the type of the field or property that stores the association.true +
+
true
PERSISTENCE:JAVADOC:138Objectjakarta.persistence.OptimisticLockException.getEntity
+
Returns the entity that caused this exception.true +
+
true
PERSISTENCE:JAVADOC:139OptimisticLockExceptionjakarta.persistence.OptimisticLockException.OptimisticLockException
+
Constructs a new OptimisticLockException exception with null as its detail message.true +
+
true
PERSISTENCE:JAVADOC:140OptimisticLockExceptionjakarta.persistence.OptimisticLockException.OptimisticLockException
+ + ( + String + ) +
Constructs a new OptimisticLockException exception with the specified detail message.true +
+
true
PERSISTENCE:JAVADOC:141OptimisticLockExceptionjakarta.persistence.OptimisticLockException.OptimisticLockException
+ + ( + String + ,
Throwable + ) +
Constructs a new OptimisticLockException exception with the specified detail message and cause.true +
+
true
PERSISTENCE:JAVADOC:142OptimisticLockExceptionjakarta.persistence.OptimisticLockException.OptimisticLockException
+ + ( + Throwable + ) +
Constructs a new OptimisticLockException exception with the specified cause.true +
+
true
PERSISTENCE:JAVADOC:143OptimisticLockExceptionjakarta.persistence.OptimisticLockException.OptimisticLockException
+ + ( + Object + ) +
Constructs a new OptimisticLockException exception with the specified entity.true +
+
true
PERSISTENCE:JAVADOC:144OptimisticLockExceptionjakarta.persistence.OptimisticLockException.OptimisticLockException
+ + ( + String + ,
Throwable + ,
Object + ) +
Constructs a new OptimisticLockException exception with the specified detail message, cause, and entity.true +
+
true
PERSISTENCE:JAVADOC:145Stringjakarta.persistence.OrderBy.value
+
An orderby_list. Specified as follows: orderby_list::= orderby_item [,orderby_item]* orderby_item::= [property_or_field_name] [ASC | DESC] If ASC or DESC is not specified, ASC (ascending order) is assumed. If the ordering element is not specified, ordering by the primary key of the associated entity is assumed.true +
+
true
PERSISTENCE:JAVADOC:146EntityManagerFactoryjakarta.persistence.Persistence.createEntityManagerFactory
+ + ( + String + ) +
Create and return an EntityManagerFactory for the named persistence unit.true +
+
true
PERSISTENCE:JAVADOC:147EntityManagerFactoryjakarta.persistence.Persistence.createEntityManagerFactory
+ + ( + String + ,
Map + ) +
Create and return an EntityManagerFactory for the named persistence unit using the given properties.true +
+
false
PERSISTENCE:JAVADOC:148Persistencejakarta.persistence.Persistence.Persistence
+
+
+
true +
+
false
PERSISTENCE:JAVADOC:149Stringjakarta.persistence.PersistenceContext.name
+
(Optional) The name by which the entity manager is to be accessed in the environment referencing context; not needed when dependency injection is used.true +
+
true
PERSISTENCE:JAVADOC:150PersistenceProperty[]jakarta.persistence.PersistenceContext.properties
+
(Optional) Properties for the container or persistence provider. Vendor specific properties may be included in this set of properties. Properties that are not recognized by a vendor are ignored.true +
+
false
PERSISTENCE:JAVADOC:151PersistenceContextTypejakarta.persistence.PersistenceContext.type
+
(Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used.true +
+
true
PERSISTENCE:JAVADOC:152Stringjakarta.persistence.PersistenceContext.unitName
+
(Optional) The name of the persistence unit as defined in the persistence.xml file. If the unitName element is specified, the persistence unit for the entity manager that is accessible in JNDI must have the same name.true +
+
true
PERSISTENCE:JAVADOC:153PersistenceContext[]jakarta.persistence.PersistenceContexts.value
+
(Required) One or more PersistenceContext annotations.true +
+
true
PERSISTENCE:JAVADOC:154PersistenceContextTypejakarta.persistence.PersistenceContextType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:155PersistenceContextType[]jakarta.persistence.PersistenceContextType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:156PersistenceExceptionjakarta.persistence.PersistenceException.PersistenceException
+
Constructs a new PersistenceException exception with null as its detail message.true +
+
true
PERSISTENCE:JAVADOC:157PersistenceExceptionjakarta.persistence.PersistenceException.PersistenceException
+ + ( + String + ) +
Constructs a new PersistenceException exception with the specified detail message.true +
+
true
PERSISTENCE:JAVADOC:158PersistenceExceptionjakarta.persistence.PersistenceException.PersistenceException
+ + ( + String + ,
Throwable + ) +
Constructs a new PersistenceException exception with the specified detail message and cause.true +
+
true
PERSISTENCE:JAVADOC:159PersistenceExceptionjakarta.persistence.PersistenceException.PersistenceException
+ + ( + Throwable + ) +
Constructs a new PersistenceException exception with the specified cause.true +
+
true
PERSISTENCE:JAVADOC:160Stringjakarta.persistence.PersistenceProperty.name
+
The name of the propertytrue +
+
false
PERSISTENCE:JAVADOC:161Stringjakarta.persistence.PersistenceProperty.value
+
The value of the propertytrue +
+
false
PERSISTENCE:JAVADOC:162Stringjakarta.persistence.PersistenceUnit.name
+
(Optional) The name by which the entity manager factory is to be accessed in the environment referencing context; not needed when dependency injection is used.true +
+
true
PERSISTENCE:JAVADOC:163Stringjakarta.persistence.PersistenceUnit.unitName
+
(Optional) The name of the persistence unit as defined in the persistence.xml file. If specified, the persistence unit for the entity manager factory that is accessible in JNDI must have the same name.true +
+
true
PERSISTENCE:JAVADOC:164PersistenceUnit[]jakarta.persistence.PersistenceUnits.value
+
(Required) One or more PersistenceUnit annotations.true +
+
true
PERSISTENCE:JAVADOC:165Stringjakarta.persistence.PrimaryKeyJoinColumn.columnDefinition
+
(Optional) The SQL fragment that is used when generating the DDL for the column. This should not be specified for a OneToOne primary key association. Defaults to the generated SQL to create a column of the inferred type.false +
+
true
PERSISTENCE:JAVADOC:166Stringjakarta.persistence.PrimaryKeyJoinColumn.name
+
(Optional) The name of the primary key column of the current table. Defaults to the same name as the primary key column of the primary table of the superclass (JOINED mapping strategy); the same name as the primary key column of the primary table (SecondaryTable mapping); or the same name as the primary key column for the table for the referencing entity (OneToOne mapping).true +
+
true
PERSISTENCE:JAVADOC:167Stringjakarta.persistence.PrimaryKeyJoinColumn.referencedColumnName
+
(Optional) The name of the primary key column of the table being joined to. Defaults to the same name as the primary key column of the primary table of the superclass (JOINED mapping strategy); the same name as the primary key column of the primary table (SecondaryTable mapping); or the same name as the primary key column for the table for the referencing entity (OneToOne mapping).true +
+
true
PERSISTENCE:JAVADOC:168PrimaryKeyJoinColumn[]jakarta.persistence.PrimaryKeyJoinColumns.value
+
One or more PrimaryKeyJoinColumn annotations.true +
+
true
PERSISTENCE:JAVADOC:169intjakarta.persistence.Query.executeUpdate
+
Execute an update or delete statement.true +
+
false
PERSISTENCE:JAVADOC:170Listjakarta.persistence.Query.getResultList
+
Execute a SELECT query and return the query results as an untyped List.true +
+
true
PERSISTENCE:JAVADOC:171Objectjakarta.persistence.Query.getSingleResult
+
Execute a SELECT query that returns a single untyped result.true +
+
true
PERSISTENCE:JAVADOC:172Queryjakarta.persistence.Query.setFirstResult
+ + ( + int + ) +
Set the position of the first result to retrieve.true +
+
true
PERSISTENCE:JAVADOC:173Queryjakarta.persistence.Query.setFlushMode
+ + ( + FlushModeType + ) +
Set the flush mode type to be used for the query execution. The flush mode type applies to the query regardless of the flush mode type in use for the entity manager.true +
+
true
PERSISTENCE:JAVADOC:174Queryjakarta.persistence.Query.setHint
+ + ( + String + ,
Object + ) +
Set a query property or hint. The hints elements may be used to specify query properties and hints. Properties defined by this specification must be observed by the provider. Vendor-specific hints that are not recognized by a provider must be silently ignored. Portable applications should not rely on the standard timeout hint. Depending on the database in use and the locking mechanisms used by the provider, this hint may or may not be observed.true +
+
false
PERSISTENCE:JAVADOC:175Queryjakarta.persistence.Query.setMaxResults
+ + ( + int + ) +
Set the maximum number of results to retrieve.true +
+
true
PERSISTENCE:JAVADOC:176Queryjakarta.persistence.Query.setParameter
+ + ( + String + ,
Object + ) +
Bind an argument value to a named parameter.true +
+
true
PERSISTENCE:JAVADOC:177Queryjakarta.persistence.Query.setParameter
+ + ( + String + ,
Date + ,
TemporalType + ) +
Bind an instance of java.util.Date to a named parameter.true +
+
true
PERSISTENCE:JAVADOC:178Queryjakarta.persistence.Query.setParameter
+ + ( + String + ,
Calendar + ,
TemporalType + ) +
Bind an instance of java.util.Calendar to a named parameter.true +
+
true
PERSISTENCE:JAVADOC:179Queryjakarta.persistence.Query.setParameter
+ + ( + int + ,
Object + ) +
Bind an argument value to a positional parameter.true +
+
true
PERSISTENCE:JAVADOC:180Queryjakarta.persistence.Query.setParameter
+ + ( + int + ,
Date + ,
TemporalType + ) +
Bind an instance of java.util.Date to a positional parameter.true +
+
true
PERSISTENCE:JAVADOC:181Queryjakarta.persistence.Query.setParameter
+ + ( + int + ,
Calendar + ,
TemporalType + ) +
Bind an instance of java.util.Calendar to a positional parameter.true +
+
true
PERSISTENCE:JAVADOC:182Stringjakarta.persistence.QueryHint.name
+
Name of the hint.true +
+
false
PERSISTENCE:JAVADOC:183Stringjakarta.persistence.QueryHint.value
+
Value of the hint.true +
+
false
PERSISTENCE:JAVADOC:184RollbackExceptionjakarta.persistence.RollbackException.RollbackException
+
Constructs a new RollbackException exception with null as its detail message.true +
+
true
PERSISTENCE:JAVADOC:185RollbackExceptionjakarta.persistence.RollbackException.RollbackException
+ + ( + String + ) +
Constructs a new RollbackException exception with the specified detail message.true +
+
true
PERSISTENCE:JAVADOC:186RollbackExceptionjakarta.persistence.RollbackException.RollbackException
+ + ( + String + ,
Throwable + ) +
Constructs a new RollbackException exception with the specified detail message and cause.true +
+
true
PERSISTENCE:JAVADOC:187RollbackExceptionjakarta.persistence.RollbackException.RollbackException
+ + ( + Throwable + ) +
Constructs a new RollbackException exception with the specified cause.true +
+
true
PERSISTENCE:JAVADOC:188Stringjakarta.persistence.SecondaryTable.catalog
+
(Optional) The catalog of the table. Defaults to the default catalog.true +
+
false
PERSISTENCE:JAVADOC:189Stringjakarta.persistence.SecondaryTable.name
+
(Required) The name of the table.true +
+
true
PERSISTENCE:JAVADOC:190PrimaryKeyJoinColumn[]jakarta.persistence.SecondaryTable.pkJoinColumns
+
(Optional) The columns that are used to join with the primary table. Defaults to the column(s) of the same name(s) as the primary key column(s) in the primary table.true +
+
true
PERSISTENCE:JAVADOC:191Stringjakarta.persistence.SecondaryTable.schema
+
(Optional) The schema of the table. Defaults to the default schema for user.true +
+
false
PERSISTENCE:JAVADOC:192UniqueConstraint[]jakarta.persistence.SecondaryTable.uniqueConstraints
+
(Optional) Unique constraints that are to be placed on the table. These are typically only used if table generation is in effect. These constraints apply in addition to any constraints specified by the Column and JoinColumn annotations and constraints entailed by primary key mappings. Defaults to no additional constraints.true +
+
true
PERSISTENCE:JAVADOC:193SecondaryTable[]jakarta.persistence.SecondaryTables.value
+
(Required) The secondary tables for an entity.true +
+
true
PERSISTENCE:JAVADOC:194intjakarta.persistence.SequenceGenerator.allocationSize
+
(Optional) The amount to increment by when allocating sequence numbers from the sequence.true +
+
true
PERSISTENCE:JAVADOC:195intjakarta.persistence.SequenceGenerator.initialValue
+
(Optional) The value from which the sequence object is to start generating.true +
+
true
PERSISTENCE:JAVADOC:196Stringjakarta.persistence.SequenceGenerator.name
+
(Required) A unique generator name that can be referenced by one or more classes to be the generator for primary key values.true +
+
true
PERSISTENCE:JAVADOC:197Stringjakarta.persistence.SequenceGenerator.sequenceName
+
(Optional) The name of the database sequence object from which to obtain primary key values. Defaults to a provider-chosen value.true +
+
true
PERSISTENCE:JAVADOC:198ColumnResult[]jakarta.persistence.SqlResultSetMapping.columns
+
Specifies the result set mapping to scalar values.true +
+
true
PERSISTENCE:JAVADOC:199EntityResult[]jakarta.persistence.SqlResultSetMapping.entities
+
Specifies the result set mapping to entities.true +
+
true
PERSISTENCE:JAVADOC:200Stringjakarta.persistence.SqlResultSetMapping.name
+
The name given to the result set mapping, and used to refer to it in the methods of the Query and StoredProcedureQuery APIs.true +
+
true
PERSISTENCE:JAVADOC:201SqlResultSetMapping[]jakarta.persistence.SqlResultSetMappings.value
+
One or more SqlResultSetMapping annotations.true +
+
true
PERSISTENCE:JAVADOC:202Stringjakarta.persistence.Table.catalog
+
(Optional) The catalog of the table. Defaults to the default catalog.true +
+
false
PERSISTENCE:JAVADOC:203Stringjakarta.persistence.Table.name
+
(Optional) The name of the table. Defaults to the entity name.true +
+
true
PERSISTENCE:JAVADOC:204Stringjakarta.persistence.Table.schema
+
(Optional) The schema of the table. Defaults to the default schema for user.true +
+
false
PERSISTENCE:JAVADOC:205UniqueConstraint[]jakarta.persistence.Table.uniqueConstraints
+
(Optional) Unique constraints that are to be placed on the table. These are only used if table generation is in effect. These constraints apply in addition to any constraints specified by the Column and JoinColumn annotations and constraints entailed by primary key mappings. Defaults to no additional constraints.false +
+
true
PERSISTENCE:JAVADOC:206intjakarta.persistence.TableGenerator.allocationSize
+
(Optional) The amount to increment by when allocating id numbers from the generator.true +
+
true
PERSISTENCE:JAVADOC:207Stringjakarta.persistence.TableGenerator.catalog
+
(Optional) The catalog of the table. Defaults to the default catalog.true +
+
false
PERSISTENCE:JAVADOC:208intjakarta.persistence.TableGenerator.initialValue
+
(Optional) The initial value to be used to initialize the column that stores the last value generated.true +
+
true
PERSISTENCE:JAVADOC:209Stringjakarta.persistence.TableGenerator.name
+
(Required) A unique generator name that can be referenced by one or more classes to be the generator for id values.true +
+
true
PERSISTENCE:JAVADOC:210Stringjakarta.persistence.TableGenerator.pkColumnName
+
(Optional) Name of the primary key column in the table. Defaults to a provider-chosen name.true +
+
true
PERSISTENCE:JAVADOC:211Stringjakarta.persistence.TableGenerator.pkColumnValue
+
(Optional) The primary key value in the generator table that distinguishes this set of generated values from others that may be stored in the table. Defaults to a provider-chosen value to store in the primary key column of the generator tabletrue +
+
true
PERSISTENCE:JAVADOC:212Stringjakarta.persistence.TableGenerator.schema
+
(Optional) The schema of the table. Defaults to the default schema for user.true +
+
false
PERSISTENCE:JAVADOC:213Stringjakarta.persistence.TableGenerator.table
+
(Optional) Name of table that stores the generated id values. Defaults to a name chosen by persistence provider.true +
+
true
PERSISTENCE:JAVADOC:214UniqueConstraint[]jakarta.persistence.TableGenerator.uniqueConstraints
+
(Optional) Unique constraints that are to be placed on the table. These are only used if table generation is in effect. These constraints apply in addition to primary key constraints. Defaults to no additional constraints.false +
+
true
PERSISTENCE:JAVADOC:215Stringjakarta.persistence.TableGenerator.valueColumnName
+
(Optional) Name of the column that stores the last value generated. Defaults to a provider-chosen name.true +
+
true
PERSISTENCE:JAVADOC:216TemporalTypejakarta.persistence.Temporal.value
+
The type used in mapping java.util.Date or java.util.Calendar.true +
+
true
PERSISTENCE:JAVADOC:217TemporalTypejakarta.persistence.TemporalType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:218TemporalType[]jakarta.persistence.TemporalType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:219TransactionRequiredExceptionjakarta.persistence.TransactionRequiredException.TransactionRequiredException
+
Constructs a new TransactionRequiredException exception with null as its detail message.true +
+
true
PERSISTENCE:JAVADOC:220TransactionRequiredExceptionjakarta.persistence.TransactionRequiredException.TransactionRequiredException
+ + ( + String + ) +
Constructs a new TransactionRequiredException exception with the specified detail message.true +
+
true
PERSISTENCE:JAVADOC:221String[]jakarta.persistence.UniqueConstraint.columnNames
+
(Required) An array of the column names that make up the constraint.true +
+
false
PERSISTENCE:JAVADOC:300AccessTypejakarta.persistence.Access.value
+
(Required) Specification of field- or property-based access.true +
+
true
PERSISTENCE:JAVADOC:301AccessTypejakarta.persistence.AccessType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:302AccessType[]jakarta.persistence.AccessType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:303JoinTablejakarta.persistence.AssociationOverride.joinTable
+
The join table that maps the relationship. The joinTable element must be specified if a join table is used in the overriding of the mapping of the relationship. The joinTable element must not be specified if a foreign key mapping is used in the overriding of the relationship.true +
+
true
PERSISTENCE:JAVADOC:304booleanjakarta.persistence.Cache.contains
+ + ( + Class + ,
Object + ) +
Whether the cache contains data for the given entity.true +
+
true
PERSISTENCE:JAVADOC:305voidjakarta.persistence.Cache.evict
+ + ( + Class + ,
Object + ) +
Remove the data for the given entity from the cache.true +
+
true
PERSISTENCE:JAVADOC:306voidjakarta.persistence.Cache.evict
+ + ( + Class + ) +
Remove the data for entities of the specified class (and its subclasses) from the cache.true +
+
true
PERSISTENCE:JAVADOC:307voidjakarta.persistence.Cache.evictAll
+
Clear the cache.true +
+
true
PERSISTENCE:JAVADOC:308booleanjakarta.persistence.Cacheable.value
+
(Optional) Whether or not the entity should be cached.true +
+
true
PERSISTENCE:JAVADOC:309CacheRetrieveModejakarta.persistence.CacheRetrieveMode.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:310CacheRetrieveMode[]jakarta.persistence.CacheRetrieveMode.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:311CacheStoreModejakarta.persistence.CacheStoreMode.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:312CacheStoreMode[]jakarta.persistence.CacheStoreMode.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:313Stringjakarta.persistence.CollectionTable.catalog
+
(Optional) The catalog of the table. If not specified, the default catalog is used.true +
+
false
PERSISTENCE:JAVADOC:314JoinColumn[]jakarta.persistence.CollectionTable.joinColumns
+
(Optional) The foreign key columns of the collection table which reference the primary table of the entity. The default only applies if a single join column is used. The default is the same as for JoinColumn (i.e., the concatenation of the following: the name of the entity; "_"; the name of the referenced primary key column.) However, if there is more than one join column, a JoinColumn annotation must be specified for each join column using the JoinColumns annotation. In this case, both the name and the referencedColumnName elements must be specified in each such JoinColumn annotation.true +
+
true
PERSISTENCE:JAVADOC:315Stringjakarta.persistence.CollectionTable.name
+
(Optional) The name of the collection table. If not specified, it defaults to the concatenation of the name of the containing entity and the name of the collection attribute, separated by an underscore.true +
+
true
PERSISTENCE:JAVADOC:316Stringjakarta.persistence.CollectionTable.schema
+
(Optional) The schema of the table. If not specified, the default schema for the user is used.true +
+
false
PERSISTENCE:JAVADOC:317UniqueConstraint[]jakarta.persistence.CollectionTable.uniqueConstraints
+
(Optional) Unique constraints that are to be placed on the table. These are only used if table generation is in effect.true +
+
true
PERSISTENCE:JAVADOC:318FetchTypejakarta.persistence.ElementCollection.fetch
+
(Optional) Whether the collection should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the collection elements must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime.true +
+
true
PERSISTENCE:JAVADOC:319Classjakarta.persistence.ElementCollection.targetClass
+
(Optional) The basic or embeddable class that is the element type of the collection. This element is optional only if the collection field or property is defined using Java generics, and must be specified otherwise. It defaults to the paramterized type of the collection when defined using generics.true +
+
true
PERSISTENCE:JAVADOC:320TypedQueryjakarta.persistence.EntityManager.createNamedQuery
+ + ( + String + ,
Class + ) +
Create an instance of TypedQuery for executing a Jakarta Persistence query language named query. The select list of the query must contain only a single item, which must be assignable to the type specified by the resultClass argument.true +
+
true
PERSISTENCE:JAVADOC:321TypedQueryjakarta.persistence.EntityManager.createQuery
+ + ( + CriteriaQuery + ) +
Create an instance of TypedQuery for executing a criteria query.true +
+
true
PERSISTENCE:JAVADOC:322TypedQueryjakarta.persistence.EntityManager.createQuery
+ + ( + String + ,
Class + ) +
Create an instance of TypedQuery for executing a Jakarta Persistence query language statement. The select list of the query must contain only a single item, which must be assignable to the type specified by the resultClass argument.true +
+
true
PERSISTENCE:JAVADOC:323voidjakarta.persistence.EntityManager.detach
+ + ( + Object + ) +
Remove the given entity from the persistence context, causing a managed entity to become detached. Unflushed changes made to the entity if any (including removal of the entity), will not be synchronized to the database. Entities which previously referenced the detached entity will continue to reference it.true +
+
true
PERSISTENCE:JAVADOC:324Objectjakarta.persistence.EntityManager.find
+ + ( + Class + ,
Object + ,
Map + ) +
Find by primary key, using the specified properties. Search for an entity of the specified class and primary key. If the entity instance is contained in the persistence context, it is returned from there. If a vendor-specific property or hint is not recognized, it is silently ignored.true +
+
true
PERSISTENCE:JAVADOC:325Objectjakarta.persistence.EntityManager.find
+ + ( + Class + ,
Object + ,
LockModeType + ) +
Find by primary key and lock. Search for an entity of the specified class and primary key and lock it with respect to the specified lock type. If the entity instance is contained in the persistence context, it is returned from there, and the effect of this method is the same as if the lock method had been called on the entity. If the entity is found within the persistence context and the lock mode type is pessimistic and the entity has a version attribute, the persistence provider must perform optimistic version checks when obtaining the database lock. If these checks fail, the OptimisticLockException will be thrown. If the lock mode type is pessimistic and the entity instance is found but cannot be locked: the PessimisticLockException will be thrown if the database locking failure causes transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollbacktrue +
+
true
PERSISTENCE:JAVADOC:326Objectjakarta.persistence.EntityManager.find
+ + ( + Class + ,
Object + ,
LockModeType + ,
Map + ) +
Find by primary key and lock, using the specified properties. Search for an entity of the specified class and primary key and lock it with respect to the specified lock type. If the entity instance is contained in the persistence context, it is returned from there. If the entity is found within the persistence context and the lock mode type is pessimistic and the entity has a version attribute, the persistence provider must perform optimistic version checks when obtaining the database lock. If these checks fail, the OptimisticLockException will be thrown. If the lock mode type is pessimistic and the entity instance is found but cannot be locked: the PessimisticLockException will be thrown if the database locking failure causes transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback If a vendor-specific property or hint is not recognized, it is silently ignored. Portable applications should not rely on the standard timeout hint. Depending on the database in use and the locking mechanisms used by the provider, the hint may or may not be observed.true +
+
true
PERSISTENCE:JAVADOC:327CriteriaBuilderjakarta.persistence.EntityManager.getCriteriaBuilder
+
Return an instance of CriteriaBuilder for the creation of CriteriaQuery objects.true +
+
true
PERSISTENCE:JAVADOC:328EntityManagerFactoryjakarta.persistence.EntityManager.getEntityManagerFactory
+
Return the entity manager factory for the entity manager.true +
+
true
PERSISTENCE:JAVADOC:329LockModeTypejakarta.persistence.EntityManager.getLockMode
+ + ( + Object + ) +
Get the current lock mode for the entity instance.true +
+
true
PERSISTENCE:JAVADOC:330Metamodeljakarta.persistence.EntityManager.getMetamodel
+
Return an instance of Metamodel interface for access to the metamodel of the persistence unit.true +
+
true
PERSISTENCE:JAVADOC:331Mapjakarta.persistence.EntityManager.getProperties
+
Get the properties and hints and associated values that are in effect for the entity manager. Changing the contents of the map does not change the configuration in effect.true +
+
true
PERSISTENCE:JAVADOC:332voidjakarta.persistence.EntityManager.lock
+ + ( + Object + ,
LockModeType + ,
Map + ) +
Lock an entity instance that is contained in the persistence context with the specified lock mode type and with specified properties. If a pessimistic lock mode type is specified and the entity contains a version attribute, the persistence provider must also perform optimistic version checks when obtaining the database lock. If these checks fail, the OptimisticLockException will be thrown. If the lock mode type is pessimistic and the entity instance is found but cannot be locked: the PessimisticLockException will be thrown if the database locking failure causes transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback If a vendor-specific property or hint is not recognized, it is silently ignored. Portable applications should not rely on the standard timeout hint. Depending on the database in use and the locking mechanisms used by the provider, the hint may or may not be observed.true +
+
true
PERSISTENCE:JAVADOC:333voidjakarta.persistence.EntityManager.refresh
+ + ( + Object + ,
Map + ) +
Refresh the state of the instance from the database, using the specified properties, and overwriting changes made to the entity, if any. If a vendor-specific property or hint is not recognized, it is silently ignored.true +
+
true
PERSISTENCE:JAVADOC:334voidjakarta.persistence.EntityManager.refresh
+ + ( + Object + ,
LockModeType + ) +
Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type. If the lock mode type is pessimistic and the entity instance is found but cannot be locked: the PessimisticLockException will be thrown if the database locking failure causes transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback.true +
+
true
PERSISTENCE:JAVADOC:335voidjakarta.persistence.EntityManager.refresh
+ + ( + Object + ,
LockModeType + ,
Map + ) +
Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type and with specified properties. If the lock mode type is pessimistic and the entity instance is found but cannot be locked: the PessimisticLockException will be thrown if the database locking failure causes transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback If a vendor-specific property or hint is not recognized, it is silently ignored. Portable applications should not rely on the standard timeout hint. Depending on the database in use and the locking mechanisms used by the provider, the hint may or may not be observed.true +
+
true
PERSISTENCE:JAVADOC:336voidjakarta.persistence.EntityManager.setProperty
+ + ( + String + ,
Object + ) +
Set an entity manager property or hint. If a vendor-specific property or hint is not recognized, it is silently ignored.true +
+
false
PERSISTENCE:JAVADOC:337Objectjakarta.persistence.EntityManager.unwrap
+ + ( + Class + ) +
Return an object of the specified type to allow access to the provider-specific API. If the provider's EntityManager implementation does not support the specified class, the PersistenceException is thrown.true +
+
false
PERSISTENCE:JAVADOC:338Cachejakarta.persistence.EntityManagerFactory.getCache
+
Access the cache that is associated with the entity manager factory (the "second level cache").true +
+
true
PERSISTENCE:JAVADOC:339CriteriaBuilderjakarta.persistence.EntityManagerFactory.getCriteriaBuilder
+
Return an instance of CriteriaBuilder for the creation of CriteriaQuery objects.true +
+
true
PERSISTENCE:JAVADOC:340Metamodeljakarta.persistence.EntityManagerFactory.getMetamodel
+
Return an instance of Metamodel interface for access to the metamodel of the persistence unit.true +
+
true
PERSISTENCE:JAVADOC:341PersistenceUnitUtiljakarta.persistence.EntityManagerFactory.getPersistenceUnitUtil
+
Return interface providing access to utility methods for the persistence unit.true +
+
true
PERSISTENCE:JAVADOC:342Mapjakarta.persistence.EntityManagerFactory.getProperties
+
Get the properties and associated values that are in effect for the entity manager factory. Changing the contents of the map does not change the configuration in effect.true +
+
false
PERSISTENCE:JAVADOC:343Objectjakarta.persistence.LockTimeoutException.getObject
+
Returns the object that caused this exception.true +
+
true
PERSISTENCE:JAVADOC:344LockTimeoutExceptionjakarta.persistence.LockTimeoutException.LockTimeoutException
+
Constructs a new LockTimeoutException exception with null as its detail message.true +
+
true
PERSISTENCE:JAVADOC:345LockTimeoutExceptionjakarta.persistence.LockTimeoutException.LockTimeoutException
+ + ( + String + ) +
Constructs a new LockTimeoutException exception with the specified detail message.true +
+
true
PERSISTENCE:JAVADOC:346LockTimeoutExceptionjakarta.persistence.LockTimeoutException.LockTimeoutException
+ + ( + String + ,
Throwable + ) +
Constructs a new LockTimeoutException exception with the specified detail message and cause.true +
+
true
PERSISTENCE:JAVADOC:347LockTimeoutExceptionjakarta.persistence.LockTimeoutException.LockTimeoutException
+ + ( + Throwable + ) +
Constructs a new LockTimeoutException exception with the specified cause.true +
+
true
PERSISTENCE:JAVADOC:348LockTimeoutExceptionjakarta.persistence.LockTimeoutException.LockTimeoutException
+ + ( + Object + ) +
Constructs a new LockTimeoutException exception with the specified object.true +
+
true
PERSISTENCE:JAVADOC:349LockTimeoutExceptionjakarta.persistence.LockTimeoutException.LockTimeoutException
+ + ( + String + ,
Throwable + ,
Object + ) +
Constructs a new LockTimeoutException exception with the specified detail message, cause, and entity.true +
+
true
PERSISTENCE:JAVADOC:350Classjakarta.persistence.MapKeyClass.value
+
(Required) The type of the map key.true +
+
true
PERSISTENCE:JAVADOC:351Stringjakarta.persistence.MapKeyColumn.columnDefinition
+
(Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to the generated SQL to create a column of the inferred type.true +
+
false
PERSISTENCE:JAVADOC:352booleanjakarta.persistence.MapKeyColumn.insertable
+
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.true +
+
true
PERSISTENCE:JAVADOC:353intjakarta.persistence.MapKeyColumn.length
+
(Optional) The column length. (Applies only if a string-valued column is used.)true +
+
true
PERSISTENCE:JAVADOC:354Stringjakarta.persistence.MapKeyColumn.name
+
(Optional) The name of the map key column. The table in which it is found depends upon the context. If the map key is for an element collection, the map key column is in the collection table for the map value. If the map key is for a ManyToMany entity relationship or for a OneToMany entity relationship using a join table, the map key column is in a join table. If the map key is for a OneToMany entity relationship using a foreign key mapping strategy, the map key column is in the table of the entity that is the value of the map. Defaults to the concatenation of the following: the name of the referencing relationship field or property; "_"; "KEY".true +
+
true
PERSISTENCE:JAVADOC:355booleanjakarta.persistence.MapKeyColumn.nullable
+
(Optional) Whether the database column is nullable.true +
+
true
PERSISTENCE:JAVADOC:356intjakarta.persistence.MapKeyColumn.precision
+
(Optional) The precision for a decimal (exact numeric) column. (Applies only if a decimal column is used.) Default: 0. (The value must be set by the developer.)true +
+
true
PERSISTENCE:JAVADOC:357intjakarta.persistence.MapKeyColumn.scale
+
(Optional) The scale for a decimal (exact numeric) column. (Applies only if a decimal column is used.)true +
+
true
PERSISTENCE:JAVADOC:358Stringjakarta.persistence.MapKeyColumn.table
+
(Optional) The name of the table that contains the column. Defaults: If the map key is for an element collection, the name of the collection table for the map value. If the map key is for a OneToMany or ManyToMany entity relationship using a join table, the name of the join table for the map. If the map key is for a OneToMany entity relationship using a foreign key mapping strategy, the name of the primary table of the entity that is the value of the map.true +
+
true
PERSISTENCE:JAVADOC:359booleanjakarta.persistence.MapKeyColumn.unique
+
(Optional) Whether the column is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint corresponds to only a single column. This constraint applies in addition to any constraint entailed by primary key mapping and to constraints specified at the table level.true +
+
true
PERSISTENCE:JAVADOC:360booleanjakarta.persistence.MapKeyColumn.updatable
+
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.true +
+
true
PERSISTENCE:JAVADOC:361EnumTypejakarta.persistence.MapKeyEnumerated.value
+
(Optional) The type used in mapping a map key enum type.true +
+
true
PERSISTENCE:JAVADOC:362Stringjakarta.persistence.MapKeyJoinColumn.columnDefinition
+
(Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to SQL generated by the provider for the column.true +
+
true
PERSISTENCE:JAVADOC:363booleanjakarta.persistence.MapKeyJoinColumn.insertable
+
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.true +
+
true
PERSISTENCE:JAVADOC:364Stringjakarta.persistence.MapKeyJoinColumn.name
+
(Optional) The name of the foreign key column for the map key. The table in which it is found depends upon the context. If the join is for a map key for an element collection, the foreign key column is in the collection table for the map value. If the join is for a map key for a ManyToMany entity relationship or for a OneToMany entity relationship using a join table, the foreign key column is in a join table. If the join is for a OneToMany entity relationship using a foreign key mapping strategy, the foreign key column for the map key is in the table of the entity that is the value of the map. Default (only applies if a single join column is used.) The concatenation of the following: the name of the referencing relationship property or field of the referencing entity or embeddable class; "_"; "KEY".true +
+
true
PERSISTENCE:JAVADOC:365booleanjakarta.persistence.MapKeyJoinColumn.nullable
+
(Optional) Whether the foreign key column is nullable.true +
+
true
PERSISTENCE:JAVADOC:366Stringjakarta.persistence.MapKeyJoinColumn.referencedColumnName
+
(Optional) The name of the column referenced by this foreign key column. The referenced column is in the table of the target entity. Default (only applies if single join column is being used.) The same name as the primary key column of the referenced tabletrue +
+
true
PERSISTENCE:JAVADOC:367Stringjakarta.persistence.MapKeyJoinColumn.table
+
(Optional) The name of the table that contains the foreign key column. If the join is for a map key for an element collection, the foreign key column is in the collection table for the map value. If the join is for a map key for a ManyToMany entity relationship or for a OneToMany entity relationship using a join table, the foreign key column is in a join table. If the join is for a OneToMany entity relationship using a foreign key mapping strategy, the foreign key column for the map key is in the table of the entity that is the value of the map. Default: If the map is for an element collection, the name of the collection table for the map value. If the map is for a OneToMany or ManyToMany entity relationship using a join table, the name of the join table for the map. If the map is for a OneToMany entity relationship using a foreign key mapping strategy, the name of the primary table of the entity that is the value of the map.true +
+
true
PERSISTENCE:JAVADOC:368booleanjakarta.persistence.MapKeyJoinColumn.unique
+
(Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint is only a single field.true +
+
true
PERSISTENCE:JAVADOC:369booleanjakarta.persistence.MapKeyJoinColumn.updatable
+
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.true +
+
true
PERSISTENCE:JAVADOC:370MapKeyJoinColumn[]jakarta.persistence.MapKeyJoinColumns.value
+
(Required) The map key join columns that are used to map to the entity that is the map key.true +
+
true
PERSISTENCE:JAVADOC:371TemporalTypejakarta.persistence.MapKeyTemporal.value
+
(Required) The type used in mapping java.util.Date or java.util.Calendar.true +
+
true
PERSISTENCE:JAVADOC:372Stringjakarta.persistence.MapsId.value
+
(Optional) The name of the attribute within the composite key to which the relationship attribute corresponds. If not supplied, the relationship maps the entity's primary key.true +
+
true
PERSISTENCE:JAVADOC:373LockModeTypejakarta.persistence.NamedQuery.lockMode
+
(Optional) The lock mode type to use in query execution. If a lockMode other than LockModeType.NONE is specified, the query must be executed in a transaction and the persistence context joined to the transaction.true +
+
true
PERSISTENCE:JAVADOC:374booleanjakarta.persistence.OneToMany.orphanRemoval
+
(Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities.true +
+
true
PERSISTENCE:JAVADOC:375booleanjakarta.persistence.OneToOne.orphanRemoval
+
(Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities.true +
+
true
PERSISTENCE:JAVADOC:376Stringjakarta.persistence.OrderColumn.columnDefinition
+
(Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to generated SQL to create a column of the inferred type.true +
+
false
PERSISTENCE:JAVADOC:377booleanjakarta.persistence.OrderColumn.insertable
+
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.true +
+
true
PERSISTENCE:JAVADOC:378Stringjakarta.persistence.OrderColumn.name
+
(Optional) The name of the ordering column. Defaults to the concatenation of the name of the referencing property or field; "_"; "ORDER".true +
+
true
PERSISTENCE:JAVADOC:379booleanjakarta.persistence.OrderColumn.nullable
+
(Optional) Whether the database column is nullable.true +
+
true
PERSISTENCE:JAVADOC:380booleanjakarta.persistence.OrderColumn.updatable
+
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.true +
+
true
PERSISTENCE:JAVADOC:381Stringjakarta.persistence.Parameter.getName
+
Return the parameter name, or null if the parameter is not a named parameter or no name has been assigned.true +
+
true
PERSISTENCE:JAVADOC:382Classjakarta.persistence.Parameter.getParameterType
+
Return the Java type of the parameter. Values bound to the parameter must be assignable to this type. This method is required to be supported for criteria queries only. Applications that use this method for Jakarta Persistence query language queries and native queries will not be portable.true +
+
true
PERSISTENCE:JAVADOC:383Integerjakarta.persistence.Parameter.getPosition
+
Return the parameter position, or null if the parameter is not a positional parameter.true +
+
true
PERSISTENCE:JAVADOC:384PersistenceUtiljakarta.persistence.Persistence.getPersistenceUtil
+
Return the PersistenceUtil instancetrue +
+
true
PERSISTENCE:JAVADOC:385Objectjakarta.persistence.PersistenceUnitUtil.getIdentifier
+ + ( + Object + ) +
Return the id of the entity. A generated id is not guaranteed to be available until after the database insert has occurred. Returns null if the entity does not yet have an id.true +
+
true
PERSISTENCE:JAVADOC:386booleanjakarta.persistence.PersistenceUnitUtil.isLoaded
+ + ( + Object + ,
String + ) +
Determine the load state of a given persistent attribute of an entity belonging to the persistence unit.true +
+
false
PERSISTENCE:JAVADOC:387booleanjakarta.persistence.PersistenceUnitUtil.isLoaded
+ + ( + Object + ) +
Determine the load state of an entity belonging to the persistence unit. This method can be used to determine the load state of an entity passed as a reference. An entity is considered loaded if all attributes for which FetchType.EAGER has been specified have been loaded. The isLoaded(Object, String) method should be used to determine the load state of an attribute. Not doing so might lead to unintended loading of state.true +
+
false
PERSISTENCE:JAVADOC:388booleanjakarta.persistence.PersistenceUtil.isLoaded
+ + ( + Object + ,
String + ) +
Determine the load state of a given persistent attribute.true +
+
false
PERSISTENCE:JAVADOC:389booleanjakarta.persistence.PersistenceUtil.isLoaded
+ + ( + Object + ) +
Determine the load state of an entity. This method can be used to determine the load state of an entity passed as a reference. An entity is considered loaded if all attributes for which FetchType.EAGER has been specified have been loaded. The isLoaded(Object, String) method should be used to determine the load state of an attribute. Not doing so might lead to unintended loading of state.true +
+
false
PERSISTENCE:JAVADOC:390Objectjakarta.persistence.PessimisticLockException.getEntity
+
Returns the entity that caused this exception.true +
+
true
PERSISTENCE:JAVADOC:391PessimisticLockExceptionjakarta.persistence.PessimisticLockException.PessimisticLockException
+
Constructs a new PessimisticLockException exception with null as its detail message.true +
+
true
PERSISTENCE:JAVADOC:392PessimisticLockExceptionjakarta.persistence.PessimisticLockException.PessimisticLockException
+ + ( + String + ) +
Constructs a new PessimisticLockException exception with the specified detail message.true +
+
true
PERSISTENCE:JAVADOC:393PessimisticLockExceptionjakarta.persistence.PessimisticLockException.PessimisticLockException
+ + ( + String + ,
Throwable + ) +
Constructs a new PessimisticLockException exception with the specified detail message and cause.true +
+
true
PERSISTENCE:JAVADOC:394PessimisticLockExceptionjakarta.persistence.PessimisticLockException.PessimisticLockException
+ + ( + Throwable + ) +
Constructs a new PessimisticLockException exception with the specified cause.true +
+
true
PERSISTENCE:JAVADOC:395PessimisticLockExceptionjakarta.persistence.PessimisticLockException.PessimisticLockException
+ + ( + Object + ) +
Constructs a new PessimisticLockException exception with the specified entity.true +
+
true
PERSISTENCE:JAVADOC:396PessimisticLockExceptionjakarta.persistence.PessimisticLockException.PessimisticLockException
+ + ( + String + ,
Throwable + ,
Object + ) +
Constructs a new PessimisticLockException exception with the specified detail message, cause, and entity.true +
+
true
PERSISTENCE:JAVADOC:397PessimisticLockScopejakarta.persistence.PessimisticLockScope.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:398PessimisticLockScope[]jakarta.persistence.PessimisticLockScope.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:399intjakarta.persistence.Query.getFirstResult
+
The position of the first result the query object was set to retrieve. Returns 0 if setFirstResult was not applied to the query object.true +
+
true
PERSISTENCE:JAVADOC:400FlushModeTypejakarta.persistence.Query.getFlushMode
+
Get the flush mode in effect for the query execution. If a flush mode has not been set for the query object, returns the flush mode in effect for the entity manager.true +
+
true
PERSISTENCE:JAVADOC:401Mapjakarta.persistence.Query.getHints
+
Get the properties and hints and associated values that are in effect for the query instance.true +
+
false
PERSISTENCE:JAVADOC:402LockModeTypejakarta.persistence.Query.getLockMode
+
Get the current lock mode for the query. Returns null if a lock mode has not been set on the query object.true +
+
true
PERSISTENCE:JAVADOC:403intjakarta.persistence.Query.getMaxResults
+
The maximum number of results the query object was set to retrieve. Returns Integer.MAX_VALUE if setMaxResults was not applied to the query object.true +
+
true
PERSISTENCE:JAVADOC:404Parameterjakarta.persistence.Query.getParameter
+ + ( + String + ) +
Get the parameter object corresponding to the declared parameter of the given name. This method is not required to be supported for native queries.true +
+
true
PERSISTENCE:JAVADOC:405Parameterjakarta.persistence.Query.getParameter
+ + ( + String + ,
Class + ) +
Get the parameter object corresponding to the declared parameter of the given name and type. This method is required to be supported for criteria queries only.true +
+
true
PERSISTENCE:JAVADOC:406Parameterjakarta.persistence.Query.getParameter
+ + ( + int + ) +
Get the parameter object corresponding to the declared positional parameter with the given position. This method is not required to be supported for native queries.true +
+
true
PERSISTENCE:JAVADOC:407Parameterjakarta.persistence.Query.getParameter
+ + ( + int + ,
Class + ) +
Get the parameter object corresponding to the declared positional parameter with the given position and type. This method is not required to be supported by the provider.false +
+
true
PERSISTENCE:JAVADOC:408Setjakarta.persistence.Query.getParameters
+
Get the parameter objects corresponding to the declared parameters of the query. Returns empty set if the query has no parameters. This method is not required to be supported for native queries.true +
+
true
PERSISTENCE:JAVADOC:409Objectjakarta.persistence.Query.getParameterValue
+ + ( + Parameter + ) +
Return the input value bound to the parameter. (Note that OUT parameters are unbound.)true +
+
true
PERSISTENCE:JAVADOC:410Objectjakarta.persistence.Query.getParameterValue
+ + ( + String + ) +
Return the input value bound to the named parameter. (Note that OUT parameters are unbound.)true +
+
true
PERSISTENCE:JAVADOC:411Objectjakarta.persistence.Query.getParameterValue
+ + ( + int + ) +
Return the input value bound to the positional parameter. (Note that OUT parameters are unbound.)true +
+
true
PERSISTENCE:JAVADOC:412booleanjakarta.persistence.Query.isBound
+ + ( + Parameter + ) +
Return a boolean indicating whether a value has been bound to the parameter.true +
+
true
PERSISTENCE:JAVADOC:413Queryjakarta.persistence.Query.setLockMode
+ + ( + LockModeType + ) +
Set the lock mode type to be used for the query execution.true +
+
true
PERSISTENCE:JAVADOC:414Queryjakarta.persistence.Query.setParameter
+ + ( + Parameter + ,
Object + ) +
Bind the value of a Parameter object.true +
+
true
PERSISTENCE:JAVADOC:415Queryjakarta.persistence.Query.setParameter
+ + ( + Parameter + ,
Calendar + ,
TemporalType + ) +
Bind an instance of java.util.Calendar to a Parameter object.true +
+
true
PERSISTENCE:JAVADOC:416Queryjakarta.persistence.Query.setParameter
+ + ( + Parameter + ,
Date + ,
TemporalType + ) +
Bind an instance of java.util.Date to a Parameter object.true +
+
true
PERSISTENCE:JAVADOC:417Objectjakarta.persistence.Query.unwrap
+ + ( + Class + ) +
Return an object of the specified type to allow access to the provider-specific API. If the provider's query implementation does not support the specified class, the PersistenceException is thrown.true +
+
false
PERSISTENCE:JAVADOC:418Queryjakarta.persistence.QueryTimeoutException.getQuery
+
Returns the query that caused this exception.true +
+
true
PERSISTENCE:JAVADOC:419QueryTimeoutExceptionjakarta.persistence.QueryTimeoutException.QueryTimeoutException
+
Constructs a new QueryTimeoutException exception with null as its detail message.true +
+
true
PERSISTENCE:JAVADOC:420QueryTimeoutExceptionjakarta.persistence.QueryTimeoutException.QueryTimeoutException
+ + ( + String + ) +
Constructs a new QueryTimeoutException exception with the specified detail message.true +
+
true
PERSISTENCE:JAVADOC:421QueryTimeoutExceptionjakarta.persistence.QueryTimeoutException.QueryTimeoutException
+ + ( + String + ,
Throwable + ) +
Constructs a new QueryTimeoutException exception with the specified detail message and cause.true +
+
true
PERSISTENCE:JAVADOC:422QueryTimeoutExceptionjakarta.persistence.QueryTimeoutException.QueryTimeoutException
+ + ( + Throwable + ) +
Constructs a new QueryTimeoutException exception with the specified cause.true +
+
true
PERSISTENCE:JAVADOC:423QueryTimeoutExceptionjakarta.persistence.QueryTimeoutException.QueryTimeoutException
+ + ( + Query + ) +
Constructs a new QueryTimeoutException exception with the specified query.true +
+
true
PERSISTENCE:JAVADOC:424QueryTimeoutExceptionjakarta.persistence.QueryTimeoutException.QueryTimeoutException
+ + ( + String + ,
Throwable + ,
Query + ) +
Constructs a new QueryTimeoutException exception with the specified detail message, cause, and query.true +
+
true
PERSISTENCE:JAVADOC:425Stringjakarta.persistence.SequenceGenerator.catalog
+
(Optional) The catalog of the sequence generator.true +
+
false
PERSISTENCE:JAVADOC:426Stringjakarta.persistence.SequenceGenerator.schema
+
(Optional) The schema of the sequence generator.true +
+
false
PERSISTENCE:JAVADOC:427SharedCacheModejakarta.persistence.SharedCacheMode.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:428SharedCacheMode[]jakarta.persistence.SharedCacheMode.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:429Objectjakarta.persistence.Tuple.get
+ + ( + TupleElement + ) +
Get the value of the specified tuple element.true +
+
true
PERSISTENCE:JAVADOC:430Objectjakarta.persistence.Tuple.get
+ + ( + String + ,
Class + ) +
Get the value of the tuple element to which the specified alias has been assigned.true +
+
true
PERSISTENCE:JAVADOC:431Objectjakarta.persistence.Tuple.get
+ + ( + String + ) +
Get the value of the tuple element to which the specified alias has been assigned.true +
+
true
PERSISTENCE:JAVADOC:432Objectjakarta.persistence.Tuple.get
+ + ( + int + ,
Class + ) +
Get the value of the element at the specified position in the result tuple. The first position is 0.true +
+
true
PERSISTENCE:JAVADOC:433Objectjakarta.persistence.Tuple.get
+ + ( + int + ) +
Get the value of the element at the specified position in the result tuple. The first position is 0.true +
+
true
PERSISTENCE:JAVADOC:434Listjakarta.persistence.Tuple.getElements
+
Return the tuple elements.true +
+
true
PERSISTENCE:JAVADOC:435Object[]jakarta.persistence.Tuple.toArray
+
Return the values of the result tuple elements as an array.true +
+
true
PERSISTENCE:JAVADOC:436Stringjakarta.persistence.TupleElement.getAlias
+
Return the alias assigned to the tuple element or null, if no alias has been assigned.true +
+
true
PERSISTENCE:JAVADOC:437Classjakarta.persistence.TupleElement.getJavaType
+
Return the Java type of the tuple element.true +
+
true
PERSISTENCE:JAVADOC:438Listjakarta.persistence.TypedQuery.getResultList
+
Execute a SELECT query and return the query results as a typed List.true +
+
true
PERSISTENCE:JAVADOC:439Objectjakarta.persistence.TypedQuery.getSingleResult
+
Execute a SELECT query that returns a single result.true +
+
true
PERSISTENCE:JAVADOC:440TypedQueryjakarta.persistence.TypedQuery.setFirstResult
+ + ( + int + ) +
Set the position of the first result to retrieve.true +
+
true
PERSISTENCE:JAVADOC:441TypedQueryjakarta.persistence.TypedQuery.setFlushMode
+ + ( + FlushModeType + ) +
Set the flush mode type to be used for the query execution. The flush mode type applies to the query regardless of the flush mode type in use for the entity manager.true +
+
true
PERSISTENCE:JAVADOC:442TypedQueryjakarta.persistence.TypedQuery.setHint
+ + ( + String + ,
Object + ) +
Set a query property or hint. The hints elements may be used to specify query properties and hints. Properties defined by this specification must be observed by the provider. Vendor-specific hints that are not recognized by a provider must be silently ignored. Portable applications should not rely on the standard timeout hint. Depending on the database in use and the locking mechanisms used by the provider, this hint may or may not be observed.true +
+
false
PERSISTENCE:JAVADOC:443TypedQueryjakarta.persistence.TypedQuery.setLockMode
+ + ( + LockModeType + ) +
Set the lock mode type to be used for the query execution.true +
+
true
PERSISTENCE:JAVADOC:444TypedQueryjakarta.persistence.TypedQuery.setMaxResults
+ + ( + int + ) +
Set the maximum number of results to retrieve.true +
+
true
PERSISTENCE:JAVADOC:445TypedQueryjakarta.persistence.TypedQuery.setParameter
+ + ( + Parameter + ,
Object + ) +
Bind the value of a Parameter object.true +
+
true
PERSISTENCE:JAVADOC:446TypedQueryjakarta.persistence.TypedQuery.setParameter
+ + ( + Parameter + ,
Calendar + ,
TemporalType + ) +
Bind an instance of java.util.Calendar to a Parameter object.true +
+
true
PERSISTENCE:JAVADOC:447TypedQueryjakarta.persistence.TypedQuery.setParameter
+ + ( + Parameter + ,
Date + ,
TemporalType + ) +
Bind an instance of java.util.Date to a Parameter object.true +
+
true
PERSISTENCE:JAVADOC:448TypedQueryjakarta.persistence.TypedQuery.setParameter
+ + ( + String + ,
Object + ) +
Bind an argument value to a named parameter.true +
+
true
PERSISTENCE:JAVADOC:449TypedQueryjakarta.persistence.TypedQuery.setParameter
+ + ( + String + ,
Calendar + ,
TemporalType + ) +
Bind an instance of java.util.Calendar to a named parameter.true +
+
true
PERSISTENCE:JAVADOC:450TypedQueryjakarta.persistence.TypedQuery.setParameter
+ + ( + String + ,
Date + ,
TemporalType + ) +
Bind an instance of java.util.Date to a named parameter.true +
+
true
PERSISTENCE:JAVADOC:451TypedQueryjakarta.persistence.TypedQuery.setParameter
+ + ( + int + ,
Object + ) +
Bind an argument value to a positional parameter.true +
+
true
PERSISTENCE:JAVADOC:452TypedQueryjakarta.persistence.TypedQuery.setParameter
+ + ( + int + ,
Calendar + ,
TemporalType + ) +
Bind an instance of java.util.Calendar to a positional parameter.true +
+
true
PERSISTENCE:JAVADOC:453TypedQueryjakarta.persistence.TypedQuery.setParameter
+ + ( + int + ,
Date + ,
TemporalType + ) +
Bind an instance of java.util.Date to a positional parameter.true +
+
true
PERSISTENCE:JAVADOC:454Stringjakarta.persistence.UniqueConstraint.name
+
(Optional) Constraint name. A provider-chosen name will be chosen if a name is not specified.true +
+
true
PERSISTENCE:JAVADOC:455ValidationModejakarta.persistence.ValidationMode.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:456ValidationMode[]jakarta.persistence.ValidationMode.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:547Classjakarta.persistence.Parameter.getParameterType
+
throws + IllegalStateException
+
if invoked on a parameter obtained from a query language query or native query when the implementation does not support this usetrue +
+
true
PERSISTENCE:JAVADOC:551intjakarta.persistence.Query.executeUpdate
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language SELECT statement or for a criteria querytrue +
+
true
PERSISTENCE:JAVADOC:555LockModeTypejakarta.persistence.Query.getLockMode
+
throws + IllegalStateException
+
if the query is found not to be a Jakarta Persistence query language SELECT query or a Criteria API querytrue +
+
true
PERSISTENCE:JAVADOC:559Parameterjakarta.persistence.Query.getParameter
+ + ( + String + ,
Class + ) +
throws + IllegalStateException
+
if invoked on a native query or Jakarta Persistence query language query when the implementation does not support this usetrue +
+
true
PERSISTENCE:JAVADOC:563Parameterjakarta.persistence.Query.getParameter
+ + ( + int + ,
Class + ) +
throws + IllegalStateException
+
if invoked on a native query or Jakarta Persistence query language query when the implementation does not support this usetrue +
+
true
PERSISTENCE:JAVADOC:571Listjakarta.persistence.Query.getResultList
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language UPDATE or DELETE statementtrue +
+
true
PERSISTENCE:JAVADOC:579Objectjakarta.persistence.Query.getSingleResult
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language UPDATE or DELETE statementtrue +
+
true
PERSISTENCE:JAVADOC:587Queryjakarta.persistence.Query.setLockMode
+ + ( + LockModeType + ) +
throws + IllegalStateException
+
if the query is found not to be a Jakarta Persistence query language SELECT query or a CriteriaQuery querytrue +
+
true
PERSISTENCE:JAVADOC:620TypedQueryjakarta.persistence.TypedQuery.setLockMode
+ + ( + LockModeType + ) +
throws + IllegalStateException
+
if the query is found not to be a Jakarta Persistence query language SELECT query or a CriteriaQuery querytrue +
+
true
PERSISTENCE:JAVADOC:632intjakarta.persistence.TypedQuery.{jakarta.persistence.Query}.executeUpdate
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language SELECT statement or for a criteria querytrue +
+
true
PERSISTENCE:JAVADOC:640LockModeTypejakarta.persistence.TypedQuery.{jakarta.persistence.Query}.getLockMode
+
throws + IllegalStateException
+
if the query is found not to be a Jakarta Persistence query language SELECT query or a Criteria API querytrue +
+
true
PERSISTENCE:JAVADOC:647Parameterjakarta.persistence.TypedQuery.{jakarta.persistence.Query}.getParameter
+ + ( + String + ,
Class + ) +
throws + IllegalStateException
+
if invoked on a native query or Jakarta Persistence query language query when the implementation does not support this usetrue +
+
true
PERSISTENCE:JAVADOC:653Parameterjakarta.persistence.TypedQuery.{jakarta.persistence.Query}.getParameter
+ + ( + int + ,
Class + ) +
throws + IllegalStateException
+
if invoked on a native query or Jakarta Persistence query language query when the implementation does not support this usetrue +
+
true
PERSISTENCE:JAVADOC:666Listjakarta.persistence.TypedQuery.{jakarta.persistence.Query}.getResultList
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language UPDATE or DELETE statementtrue +
+
true
PERSISTENCE:JAVADOC:675Objectjakarta.persistence.TypedQuery.{jakarta.persistence.Query}.getSingleResult
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language UPDATE or DELETE statementtrue +
+
true
PERSISTENCE:JAVADOC:688Queryjakarta.persistence.TypedQuery.{jakarta.persistence.Query}.setLockMode
+ + ( + LockModeType + ) +
throws + IllegalStateException
+
if the query is found not to be a Jakarta Persistence query language SELECT query or a CriteriaQuery querytrue +
+
true
PERSISTENCE:JAVADOC:711AbstractQueryjakarta.persistence.criteria.AbstractQuery.distinct
+ + ( + boolean + ) +
Specify whether duplicate query results will be eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct has not been specified, duplicate results must be retained.true +
+
false
PERSISTENCE:JAVADOC:712Rootjakarta.persistence.criteria.AbstractQuery.from
+ + ( + Class + ) +
Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots.true +
+
true
PERSISTENCE:JAVADOC:713Rootjakarta.persistence.criteria.AbstractQuery.from
+ + ( + EntityType + ) +
Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots.true +
+
true
PERSISTENCE:JAVADOC:714Listjakarta.persistence.criteria.AbstractQuery.getGroupList
+
Return a list of the grouping expressions. Returns empty list if no grouping expressions have been specified. Modifications to the list do not affect the query.true +
+
false
PERSISTENCE:JAVADOC:715Predicatejakarta.persistence.criteria.AbstractQuery.getGroupRestriction
+
Return the predicate that corresponds to the restriction(s) over the grouping items, or null if no restrictions have been specified.true +
+
false
PERSISTENCE:JAVADOC:717Classjakarta.persistence.criteria.AbstractQuery.getResultType
+
Return the result type of the query or subquery. If a result type was specified as an argument to the createQuery or subquery method, that type will be returned. If the query was created using the createTupleQuery method, the result type is Tuple. Otherwise, the result type is Object.true +
+
false
PERSISTENCE:JAVADOC:718Setjakarta.persistence.criteria.AbstractQuery.getRoots
+
Return the query roots. These are the roots that have been defined for the CriteriaQuery or Subquery itself, including any subquery roots defined as a result of correlation. Returns empty set if no roots have been defined. Modifications to the set do not affect the query.true +
+
false
PERSISTENCE:JAVADOC:719Selectionjakarta.persistence.criteria.AbstractQuery.getSelection
+
Return the selection of the query, or null if no selection has been set.true +
+
false
PERSISTENCE:JAVADOC:720AbstractQueryjakarta.persistence.criteria.AbstractQuery.groupBy
+ + ( + Expression[] + ) +
Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added grouping expressions are simply removed.true +
+
true
PERSISTENCE:JAVADOC:721AbstractQueryjakarta.persistence.criteria.AbstractQuery.groupBy
+ + ( + List + ) +
Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added grouping expressions are simply removed.true +
+
true
PERSISTENCE:JAVADOC:722AbstractQueryjakarta.persistence.criteria.AbstractQuery.having
+ + ( + Expression + ) +
Specify a restriction over the groups of the query. Replaces the previous having restriction(s), if any.true +
+
false
PERSISTENCE:JAVADOC:723AbstractQueryjakarta.persistence.criteria.AbstractQuery.having
+ + ( + Predicate[] + ) +
Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously having added restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed.true +
+
true
PERSISTENCE:JAVADOC:724booleanjakarta.persistence.criteria.AbstractQuery.isDistinct
+
Return whether duplicate query results must be eliminated or retained.true +
+
false
PERSISTENCE:JAVADOC:726AbstractQueryjakarta.persistence.criteria.AbstractQuery.where
+ + ( + Expression + ) +
Modify the query to restrict the query results according to the specified boolean expression. Replaces the previously added restriction(s), if any.true +
+
false
PERSISTENCE:JAVADOC:727AbstractQueryjakarta.persistence.criteria.AbstractQuery.where
+ + ( + Predicate[] + ) +
Modify the query to restrict the query results according to the conjunction of the specified restriction predicates. Replaces the previously added restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed.true +
+
true
PERSISTENCE:JAVADOC:728CollectionAttributejakarta.persistence.criteria.CollectionJoin.getModel
+
Return the metamodel representation for the collection attribute.true +
+
true
PERSISTENCE:JAVADOC:734Expressionjakarta.persistence.criteria.CriteriaBuilder.abs
+ + ( + Expression + ) +
Create an expression that returns the absolute value of its argument.true +
+
true
PERSISTENCE:JAVADOC:735Expressionjakarta.persistence.criteria.CriteriaBuilder.all
+ + ( + Subquery + ) +
Create an all expression over the subquery results.true +
+
true
PERSISTENCE:JAVADOC:736Predicatejakarta.persistence.criteria.CriteriaBuilder.and
+ + ( + Expression + ,
Expression + ) +
Create a conjunction of the given boolean expressions.true +
+
true
PERSISTENCE:JAVADOC:737Predicatejakarta.persistence.criteria.CriteriaBuilder.and
+ + ( + Predicate[] + ) +
Create a conjunction of the given restriction predicates. A conjunction of zero predicates is true.true +
+
true
PERSISTENCE:JAVADOC:738Expressionjakarta.persistence.criteria.CriteriaBuilder.any
+ + ( + Subquery + ) +
Create an any expression over the subquery results. This expression is equivalent to a some expression.true +
+
true
PERSISTENCE:JAVADOC:739CompoundSelectionjakarta.persistence.criteria.CriteriaBuilder.array
+ + ( + Selection[] + ) +
Create an array-valued selection item.true +
+
true
PERSISTENCE:JAVADOC:741Orderjakarta.persistence.criteria.CriteriaBuilder.asc
+ + ( + Expression + ) +
Create an ordering by the ascending value of the expression.true +
+
true
PERSISTENCE:JAVADOC:742Expressionjakarta.persistence.criteria.CriteriaBuilder.avg
+ + ( + Expression + ) +
Create an aggregate expression applying the avg operation.true +
+
true
PERSISTENCE:JAVADOC:743Predicatejakarta.persistence.criteria.CriteriaBuilder.between
+ + ( + Expression + ,
Expression + ,
Expression + ) +
Create a predicate for testing whether the first argument is between the second and third arguments in value.true +
+
true
PERSISTENCE:JAVADOC:744Predicatejakarta.persistence.criteria.CriteriaBuilder.between
+ + ( + Expression + ,
Comparable + ,
Comparable + ) +
Create a predicate for testing whether the first argument is between the second and third arguments in value.true +
+
true
PERSISTENCE:JAVADOC:745Expressionjakarta.persistence.criteria.CriteriaBuilder.coalesce
+ + ( + Expression + ,
Expression + ) +
Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.true +
+
false
PERSISTENCE:JAVADOC:746Expressionjakarta.persistence.criteria.CriteriaBuilder.coalesce
+ + ( + Expression + ,
Object + ) +
Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.true +
+
false
PERSISTENCE:JAVADOC:747Coalescejakarta.persistence.criteria.CriteriaBuilder.coalesce
+
Create a coalesce expression.true +
+
true
PERSISTENCE:JAVADOC:748Expressionjakarta.persistence.criteria.CriteriaBuilder.concat
+ + ( + Expression + ,
Expression + ) +
Create an expression for string concatenation.true +
+
true
PERSISTENCE:JAVADOC:749Expressionjakarta.persistence.criteria.CriteriaBuilder.concat
+ + ( + Expression + ,
String + ) +
Create an expression for string concatenation.true +
+
true
PERSISTENCE:JAVADOC:750Expressionjakarta.persistence.criteria.CriteriaBuilder.concat
+ + ( + String + ,
Expression + ) +
Create an expression for string concatenation.true +
+
true
PERSISTENCE:JAVADOC:751Predicatejakarta.persistence.criteria.CriteriaBuilder.conjunction
+
Create a conjunction (with zero conjuncts). A conjunction with zero conjuncts is true.true +
+
true
PERSISTENCE:JAVADOC:752CompoundSelectionjakarta.persistence.criteria.CriteriaBuilder.construct
+ + ( + Class + ,
Selection[] + ) +
Create a selection item corresponding to a constructor. This method is used to specify a constructor that will be applied to the results of the query execution. If the constructor is for an entity class, the resulting entities will be in the new state after the query is executed.true +
+
true
PERSISTENCE:JAVADOC:754Expressionjakarta.persistence.criteria.CriteriaBuilder.count
+ + ( + Expression + ) +
Create an aggregate expression applying the count operation.true +
+
true
PERSISTENCE:JAVADOC:755Expressionjakarta.persistence.criteria.CriteriaBuilder.countDistinct
+ + ( + Expression + ) +
Create an aggregate expression applying the count distinct operation.true +
+
true
PERSISTENCE:JAVADOC:756CriteriaQueryjakarta.persistence.criteria.CriteriaBuilder.createQuery
+
Create a CriteriaQuery object.true +
+
true
PERSISTENCE:JAVADOC:757CriteriaQueryjakarta.persistence.criteria.CriteriaBuilder.createQuery
+ + ( + Class + ) +
Create a CriteriaQuery object with the specified result type.true +
+
true
PERSISTENCE:JAVADOC:758CriteriaQueryjakarta.persistence.criteria.CriteriaBuilder.createTupleQuery
+
Create a CriteriaQuery object that returns a tuple of objects as its result.true +
+
true
PERSISTENCE:JAVADOC:759Expressionjakarta.persistence.criteria.CriteriaBuilder.currentDate
+
Create expression to return current date.true +
+
true
PERSISTENCE:JAVADOC:760Expressionjakarta.persistence.criteria.CriteriaBuilder.currentTime
+
Create expression to return current time.true +
+
true
PERSISTENCE:JAVADOC:761Expressionjakarta.persistence.criteria.CriteriaBuilder.currentTimestamp
+
Create expression to return current timestamp.true +
+
true
PERSISTENCE:JAVADOC:762Orderjakarta.persistence.criteria.CriteriaBuilder.desc
+ + ( + Expression + ) +
Create an ordering by the descending value of the expression.true +
+
true
PERSISTENCE:JAVADOC:763Expressionjakarta.persistence.criteria.CriteriaBuilder.diff
+ + ( + Expression + ,
Expression + ) +
Create an expression that returns the difference between its arguments.true +
+
true
PERSISTENCE:JAVADOC:764Expressionjakarta.persistence.criteria.CriteriaBuilder.diff
+ + ( + Expression + ,
Number + ) +
Create an expression that returns the difference between its arguments.true +
+
true
PERSISTENCE:JAVADOC:765Expressionjakarta.persistence.criteria.CriteriaBuilder.diff
+ + ( + Number + ,
Expression + ) +
Create an expression that returns the difference between its arguments.true +
+
true
PERSISTENCE:JAVADOC:766Predicatejakarta.persistence.criteria.CriteriaBuilder.disjunction
+
Create a disjunction (with zero disjuncts). A disjunction with zero disjuncts is false.true +
+
true
PERSISTENCE:JAVADOC:767Predicatejakarta.persistence.criteria.CriteriaBuilder.equal
+ + ( + Expression + ,
Expression + ) +
Create a predicate for testing the arguments for equality.true +
+
true
PERSISTENCE:JAVADOC:768Predicatejakarta.persistence.criteria.CriteriaBuilder.equal
+ + ( + Expression + ,
Object + ) +
Create a predicate for testing the arguments for equality.true +
+
true
PERSISTENCE:JAVADOC:769Predicatejakarta.persistence.criteria.CriteriaBuilder.exists
+ + ( + Subquery + ) +
Create a predicate testing the existence of a subquery result.true +
+
true
PERSISTENCE:JAVADOC:770Expressionjakarta.persistence.criteria.CriteriaBuilder.function
+ + ( + String + ,
Class + ,
Expression[] + ) +
Create an expression for the execution of a database function.true +
+
false
PERSISTENCE:JAVADOC:771Predicatejakarta.persistence.criteria.CriteriaBuilder.ge
+ + ( + Expression + ,
Expression + ) +
Create a predicate for testing whether the first argument is greater than or equal to the second.true +
+
true
PERSISTENCE:JAVADOC:772Predicatejakarta.persistence.criteria.CriteriaBuilder.ge
+ + ( + Expression + ,
Number + ) +
Create a predicate for testing whether the first argument is greater than or equal to the second.true +
+
true
PERSISTENCE:JAVADOC:773Predicatejakarta.persistence.criteria.CriteriaBuilder.greaterThan
+ + ( + Expression + ,
Expression + ) +
Create a predicate for testing whether the first argument is greater than the second.true +
+
true
PERSISTENCE:JAVADOC:774Predicatejakarta.persistence.criteria.CriteriaBuilder.greaterThan
+ + ( + Expression + ,
Comparable + ) +
Create a predicate for testing whether the first argument is greater than the second.true +
+
true
PERSISTENCE:JAVADOC:775Predicatejakarta.persistence.criteria.CriteriaBuilder.greaterThanOrEqualTo
+ + ( + Expression + ,
Expression + ) +
Create a predicate for testing whether the first argument is greater than or equal to the second.true +
+
true
PERSISTENCE:JAVADOC:776Predicatejakarta.persistence.criteria.CriteriaBuilder.greaterThanOrEqualTo
+ + ( + Expression + ,
Comparable + ) +
Create a predicate for testing whether the first argument is greater than or equal to the second.true +
+
true
PERSISTENCE:JAVADOC:777Expressionjakarta.persistence.criteria.CriteriaBuilder.greatest
+ + ( + Expression + ) +
Create an aggregate expression for finding the greatest of the values (strings, dates, etc).true +
+
true
PERSISTENCE:JAVADOC:778Predicatejakarta.persistence.criteria.CriteriaBuilder.gt
+ + ( + Expression + ,
Expression + ) +
Create a predicate for testing whether the first argument is greater than the second.true +
+
true
PERSISTENCE:JAVADOC:779Predicatejakarta.persistence.criteria.CriteriaBuilder.gt
+ + ( + Expression + ,
Number + ) +
Create a predicate for testing whether the first argument is greater than the second.true +
+
true
PERSISTENCE:JAVADOC:780Injakarta.persistence.criteria.CriteriaBuilder.in
+ + ( + Expression + ) +
Create predicate to test whether given expression is contained in a list of values.true +
+
true
PERSISTENCE:JAVADOC:781Predicatejakarta.persistence.criteria.CriteriaBuilder.isEmpty
+ + ( + Expression + ) +
Create a predicate that tests whether a collection is empty.true +
+
true
PERSISTENCE:JAVADOC:782Predicatejakarta.persistence.criteria.CriteriaBuilder.isFalse
+ + ( + Expression + ) +
Create a predicate testing for a false value.true +
+
true
PERSISTENCE:JAVADOC:783Predicatejakarta.persistence.criteria.CriteriaBuilder.isMember
+ + ( + Expression + ,
Expression + ) +
Create a predicate that tests whether an element is a member of a collection. If the collection is empty, the predicate will be false.true +
+
true
PERSISTENCE:JAVADOC:784Predicatejakarta.persistence.criteria.CriteriaBuilder.isMember
+ + ( + Object + ,
Expression + ) +
Create a predicate that tests whether an element is a member of a collection. If the collection is empty, the predicate will be false.true +
+
true
PERSISTENCE:JAVADOC:785Predicatejakarta.persistence.criteria.CriteriaBuilder.isNotEmpty
+ + ( + Expression + ) +
Create a predicate that tests whether a collection is not empty.true +
+
true
PERSISTENCE:JAVADOC:786Predicatejakarta.persistence.criteria.CriteriaBuilder.isNotMember
+ + ( + Expression + ,
Expression + ) +
Create a predicate that tests whether an element is not a member of a collection. If the collection is empty, the predicate will be true.true +
+
true
PERSISTENCE:JAVADOC:787Predicatejakarta.persistence.criteria.CriteriaBuilder.isNotMember
+ + ( + Object + ,
Expression + ) +
Create a predicate that tests whether an element is not a member of a collection. If the collection is empty, the predicate will be true.true +
+
true
PERSISTENCE:JAVADOC:788Predicatejakarta.persistence.criteria.CriteriaBuilder.isNotNull
+ + ( + Expression + ) +
Create a predicate to test whether the expression is not null.true +
+
true
PERSISTENCE:JAVADOC:789Predicatejakarta.persistence.criteria.CriteriaBuilder.isNull
+ + ( + Expression + ) +
Create a predicate to test whether the expression is null.true +
+
true
PERSISTENCE:JAVADOC:790Predicatejakarta.persistence.criteria.CriteriaBuilder.isTrue
+ + ( + Expression + ) +
Create a predicate testing for a true value.true +
+
true
PERSISTENCE:JAVADOC:791Expressionjakarta.persistence.criteria.CriteriaBuilder.keys
+ + ( + Map + ) +
Create an expression that returns the keys of a map.true +
+
true
PERSISTENCE:JAVADOC:792Predicatejakarta.persistence.criteria.CriteriaBuilder.le
+ + ( + Expression + ,
Expression + ) +
Create a predicate for testing whether the first argument is less than or equal to the second.true +
+
true
PERSISTENCE:JAVADOC:793Predicatejakarta.persistence.criteria.CriteriaBuilder.le
+ + ( + Expression + ,
Number + ) +
Create a predicate for testing whether the first argument is less than or equal to the second.true +
+
true
PERSISTENCE:JAVADOC:794Expressionjakarta.persistence.criteria.CriteriaBuilder.least
+ + ( + Expression + ) +
Create an aggregate expression for finding the least of the values (strings, dates, etc).true +
+
true
PERSISTENCE:JAVADOC:795Expressionjakarta.persistence.criteria.CriteriaBuilder.length
+ + ( + Expression + ) +
Create expression to return length of a string.true +
+
true
PERSISTENCE:JAVADOC:796Predicatejakarta.persistence.criteria.CriteriaBuilder.lessThan
+ + ( + Expression + ,
Expression + ) +
Create a predicate for testing whether the first argument is less than the second.true +
+
true
PERSISTENCE:JAVADOC:797Predicatejakarta.persistence.criteria.CriteriaBuilder.lessThan
+ + ( + Expression + ,
Comparable + ) +
Create a predicate for testing whether the first argument is less than the second.true +
+
true
PERSISTENCE:JAVADOC:798Predicatejakarta.persistence.criteria.CriteriaBuilder.lessThanOrEqualTo
+ + ( + Expression + ,
Expression + ) +
Create a predicate for testing whether the first argument is less than or equal to the second.true +
+
true
PERSISTENCE:JAVADOC:799Predicatejakarta.persistence.criteria.CriteriaBuilder.lessThanOrEqualTo
+ + ( + Expression + ,
Comparable + ) +
Create a predicate for testing whether the first argument is less than or equal to the second.true +
+
true
PERSISTENCE:JAVADOC:800Predicatejakarta.persistence.criteria.CriteriaBuilder.like
+ + ( + Expression + ,
Expression + ) +
Create a predicate for testing whether the expression satisfies the given pattern.true +
+
true
PERSISTENCE:JAVADOC:801Predicatejakarta.persistence.criteria.CriteriaBuilder.like
+ + ( + Expression + ,
String + ) +
Create a predicate for testing whether the expression satisfies the given pattern.true +
+
true
PERSISTENCE:JAVADOC:802Predicatejakarta.persistence.criteria.CriteriaBuilder.like
+ + ( + Expression + ,
Expression + ,
Expression + ) +
Create a predicate for testing whether the expression satisfies the given pattern.true +
+
true
PERSISTENCE:JAVADOC:803Predicatejakarta.persistence.criteria.CriteriaBuilder.like
+ + ( + Expression + ,
Expression + ,
char + ) +
Create a predicate for testing whether the expression satisfies the given pattern.true +
+
true
PERSISTENCE:JAVADOC:804Predicatejakarta.persistence.criteria.CriteriaBuilder.like
+ + ( + Expression + ,
String + ,
Expression + ) +
Create a predicate for testing whether the expression satisfies the given pattern.true +
+
true
PERSISTENCE:JAVADOC:805Predicatejakarta.persistence.criteria.CriteriaBuilder.like
+ + ( + Expression + ,
String + ,
char + ) +
Create a predicate for testing whether the expression satisfies the given pattern.true +
+
true
PERSISTENCE:JAVADOC:806Expressionjakarta.persistence.criteria.CriteriaBuilder.literal
+ + ( + Object + ) +
Create an expression for a literal.true +
+
true
PERSISTENCE:JAVADOC:808Expressionjakarta.persistence.criteria.CriteriaBuilder.locate
+ + ( + Expression + ,
Expression + ) +
Create expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.true +
+
true
PERSISTENCE:JAVADOC:809Expressionjakarta.persistence.criteria.CriteriaBuilder.locate
+ + ( + Expression + ,
String + ) +
Create expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.true +
+
true
PERSISTENCE:JAVADOC:810Expressionjakarta.persistence.criteria.CriteriaBuilder.locate
+ + ( + Expression + ,
Expression + ,
Expression + ) +
Create expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.true +
+
true
PERSISTENCE:JAVADOC:811Expressionjakarta.persistence.criteria.CriteriaBuilder.locate
+ + ( + Expression + ,
String + ,
int + ) +
Create expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.true +
+
true
PERSISTENCE:JAVADOC:812Expressionjakarta.persistence.criteria.CriteriaBuilder.lower
+ + ( + Expression + ) +
Create expression for converting a string to lowercase.true +
+
true
PERSISTENCE:JAVADOC:813Predicatejakarta.persistence.criteria.CriteriaBuilder.lt
+ + ( + Expression + ,
Expression + ) +
Create a predicate for testing whether the first argument is less than the second.true +
+
true
PERSISTENCE:JAVADOC:814Predicatejakarta.persistence.criteria.CriteriaBuilder.lt
+ + ( + Expression + ,
Number + ) +
Create a predicate for testing whether the first argument is less than the second.true +
+
true
PERSISTENCE:JAVADOC:815Expressionjakarta.persistence.criteria.CriteriaBuilder.max
+ + ( + Expression + ) +
Create an aggregate expression applying the numerical max operation.true +
+
true
PERSISTENCE:JAVADOC:816Expressionjakarta.persistence.criteria.CriteriaBuilder.min
+ + ( + Expression + ) +
Create an aggregate expression applying the numerical min operation.true +
+
true
PERSISTENCE:JAVADOC:817Expressionjakarta.persistence.criteria.CriteriaBuilder.mod
+ + ( + Expression + ,
Expression + ) +
Create an expression that returns the modulus of its arguments.true +
+
true
PERSISTENCE:JAVADOC:818Expressionjakarta.persistence.criteria.CriteriaBuilder.mod
+ + ( + Expression + ,
Integer + ) +
Create an expression that returns the modulus of its arguments.true +
+
true
PERSISTENCE:JAVADOC:819Expressionjakarta.persistence.criteria.CriteriaBuilder.mod
+ + ( + Integer + ,
Expression + ) +
Create an expression that returns the modulus of its arguments.true +
+
true
PERSISTENCE:JAVADOC:820Expressionjakarta.persistence.criteria.CriteriaBuilder.neg
+ + ( + Expression + ) +
Create an expression that returns the arithmetic negation of its argument.true +
+
true
PERSISTENCE:JAVADOC:821Predicatejakarta.persistence.criteria.CriteriaBuilder.not
+ + ( + Expression + ) +
Create a negation of the given restriction.true +
+
true
PERSISTENCE:JAVADOC:822Predicatejakarta.persistence.criteria.CriteriaBuilder.notEqual
+ + ( + Expression + ,
Expression + ) +
Create a predicate for testing the arguments for inequality.true +
+
true
PERSISTENCE:JAVADOC:823Predicatejakarta.persistence.criteria.CriteriaBuilder.notEqual
+ + ( + Expression + ,
Object + ) +
Create a predicate for testing the arguments for inequality.true +
+
true
PERSISTENCE:JAVADOC:824Predicatejakarta.persistence.criteria.CriteriaBuilder.notLike
+ + ( + Expression + ,
Expression + ) +
Create a predicate for testing whether the expression does not satisfy the given pattern.true +
+
true
PERSISTENCE:JAVADOC:825Predicatejakarta.persistence.criteria.CriteriaBuilder.notLike
+ + ( + Expression + ,
String + ) +
Create a predicate for testing whether the expression does not satisfy the given pattern.true +
+
true
PERSISTENCE:JAVADOC:826Predicatejakarta.persistence.criteria.CriteriaBuilder.notLike
+ + ( + Expression + ,
Expression + ,
Expression + ) +
Create a predicate for testing whether the expression does not satisfy the given pattern.true +
+
true
PERSISTENCE:JAVADOC:827Predicatejakarta.persistence.criteria.CriteriaBuilder.notLike
+ + ( + Expression + ,
Expression + ,
char + ) +
Create a predicate for testing whether the expression does not satisfy the given pattern.true +
+
true
PERSISTENCE:JAVADOC:828Predicatejakarta.persistence.criteria.CriteriaBuilder.notLike
+ + ( + Expression + ,
String + ,
Expression + ) +
Create a predicate for testing whether the expression does not satisfy the given pattern.true +
+
true
PERSISTENCE:JAVADOC:829Predicatejakarta.persistence.criteria.CriteriaBuilder.notLike
+ + ( + Expression + ,
String + ,
char + ) +
Create a predicate for testing whether the expression does not satisfy the given pattern.true +
+
true
PERSISTENCE:JAVADOC:830Expressionjakarta.persistence.criteria.CriteriaBuilder.nullif
+ + ( + Expression + ,
Expression + ) +
Create an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.true +
+
true
PERSISTENCE:JAVADOC:831Expressionjakarta.persistence.criteria.CriteriaBuilder.nullif
+ + ( + Expression + ,
Object + ) +
Create an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.true +
+
true
PERSISTENCE:JAVADOC:832Expressionjakarta.persistence.criteria.CriteriaBuilder.nullLiteral
+ + ( + Class + ) +
Create an expression for a null literal with the given type.true +
+
false
PERSISTENCE:JAVADOC:833Predicatejakarta.persistence.criteria.CriteriaBuilder.or
+ + ( + Expression + ,
Expression + ) +
Create a disjunction of the given boolean expressions.true +
+
true
PERSISTENCE:JAVADOC:834Predicatejakarta.persistence.criteria.CriteriaBuilder.or
+ + ( + Predicate[] + ) +
Create a disjunction of the given restriction predicates. A disjunction of zero predicates is false.true +
+
true
PERSISTENCE:JAVADOC:835ParameterExpressionjakarta.persistence.criteria.CriteriaBuilder.parameter
+ + ( + Class + ) +
Create a parameter expression.true +
+
true
PERSISTENCE:JAVADOC:836ParameterExpressionjakarta.persistence.criteria.CriteriaBuilder.parameter
+ + ( + Class + ,
String + ) +
Create a parameter expression with the given name.true +
+
true
PERSISTENCE:JAVADOC:837Expressionjakarta.persistence.criteria.CriteriaBuilder.prod
+ + ( + Expression + ,
Expression + ) +
Create an expression that returns the product of its arguments.true +
+
true
PERSISTENCE:JAVADOC:838Expressionjakarta.persistence.criteria.CriteriaBuilder.prod
+ + ( + Expression + ,
Number + ) +
Create an expression that returns the product of its arguments.true +
+
true
PERSISTENCE:JAVADOC:839Expressionjakarta.persistence.criteria.CriteriaBuilder.prod
+ + ( + Number + ,
Expression + ) +
Create an expression that returns the product of its arguments.true +
+
true
PERSISTENCE:JAVADOC:840Expressionjakarta.persistence.criteria.CriteriaBuilder.quot
+ + ( + Expression + ,
Expression + ) +
Create an expression that returns the quotient of its arguments.true +
+
true
PERSISTENCE:JAVADOC:841Expressionjakarta.persistence.criteria.CriteriaBuilder.quot
+ + ( + Expression + ,
Number + ) +
Create an expression that returns the quotient of its arguments.true +
+
true
PERSISTENCE:JAVADOC:842Expressionjakarta.persistence.criteria.CriteriaBuilder.quot
+ + ( + Number + ,
Expression + ) +
Create an expression that returns the quotient of its arguments.true +
+
true
PERSISTENCE:JAVADOC:843SimpleCasejakarta.persistence.criteria.CriteriaBuilder.selectCase
+ + ( + Expression + ) +
Create a simple case expression.true +
+
false
PERSISTENCE:JAVADOC:844Casejakarta.persistence.criteria.CriteriaBuilder.selectCase
+
Create a general case expression.true +
+
false
PERSISTENCE:JAVADOC:845Expressionjakarta.persistence.criteria.CriteriaBuilder.size
+ + ( + Expression + ) +
Create an expression that tests the size of a collection.true +
+
true
PERSISTENCE:JAVADOC:846Expressionjakarta.persistence.criteria.CriteriaBuilder.size
+ + ( + Collection + ) +
Create an expression that tests the size of a collection.true +
+
true
PERSISTENCE:JAVADOC:847Expressionjakarta.persistence.criteria.CriteriaBuilder.some
+ + ( + Subquery + ) +
Create a some expression over the subquery results. This expression is equivalent to an any expression.true +
+
true
PERSISTENCE:JAVADOC:848Expressionjakarta.persistence.criteria.CriteriaBuilder.sqrt
+ + ( + Expression + ) +
Create an expression that returns the square root of its argument.true +
+
true
PERSISTENCE:JAVADOC:849Expressionjakarta.persistence.criteria.CriteriaBuilder.substring
+ + ( + Expression + ,
Expression + ) +
Create an expression for substring extraction. Extracts a substring starting at the specified position through to end of the string. First position is 1.true +
+
true
PERSISTENCE:JAVADOC:850Expressionjakarta.persistence.criteria.CriteriaBuilder.substring
+ + ( + Expression + ,
int + ) +
Create an expression for substring extraction. Extracts a substring starting at the specified position through to end of the string. First position is 1.true +
+
true
PERSISTENCE:JAVADOC:851Expressionjakarta.persistence.criteria.CriteriaBuilder.substring
+ + ( + Expression + ,
Expression + ,
Expression + ) +
Create an expression for substring extraction. Extracts a substring of given length starting at the specified position. First position is 1.true +
+
true
PERSISTENCE:JAVADOC:852Expressionjakarta.persistence.criteria.CriteriaBuilder.substring
+ + ( + Expression + ,
int + ,
int + ) +
Create an expression for substring extraction. Extracts a substring of given length starting at the specified position. First position is 1.true +
+
true
PERSISTENCE:JAVADOC:853Expressionjakarta.persistence.criteria.CriteriaBuilder.sum
+ + ( + Expression + ) +
Create an aggregate expression applying the sum operation.true +
+
true
PERSISTENCE:JAVADOC:854Expressionjakarta.persistence.criteria.CriteriaBuilder.sum
+ + ( + Expression + ,
Expression + ) +
Create an expression that returns the sum of its arguments.true +
+
true
PERSISTENCE:JAVADOC:855Expressionjakarta.persistence.criteria.CriteriaBuilder.sum
+ + ( + Expression + ,
Number + ) +
Create an expression that returns the sum of its arguments.true +
+
true
PERSISTENCE:JAVADOC:856Expressionjakarta.persistence.criteria.CriteriaBuilder.sum
+ + ( + Number + ,
Expression + ) +
Create an expression that returns the sum of its arguments.true +
+
true
PERSISTENCE:JAVADOC:857Expressionjakarta.persistence.criteria.CriteriaBuilder.sumAsDouble
+ + ( + Expression + ) +
Create an aggregate expression applying the sum operation to a Float-valued expression, returning a Double result.true +
+
true
PERSISTENCE:JAVADOC:858Expressionjakarta.persistence.criteria.CriteriaBuilder.sumAsLong
+ + ( + Expression + ) +
Create an aggregate expression applying the sum operation to an Integer-valued expression, returning a Long result.true +
+
true
PERSISTENCE:JAVADOC:859Expressionjakarta.persistence.criteria.CriteriaBuilder.toBigDecimal
+ + ( + Expression + ) +
Typecast. Returns same expression object.true +
+
true
PERSISTENCE:JAVADOC:860Expressionjakarta.persistence.criteria.CriteriaBuilder.toBigInteger
+ + ( + Expression + ) +
Typecast. Returns same expression object.true +
+
true
PERSISTENCE:JAVADOC:861Expressionjakarta.persistence.criteria.CriteriaBuilder.toDouble
+ + ( + Expression + ) +
Typecast. Returns same expression object.true +
+
true
PERSISTENCE:JAVADOC:862Expressionjakarta.persistence.criteria.CriteriaBuilder.toFloat
+ + ( + Expression + ) +
Typecast. Returns same expression object.true +
+
true
PERSISTENCE:JAVADOC:863Expressionjakarta.persistence.criteria.CriteriaBuilder.toInteger
+ + ( + Expression + ) +
Typecast. Returns same expression object.true +
+
true
PERSISTENCE:JAVADOC:864Expressionjakarta.persistence.criteria.CriteriaBuilder.toLong
+ + ( + Expression + ) +
Typecast. Returns same expression object.true +
+
true
PERSISTENCE:JAVADOC:865Expressionjakarta.persistence.criteria.CriteriaBuilder.toString
+ + ( + Expression + ) +
Typecast. Returns same expression object.true +
+
true
PERSISTENCE:JAVADOC:866Expressionjakarta.persistence.criteria.CriteriaBuilder.trim
+ + ( + Expression + ) +
Create expression to trim blanks from both ends of a string.true +
+
true
PERSISTENCE:JAVADOC:867Expressionjakarta.persistence.criteria.CriteriaBuilder.trim
+ + ( + Trimspec + ,
Expression + ) +
Create expression to trim blanks from a string.true +
+
true
PERSISTENCE:JAVADOC:868Expressionjakarta.persistence.criteria.CriteriaBuilder.trim
+ + ( + Expression + ,
Expression + ) +
Create expression to trim character from both ends of a string.true +
+
false
PERSISTENCE:JAVADOC:869Expressionjakarta.persistence.criteria.CriteriaBuilder.trim
+ + ( + Trimspec + ,
Expression + ,
Expression + ) +
Create expression to trim character from a string.true +
+
false
PERSISTENCE:JAVADOC:870Expressionjakarta.persistence.criteria.CriteriaBuilder.trim
+ + ( + char + ,
Expression + ) +
Create expression to trim character from both ends of a string.true +
+
false
PERSISTENCE:JAVADOC:871Expressionjakarta.persistence.criteria.CriteriaBuilder.trim
+ + ( + Trimspec + ,
char + ,
Expression + ) +
Create expression to trim character from a string.true +
+
false
PERSISTENCE:JAVADOC:872CompoundSelectionjakarta.persistence.criteria.CriteriaBuilder.tuple
+ + ( + Selection[] + ) +
Create a tuple-valued selection item.true +
+
true
PERSISTENCE:JAVADOC:874Expressionjakarta.persistence.criteria.CriteriaBuilder.upper
+ + ( + Expression + ) +
Create expression for converting a string to uppercase.true +
+
true
PERSISTENCE:JAVADOC:875Expressionjakarta.persistence.criteria.CriteriaBuilder.values
+ + ( + Map + ) +
Create an expression that returns the values of a map.true +
+
true
PERSISTENCE:JAVADOC:876Expressionjakarta.persistence.criteria.CriteriaBuilder.Case.otherwise
+ + ( + Object + ) +
Add an "else" clause to the case expression.true +
+
false
PERSISTENCE:JAVADOC:877Expressionjakarta.persistence.criteria.CriteriaBuilder.Case.otherwise
+ + ( + Expression + ) +
Add an "else" clause to the case expression.true +
+
false
PERSISTENCE:JAVADOC:878Casejakarta.persistence.criteria.CriteriaBuilder.Case.when
+ + ( + Expression + ,
Object + ) +
Add a when/then clause to the case expression.true +
+
false
PERSISTENCE:JAVADOC:879Casejakarta.persistence.criteria.CriteriaBuilder.Case.when
+ + ( + Expression + ,
Expression + ) +
Add a when/then clause to the case expression.true +
+
false
PERSISTENCE:JAVADOC:887Coalescejakarta.persistence.criteria.CriteriaBuilder.Coalesce.value
+ + ( + Object + ) +
Add an argument to the coalesce expression.true +
+
false
PERSISTENCE:JAVADOC:888Coalescejakarta.persistence.criteria.CriteriaBuilder.Coalesce.value
+ + ( + Expression + ) +
Add an argument to the coalesce expression.true +
+
false
PERSISTENCE:JAVADOC:896Expressionjakarta.persistence.criteria.CriteriaBuilder.In.getExpression
+
Return the expression to be tested against the list of values.true +
+
true
PERSISTENCE:JAVADOC:897Injakarta.persistence.criteria.CriteriaBuilder.In.value
+ + ( + Object + ) +
Add to list of values to be tested against.true +
+
true
PERSISTENCE:JAVADOC:898Injakarta.persistence.criteria.CriteriaBuilder.In.value
+ + ( + Expression + ) +
Add to list of values to be tested against.true +
+
true
PERSISTENCE:JAVADOC:903Expressionjakarta.persistence.criteria.CriteriaBuilder.SimpleCase.getExpression
+
Return the expression to be tested against the conditions.true +
+
false
PERSISTENCE:JAVADOC:904Expressionjakarta.persistence.criteria.CriteriaBuilder.SimpleCase.otherwise
+ + ( + Object + ) +
Add an "else" clause to the case expression.true +
+
false
PERSISTENCE:JAVADOC:905Expressionjakarta.persistence.criteria.CriteriaBuilder.SimpleCase.otherwise
+ + ( + Expression + ) +
Add an "else" clause to the case expression.true +
+
false
PERSISTENCE:JAVADOC:906SimpleCasejakarta.persistence.criteria.CriteriaBuilder.SimpleCase.when
+ + ( + Object + ,
Object + ) +
Add a when/then clause to the case expression.true +
+
false
PERSISTENCE:JAVADOC:907SimpleCasejakarta.persistence.criteria.CriteriaBuilder.SimpleCase.when
+ + ( + Object + ,
Expression + ) +
Add a when/then clause to the case expression.true +
+
false
PERSISTENCE:JAVADOC:915Trimspecjakarta.persistence.criteria.CriteriaBuilder.Trimspec.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:916Trimspec[]jakarta.persistence.criteria.CriteriaBuilder.Trimspec.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:917CriteriaQueryjakarta.persistence.criteria.CriteriaQuery.distinct
+ + ( + boolean + ) +
Specify whether duplicate query results will be eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct has not been specified, duplicate results must be retained. This method only overrides the return type of the corresponding AbstractQuery method.true +
+
true
PERSISTENCE:JAVADOC:918Listjakarta.persistence.criteria.CriteriaQuery.getOrderList
+
Return the ordering expressions in order of precedence. Returns empty list if no ordering expressions have been specified. Modifications to the list do not affect the query.true +
+
true
PERSISTENCE:JAVADOC:919Setjakarta.persistence.criteria.CriteriaQuery.getParameters
+
Return the parameters of the query. Returns empty set if there are no parameters. Modifications to the set do not affect the query.true +
+
true
PERSISTENCE:JAVADOC:920CriteriaQueryjakarta.persistence.criteria.CriteriaQuery.groupBy
+ + ( + Expression[] + ) +
Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added grouping expressions are simply removed. This method only overrides the return type of the corresponding AbstractQuery method.true +
+
true
PERSISTENCE:JAVADOC:921CriteriaQueryjakarta.persistence.criteria.CriteriaQuery.groupBy
+ + ( + List + ) +
Specify the expressions that are used to form groups over the query results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added grouping expressions are simply removed. This method only overrides the return type of the corresponding AbstractQuery method.true +
+
true
PERSISTENCE:JAVADOC:922CriteriaQueryjakarta.persistence.criteria.CriteriaQuery.having
+ + ( + Expression + ) +
Specify a restriction over the groups of the query. Replaces the previous having restriction(s), if any. This method only overrides the return type of the corresponding AbstractQuery method.true +
+
true
PERSISTENCE:JAVADOC:923CriteriaQueryjakarta.persistence.criteria.CriteriaQuery.having
+ + ( + Predicate[] + ) +
Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously added having restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed. This method only overrides the return type of the corresponding AbstractQuery method.true +
+
true
PERSISTENCE:JAVADOC:924CriteriaQueryjakarta.persistence.criteria.CriteriaQuery.multiselect
+ + ( + Selection[] + ) +
Specify the selection items that are to be returned in the query result. Replaces the previously specified selection(s), if any. The type of the result of the query execution depends on the specification of the type of the criteria query object created as well as the arguments to the multiselect method. An argument to the multiselect method must not be a tuple- or array-valued compound selection item. The semantics of this method are as follows: If the type of the criteria query is CriteriaQuery<Tuple> (i.e., a criteria query object created by either the createTupleQuery method or by passing a Tuple class argument to the createQuery method), a Tuple object corresponding to the arguments of the multiselect method, in the specified order, will be instantiated and returned for each row that results from the query execution. If the type of the criteria query is CriteriaQuery<X> for some user-defined class X (i.e., a criteria query object created by passing a X class argument to the createQuery method), the arguments to the multiselect method will be passed to the X constructor and an instance of type X will be returned for each row. If the type of the criteria query is CriteriaQuery<X[]> for some class X, an instance of type X[] will be returned for each row. The elements of the array will correspond to the arguments of the multiselect method, in the specified order. If the type of the criteria query is CriteriaQuery<Object> or if the criteria query was created without specifying a type, and only a single argument is passed to the multiselect method, an instance of type Object will be returned for each row. If the type of the criteria query is CriteriaQuery<Object> or if the criteria query was created without specifying a type, and more than one argument is passed to the multiselect method, an instance of type Object[] will be instantiated and returned for each row. The elements of the array will correspond to the arguments to the multiselect method, in the specified order.true +
+
true
PERSISTENCE:JAVADOC:926CriteriaQueryjakarta.persistence.criteria.CriteriaQuery.multiselect
+ + ( + List + ) +
Specify the selection items that are to be returned in the query result. Replaces the previously specified selection(s), if any. The type of the result of the query execution depends on the specification of the type of the criteria query object created as well as the argument to the multiselect method. An element of the list passed to the multiselect method must not be a tuple- or array-valued compound selection item. The semantics of this method are as follows: If the type of the criteria query is CriteriaQuery<Tuple> (i.e., a criteria query object created by either the createTupleQuery method or by passing a Tuple class argument to the createQuery method), a Tuple object corresponding to the elements of the list passed to the multiselect method, in the specified order, will be instantiated and returned for each row that results from the query execution. If the type of the criteria query is CriteriaQuery<X> for some user-defined class X (i.e., a criteria query object created by passing a X class argument to the createQuery method), the elements of the list passed to the multiselect method will be passed to the X constructor and an instance of type X will be returned for each row. If the type of the criteria query is CriteriaQuery<X[]> for some class X, an instance of type X[] will be returned for each row. The elements of the array will correspond to the elements of the list passed to the multiselect method, in the specified order. If the type of the criteria query is CriteriaQuery<Object> or if the criteria query was created without specifying a type, and the list passed to the multiselect method contains only a single element, an instance of type Object will be returned for each row. If the type of the criteria query is CriteriaQuery<Object> or if the criteria query was created without specifying a type, and the list passed to the multiselect method contains more than one element, an instance of type Object[] will be instantiated and returned for each row. The elements of the array will correspond to the elements of the list passed to the multiselect method, in the specified order.true +
+
true
PERSISTENCE:JAVADOC:928CriteriaQueryjakarta.persistence.criteria.CriteriaQuery.orderBy
+ + ( + Order[] + ) +
Specify the ordering expressions that are used to order the query results. Replaces the previous ordering expressions, if any. If no ordering expressions are specified, the previous ordering, if any, is simply removed, and results will be returned in no particular order. The left-to-right sequence of the ordering expressions determines the precedence, whereby the leftmost has highest precedence.true +
+
true
PERSISTENCE:JAVADOC:929CriteriaQueryjakarta.persistence.criteria.CriteriaQuery.orderBy
+ + ( + List + ) +
Specify the ordering expressions that are used to order the query results. Replaces the previous ordering expressions, if any. If no ordering expressions are specified, the previous ordering, if any, is simply removed, and results will be returned in no particular order. The order of the ordering expressions in the list determines the precedence, whereby the first element in the list has highest precedence.true +
+
true
PERSISTENCE:JAVADOC:930CriteriaQueryjakarta.persistence.criteria.CriteriaQuery.select
+ + ( + Selection + ) +
Specify the item that is to be returned in the query result. Replaces the previously specified selection(s), if any. Note: Applications using the string-based API may need to specify the type of the select item when it results from a get or join operation and the query result type is specified. For example: CriteriaQuery<String> q = cb.createQuery(String.class); Root<Order> order = q.from(Order.class); q.select(order.get("shippingAddress").<String>get("state")); CriteriaQuery<Product> q2 = cb.createQuery(Product.class); q2.select(q2.from(Order.class) .join("items") .<Item,Product>join("product"));true +
+
true
PERSISTENCE:JAVADOC:932CriteriaQueryjakarta.persistence.criteria.CriteriaQuery.where
+ + ( + Expression + ) +
Modify the query to restrict the query result according to the specified boolean expression. Replaces the previously added restriction(s), if any. This method only overrides the return type of the corresponding AbstractQuery method.true +
+
true
PERSISTENCE:JAVADOC:933CriteriaQueryjakarta.persistence.criteria.CriteriaQuery.where
+ + ( + Predicate[] + ) +
Modify the query to restrict the query result according to the conjunction of the specified restriction predicates. Replaces the previously added restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed. This method only overrides the return type of the corresponding AbstractQuery method.true +
+
true
PERSISTENCE:JAVADOC:951Expressionjakarta.persistence.criteria.Expression.as
+ + ( + Class + ) +
Perform a typecast upon the expression, returning a new expression object. This method does not cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure.true +
+
false
PERSISTENCE:JAVADOC:952Predicatejakarta.persistence.criteria.Expression.in
+ + ( + Object[] + ) +
Create a predicate to test whether the expression is a member of the argument list.true +
+
true
PERSISTENCE:JAVADOC:953Predicatejakarta.persistence.criteria.Expression.in
+ + ( + Expression[] + ) +
Create a predicate to test whether the expression is a member of the argument list.true +
+
true
PERSISTENCE:JAVADOC:954Predicatejakarta.persistence.criteria.Expression.in
+ + ( + Collection + ) +
Create a predicate to test whether the expression is a member of the collection.true +
+
true
PERSISTENCE:JAVADOC:955Predicatejakarta.persistence.criteria.Expression.in
+ + ( + Expression + ) +
Create a predicate to test whether the expression is a member of the collection.true +
+
true
PERSISTENCE:JAVADOC:956Predicatejakarta.persistence.criteria.Expression.isNotNull
+
Create a predicate to test whether the expression is not null.true +
+
true
PERSISTENCE:JAVADOC:957Predicatejakarta.persistence.criteria.Expression.isNull
+
Create a predicate to test whether the expression is null.true +
+
true
PERSISTENCE:JAVADOC:962Attributejakarta.persistence.criteria.Fetch.getAttribute
+
Return the metamodel attribute corresponding to the fetch join.true +
+
true
PERSISTENCE:JAVADOC:963JoinTypejakarta.persistence.criteria.Fetch.getJoinType
+
Return the join type used in the fetch join.true +
+
true
PERSISTENCE:JAVADOC:964FetchParentjakarta.persistence.criteria.Fetch.getParent
+
Return the parent of the fetched item.true +
+
true
PERSISTENCE:JAVADOC:974Fetchjakarta.persistence.criteria.FetchParent.fetch
+ + ( + SingularAttribute + ) +
Create a fetch join to the specified single-valued attribute using an inner join.true +
+
true
PERSISTENCE:JAVADOC:975Fetchjakarta.persistence.criteria.FetchParent.fetch
+ + ( + SingularAttribute + ,
JoinType + ) +
Create a fetch join to the specified single-valued attribute using the given join type.true +
+
true
PERSISTENCE:JAVADOC:976Fetchjakarta.persistence.criteria.FetchParent.fetch
+ + ( + PluralAttribute + ) +
Create a fetch join to the specified collection-valued attribute using an inner join.true +
+
true
PERSISTENCE:JAVADOC:977Fetchjakarta.persistence.criteria.FetchParent.fetch
+ + ( + PluralAttribute + ,
JoinType + ) +
Create a fetch join to the specified collection-valued attribute using the given join type.true +
+
true
PERSISTENCE:JAVADOC:978Fetchjakarta.persistence.criteria.FetchParent.fetch
+ + ( + String + ) +
Create a fetch join to the specified attribute using an inner join.true +
+
true
PERSISTENCE:JAVADOC:980Fetchjakarta.persistence.criteria.FetchParent.fetch
+ + ( + String + ,
JoinType + ) +
Create a fetch join to the specified attribute using the given join type.true +
+
true
PERSISTENCE:JAVADOC:982Setjakarta.persistence.criteria.FetchParent.getFetches
+
Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect the query.true +
+
true
PERSISTENCE:JAVADOC:983Fromjakarta.persistence.criteria.From.getCorrelationParent
+
Returns the parent From object from which the correlated From object has been obtained through correlation (use of a Subquery correlate method).true +
+
true
PERSISTENCE:JAVADOC:985Setjakarta.persistence.criteria.From.getJoins
+
Return the joins that have been made from this bound type. Returns empty set if no joins have been made from this bound type. Modifications to the set do not affect the query.true +
+
true
PERSISTENCE:JAVADOC:986booleanjakarta.persistence.criteria.From.isCorrelated
+
Whether the From object has been obtained as a result of correlation (use of a Subquery correlate method).true +
+
true
PERSISTENCE:JAVADOC:987Joinjakarta.persistence.criteria.From.join
+ + ( + SingularAttribute + ) +
Create an inner join to the specified single-valued attribute.true +
+
true
PERSISTENCE:JAVADOC:988Joinjakarta.persistence.criteria.From.join
+ + ( + SingularAttribute + ,
JoinType + ) +
Create a join to the specified single-valued attribute using the given join type.true +
+
true
PERSISTENCE:JAVADOC:989CollectionJoinjakarta.persistence.criteria.From.join
+ + ( + CollectionAttribute + ) +
Create an inner join to the specified Collection-valued attribute.true +
+
true
PERSISTENCE:JAVADOC:990SetJoinjakarta.persistence.criteria.From.join
+ + ( + SetAttribute + ) +
Create an inner join to the specified Set-valued attribute.true +
+
true
PERSISTENCE:JAVADOC:991ListJoinjakarta.persistence.criteria.From.join
+ + ( + ListAttribute + ) +
Create an inner join to the specified List-valued attribute.true +
+
true
PERSISTENCE:JAVADOC:992MapJoinjakarta.persistence.criteria.From.join
+ + ( + MapAttribute + ) +
Create an inner join to the specified Map-valued attribute.true +
+
true
PERSISTENCE:JAVADOC:993CollectionJoinjakarta.persistence.criteria.From.join
+ + ( + CollectionAttribute + ,
JoinType + ) +
Create a join to the specified Collection-valued attribute using the given join type.true +
+
true
PERSISTENCE:JAVADOC:994SetJoinjakarta.persistence.criteria.From.join
+ + ( + SetAttribute + ,
JoinType + ) +
Create a join to the specified Set-valued attribute using the given join type.true +
+
true
PERSISTENCE:JAVADOC:995ListJoinjakarta.persistence.criteria.From.join
+ + ( + ListAttribute + ,
JoinType + ) +
Create a join to the specified List-valued attribute using the given join type.true +
+
true
PERSISTENCE:JAVADOC:996MapJoinjakarta.persistence.criteria.From.join
+ + ( + MapAttribute + ,
JoinType + ) +
Create a join to the specified Map-valued attribute using the given join type.true +
+
true
PERSISTENCE:JAVADOC:997Joinjakarta.persistence.criteria.From.join
+ + ( + String + ) +
Create an inner join to the specified attribute.true +
+
true
PERSISTENCE:JAVADOC:999Joinjakarta.persistence.criteria.From.join
+ + ( + String + ,
JoinType + ) +
Create a join to the specified attribute using the given join type.true +
+
true
PERSISTENCE:JAVADOC:1001CollectionJoinjakarta.persistence.criteria.From.joinCollection
+ + ( + String + ) +
Create an inner join to the specified Collection-valued attribute.true +
+
true
PERSISTENCE:JAVADOC:1003CollectionJoinjakarta.persistence.criteria.From.joinCollection
+ + ( + String + ,
JoinType + ) +
Create a join to the specified Collection-valued attribute using the given join type.true +
+
true
PERSISTENCE:JAVADOC:1005ListJoinjakarta.persistence.criteria.From.joinList
+ + ( + String + ) +
Create an inner join to the specified List-valued attribute.true +
+
true
PERSISTENCE:JAVADOC:1007ListJoinjakarta.persistence.criteria.From.joinList
+ + ( + String + ,
JoinType + ) +
Create a join to the specified List-valued attribute using the given join type.true +
+
true
PERSISTENCE:JAVADOC:1009MapJoinjakarta.persistence.criteria.From.joinMap
+ + ( + String + ) +
Create an inner join to the specified Map-valued attribute.true +
+
true
PERSISTENCE:JAVADOC:1011MapJoinjakarta.persistence.criteria.From.joinMap
+ + ( + String + ,
JoinType + ) +
Create a join to the specified Map-valued attribute using the given join type.true +
+
true
PERSISTENCE:JAVADOC:1013SetJoinjakarta.persistence.criteria.From.joinSet
+ + ( + String + ) +
Create an inner join to the specified Set-valued attribute.true +
+
true
PERSISTENCE:JAVADOC:1015SetJoinjakarta.persistence.criteria.From.joinSet
+ + ( + String + ,
JoinType + ) +
Create a join to the specified Set-valued attribute using the given join type.true +
+
true
PERSISTENCE:JAVADOC:1035Attributejakarta.persistence.criteria.Join.getAttribute
+
Return the metamodel attribute corresponding to the join.true +
+
true
PERSISTENCE:JAVADOC:1036JoinTypejakarta.persistence.criteria.Join.getJoinType
+
Return the join type.true +
+
true
PERSISTENCE:JAVADOC:1037Fromjakarta.persistence.criteria.Join.getParent
+
Return the parent of the join.true +
+
true
PERSISTENCE:JAVADOC:1072JoinTypejakarta.persistence.criteria.JoinType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:1073JoinType[]jakarta.persistence.criteria.JoinType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:1074ListAttributejakarta.persistence.criteria.ListJoin.getModel
+
Return the metamodel representation for the list attribute.true +
+
true
PERSISTENCE:JAVADOC:1075Expressionjakarta.persistence.criteria.ListJoin.index
+
Create an expression that corresponds to the index of the object in the referenced association or element collection. This method must only be invoked upon an object that represents an association or element collection for which an order column has been defined.true +
+
true
PERSISTENCE:JAVADOC:1077Expressionjakarta.persistence.criteria.MapJoin.entry
+
Create an expression that corresponds to the map entry.true +
+
true
PERSISTENCE:JAVADOC:1078MapAttributejakarta.persistence.criteria.MapJoin.getModel
+
Return the metamodel representation for the map attribute.true +
+
true
PERSISTENCE:JAVADOC:1079Pathjakarta.persistence.criteria.MapJoin.key
+
Create a path expression that corresponds to the map key.true +
+
true
PERSISTENCE:JAVADOC:1080Pathjakarta.persistence.criteria.MapJoin.value
+
Create a path expression that corresponds to the map value. This method is for stylistic use only: it just returns this.true +
+
true
PERSISTENCE:JAVADOC:1082Expressionjakarta.persistence.criteria.Order.getExpression
+
Return the expression that is used for ordering.true +
+
true
PERSISTENCE:JAVADOC:1083booleanjakarta.persistence.criteria.Order.isAscending
+
Whether ascending ordering is in effect.true +
+
true
PERSISTENCE:JAVADOC:1084Orderjakarta.persistence.criteria.Order.reverse
+
Switch the ordering.true +
+
true
PERSISTENCE:JAVADOC:1093Classjakarta.persistence.criteria.ParameterExpression.{jakarta.persistence.Parameter}.getParameterType
+
Return the Java type of the parameter. Values bound to the parameter must be assignable to this type. This method is required to be supported for criteria queries only. Applications that use this method for Jakarta Persistence query language queries and native queries will not be portable.true +
+
true
PERSISTENCE:JAVADOC:1094Classjakarta.persistence.criteria.ParameterExpression.{jakarta.persistence.Parameter}.getParameterType
+
throws + IllegalStateException
+
if invoked on a parameter obtained from a query language query or native query when the implementation does not support this usetrue +
+
true
PERSISTENCE:JAVADOC:1096Pathjakarta.persistence.criteria.Path.get
+ + ( + SingularAttribute + ) +
Create a path corresponding to the referenced single-valued attribute.true +
+
true
PERSISTENCE:JAVADOC:1097Expressionjakarta.persistence.criteria.Path.get
+ + ( + PluralAttribute + ) +
Create a path corresponding to the referenced collection-valued attribute.true +
+
true
PERSISTENCE:JAVADOC:1098Expressionjakarta.persistence.criteria.Path.get
+ + ( + MapAttribute + ) +
Create a path corresponding to the referenced map-valued attribute.true +
+
true
PERSISTENCE:JAVADOC:1099Pathjakarta.persistence.criteria.Path.get
+ + ( + String + ) +
Create a path corresponding to the referenced attribute. Note: Applications using the string-based API may need to specify the type resulting from the get operation in order to avoid the use of Path variables. For example: CriteriaQuery<Person> q = cb.createQuery(Person.class); Root<Person> p = q.from(Person.class); q.select(p) .where(cb.isMember("joe", p.<Set<String>>get("nicknames"))); rather than: CriteriaQuery<Person> q = cb.createQuery(Person.class); Root<Person> p = q.from(Person.class); Path<Set<String>> nicknames = p.get("nicknames"); q.select(p) .where(cb.isMember("joe", nicknames));true +
+
true
PERSISTENCE:JAVADOC:1102Bindablejakarta.persistence.criteria.Path.getModel
+
Return the bindable object that corresponds to the path expression.true +
+
true
PERSISTENCE:JAVADOC:1103Pathjakarta.persistence.criteria.Path.getParentPath
+
Return the parent "node" in the path or null if no parent.true +
+
true
PERSISTENCE:JAVADOC:1104Expressionjakarta.persistence.criteria.Path.type
+
Create an expression corresponding to the type of the path.true +
+
true
PERSISTENCE:JAVADOC:1112PluralAttributejakarta.persistence.criteria.PluralJoin.getModel
+
Return the metamodel representation for the collection-valued attribute corresponding to the join.true +
+
true
PERSISTENCE:JAVADOC:1116Listjakarta.persistence.criteria.Predicate.getExpressions
+
Return the top-level conjuncts or disjuncts of the predicate. Returns empty list if there are no top-level conjuncts or disjuncts of the predicate. Modifications to the list do not affect the query.true +
+
true
PERSISTENCE:JAVADOC:1117BooleanOperatorjakarta.persistence.criteria.Predicate.getOperator
+
Return the boolean operator for the predicate. If the predicate is simple, this is AND.true +
+
true
PERSISTENCE:JAVADOC:1118booleanjakarta.persistence.criteria.Predicate.isNegated
+
Whether the predicate has been created from another predicate by applying the Predicate.not() method or the CriteriaBuilder.not() method.true +
+
true
PERSISTENCE:JAVADOC:1119Predicatejakarta.persistence.criteria.Predicate.not
+
Create a negation of the predicate.true +
+
true
PERSISTENCE:JAVADOC:1127BooleanOperatorjakarta.persistence.criteria.Predicate.BooleanOperator.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:1128BooleanOperator[]jakarta.persistence.criteria.Predicate.BooleanOperator.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:1129EntityTypejakarta.persistence.criteria.Root.getModel
+
Return the metamodel entity corresponding to the root.true +
+
true
PERSISTENCE:JAVADOC:1164Selectionjakarta.persistence.criteria.Selection.alias
+ + ( + String + ) +
Assigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item.true +
+
true
PERSISTENCE:JAVADOC:1165Listjakarta.persistence.criteria.Selection.getCompoundSelectionItems
+
Return the selection items composing a compound selection. Modifications to the list do not affect the query.true +
+
true
PERSISTENCE:JAVADOC:1167booleanjakarta.persistence.criteria.Selection.isCompoundSelection
+
Whether the selection item is a compound selection.true +
+
true
PERSISTENCE:JAVADOC:1170SetAttributejakarta.persistence.criteria.SetJoin.getModel
+
Return the metamodel representation for the set attribute.true +
+
true
PERSISTENCE:JAVADOC:1172Rootjakarta.persistence.criteria.Subquery.correlate
+ + ( + Root + ) +
Create a subquery root correlated to a root of the enclosing query.true +
+
true
PERSISTENCE:JAVADOC:1173Joinjakarta.persistence.criteria.Subquery.correlate
+ + ( + Join + ) +
Create a subquery join object correlated to a join object of the enclosing query.true +
+
true
PERSISTENCE:JAVADOC:1174CollectionJoinjakarta.persistence.criteria.Subquery.correlate
+ + ( + CollectionJoin + ) +
Create a subquery collection join object correlated to a collection join object of the enclosing query.true +
+
true
PERSISTENCE:JAVADOC:1175SetJoinjakarta.persistence.criteria.Subquery.correlate
+ + ( + SetJoin + ) +
Create a subquery set join object correlated to a set join object of the enclosing query.true +
+
true
PERSISTENCE:JAVADOC:1176ListJoinjakarta.persistence.criteria.Subquery.correlate
+ + ( + ListJoin + ) +
Create a subquery list join object correlated to a list join object of the enclosing query.true +
+
true
PERSISTENCE:JAVADOC:1177MapJoinjakarta.persistence.criteria.Subquery.correlate
+ + ( + MapJoin + ) +
Create a subquery map join object correlated to a map join object of the enclosing query.true +
+
true
PERSISTENCE:JAVADOC:1178Subqueryjakarta.persistence.criteria.Subquery.distinct
+ + ( + boolean + ) +
Specify whether duplicate query results will be eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct has not been specified, duplicate results must be retained. This method only overrides the return type of the corresponding AbstractQuery method.true +
+
true
PERSISTENCE:JAVADOC:1179Setjakarta.persistence.criteria.Subquery.getCorrelatedJoins
+
Return the correlated joins of the subquery. Returns empty set if the subquery has no correlated joins. Modifications to the set do not affect the query.true +
+
true
PERSISTENCE:JAVADOC:1180AbstractQueryjakarta.persistence.criteria.Subquery.getParent
+
Return the query of which this is a subquery. This must be a CriteriaQuery or a Subquery.true +
+
true
PERSISTENCE:JAVADOC:1181Expressionjakarta.persistence.criteria.Subquery.getSelection
+
Return the selection expression.true +
+
true
PERSISTENCE:JAVADOC:1182Subqueryjakarta.persistence.criteria.Subquery.groupBy
+ + ( + Expression[] + ) +
Specify the expressions that are used to form groups over the subquery results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added grouping expressions are simply removed. This method only overrides the return type of the corresponding AbstractQuery method.true +
+
true
PERSISTENCE:JAVADOC:1183Subqueryjakarta.persistence.criteria.Subquery.groupBy
+ + ( + List + ) +
Specify the expressions that are used to form groups over the subquery results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added grouping expressions are simply removed. This method only overrides the return type of the corresponding AbstractQuery method.true +
+
true
PERSISTENCE:JAVADOC:1184Subqueryjakarta.persistence.criteria.Subquery.having
+ + ( + Expression + ) +
Specify a restriction over the groups of the subquery. Replaces the previous having restriction(s), if any. This method only overrides the return type of the corresponding AbstractQuery method.true +
+
true
PERSISTENCE:JAVADOC:1185Subqueryjakarta.persistence.criteria.Subquery.having
+ + ( + Predicate[] + ) +
Specify restrictions over the groups of the subquery according the conjunction of the specified restriction predicates. Replaces the previously added having restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed. This method only overrides the return type of the corresponding AbstractQuery method.true +
+
true
PERSISTENCE:JAVADOC:1186Subqueryjakarta.persistence.criteria.Subquery.select
+ + ( + Expression + ) +
Specify the item that is to be returned as the subquery result. Replaces the previously specified selection, if any.true +
+
true
PERSISTENCE:JAVADOC:1187Subqueryjakarta.persistence.criteria.Subquery.where
+ + ( + Expression + ) +
Modify the subquery to restrict the result according to the specified boolean expression. Replaces the previously added restriction(s), if any. This method only overrides the return type of the corresponding AbstractQuery method.true +
+
true
PERSISTENCE:JAVADOC:1188Subqueryjakarta.persistence.criteria.Subquery.where
+ + ( + Predicate[] + ) +
Modify the subquery to restrict the result according to the conjunction of the specified restriction predicates. Replaces the previously added restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed. This method only overrides the return type of the corresponding AbstractQuery method.true +
+
true
PERSISTENCE:JAVADOC:1213ManagedTypejakarta.persistence.metamodel.Attribute.getDeclaringType
+
Return the managed type representing the type in which the attribute was declared.true +
+
true
PERSISTENCE:JAVADOC:1214Memberjakarta.persistence.metamodel.Attribute.getJavaMember
+
Return the java.lang.reflect.Member for the represented attribute.true +
+
true
PERSISTENCE:JAVADOC:1215Classjakarta.persistence.metamodel.Attribute.getJavaType
+
Return the Java type of the represented attribute.true +
+
true
PERSISTENCE:JAVADOC:1216Stringjakarta.persistence.metamodel.Attribute.getName
+
Return the name of the attribute.true +
+
true
PERSISTENCE:JAVADOC:1217PersistentAttributeTypejakarta.persistence.metamodel.Attribute.getPersistentAttributeType
+
Return the persistent attribute type for the attribute.true +
+
true
PERSISTENCE:JAVADOC:1218booleanjakarta.persistence.metamodel.Attribute.isAssociation
+
Is the attribute an association.true +
+
true
PERSISTENCE:JAVADOC:1219booleanjakarta.persistence.metamodel.Attribute.isCollection
+
Is the attribute collection-valued (represents a Collection, Set, List, or Map).true +
+
true
PERSISTENCE:JAVADOC:1220PersistentAttributeTypejakarta.persistence.metamodel.Attribute.PersistentAttributeType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:1221PersistentAttributeType[]jakarta.persistence.metamodel.Attribute.PersistentAttributeType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:1224Classjakarta.persistence.metamodel.Bindable.getBindableJavaType
+
Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE, the Java element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE, the Java type of the represented entity or attribute is returned.true +
+
true
PERSISTENCE:JAVADOC:1225BindableTypejakarta.persistence.metamodel.Bindable.getBindableType
+
Return the bindable type of the represented object.true +
+
true
PERSISTENCE:JAVADOC:1226BindableTypejakarta.persistence.metamodel.Bindable.BindableType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:1227BindableType[]jakarta.persistence.metamodel.Bindable.BindableType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:1280Stringjakarta.persistence.metamodel.EntityType.getName
+
Return the entity name.true +
+
true
PERSISTENCE:JAVADOC:1297SingularAttributejakarta.persistence.metamodel.IdentifiableType.getDeclaredId
+ + ( + Class + ) +
Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass.true +
+
true
PERSISTENCE:JAVADOC:1299SingularAttributejakarta.persistence.metamodel.IdentifiableType.getDeclaredVersion
+ + ( + Class + ) +
Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass.true +
+
true
PERSISTENCE:JAVADOC:1301SingularAttributejakarta.persistence.metamodel.IdentifiableType.getId
+ + ( + Class + ) +
Return the attribute that corresponds to the id attribute of the entity or mapped superclass.true +
+
true
PERSISTENCE:JAVADOC:1303Setjakarta.persistence.metamodel.IdentifiableType.getIdClassAttributes
+
Return the attributes corresponding to the id class of the identifiable type.true +
+
true
PERSISTENCE:JAVADOC:1305Typejakarta.persistence.metamodel.IdentifiableType.getIdType
+
Return the type that represents the type of the id.true +
+
true
PERSISTENCE:JAVADOC:1306IdentifiableTypejakarta.persistence.metamodel.IdentifiableType.getSupertype
+
Return the identifiable type that corresponds to the most specific mapped superclass or entity extended by the entity or mapped superclass.true +
+
true
PERSISTENCE:JAVADOC:1307SingularAttributejakarta.persistence.metamodel.IdentifiableType.getVersion
+ + ( + Class + ) +
Return the attribute that corresponds to the version attribute of the entity or mapped superclass.true +
+
true
PERSISTENCE:JAVADOC:1309booleanjakarta.persistence.metamodel.IdentifiableType.hasSingleIdAttribute
+
Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false for an idclass.true +
+
true
PERSISTENCE:JAVADOC:1310booleanjakarta.persistence.metamodel.IdentifiableType.hasVersionAttribute
+
Whether the identifiable type has a version attribute.true +
+
true
PERSISTENCE:JAVADOC:1363Attributejakarta.persistence.metamodel.ManagedType.getAttribute
+ + ( + String + ) +
Return the attribute of the managed type that corresponds to the specified name.true +
+
true
PERSISTENCE:JAVADOC:1365Setjakarta.persistence.metamodel.ManagedType.getAttributes
+
Return the attributes of the managed type.true +
+
true
PERSISTENCE:JAVADOC:1366CollectionAttributejakarta.persistence.metamodel.ManagedType.getCollection
+ + ( + String + ,
Class + ) +
Return the Collection-valued attribute of the managed type that corresponds to the specified name and Java element type.true +
+
true
PERSISTENCE:JAVADOC:1368CollectionAttributejakarta.persistence.metamodel.ManagedType.getCollection
+ + ( + String + ) +
Return the Collection-valued attribute of the managed type that corresponds to the specified name.true +
+
true
PERSISTENCE:JAVADOC:1370Attributejakarta.persistence.metamodel.ManagedType.getDeclaredAttribute
+ + ( + String + ) +
Return the attribute declared by the managed type that corresponds to the specified name.true +
+
true
PERSISTENCE:JAVADOC:1372Setjakarta.persistence.metamodel.ManagedType.getDeclaredAttributes
+
Return the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes.true +
+
true
PERSISTENCE:JAVADOC:1373CollectionAttributejakarta.persistence.metamodel.ManagedType.getDeclaredCollection
+ + ( + String + ,
Class + ) +
Return the Collection-valued attribute declared by the managed type that corresponds to the specified name and Java element type.true +
+
true
PERSISTENCE:JAVADOC:1375CollectionAttributejakarta.persistence.metamodel.ManagedType.getDeclaredCollection
+ + ( + String + ) +
Return the Collection-valued attribute declared by the managed type that corresponds to the specified name.true +
+
true
PERSISTENCE:JAVADOC:1377ListAttributejakarta.persistence.metamodel.ManagedType.getDeclaredList
+ + ( + String + ,
Class + ) +
Return the List-valued attribute declared by the managed type that corresponds to the specified name and Java element type.true +
+
true
PERSISTENCE:JAVADOC:1379ListAttributejakarta.persistence.metamodel.ManagedType.getDeclaredList
+ + ( + String + ) +
Return the List-valued attribute declared by the managed type that corresponds to the specified name.true +
+
true
PERSISTENCE:JAVADOC:1381MapAttributejakarta.persistence.metamodel.ManagedType.getDeclaredMap
+ + ( + String + ,
Class + ,
Class + ) +
Return the Map-valued attribute declared by the managed type that corresponds to the specified name and Java key and value types.true +
+
true
PERSISTENCE:JAVADOC:1383MapAttributejakarta.persistence.metamodel.ManagedType.getDeclaredMap
+ + ( + String + ) +
Return the Map-valued attribute declared by the managed type that corresponds to the specified name.true +
+
true
PERSISTENCE:JAVADOC:1385Setjakarta.persistence.metamodel.ManagedType.getDeclaredPluralAttributes
+
Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) declared by the managed type. Returns empty set if the managed type has no declared multi-valued attributes.true +
+
true
PERSISTENCE:JAVADOC:1386SetAttributejakarta.persistence.metamodel.ManagedType.getDeclaredSet
+ + ( + String + ,
Class + ) +
Return the Set-valued attribute declared by the managed type that corresponds to the specified name and Java element type.true +
+
true
PERSISTENCE:JAVADOC:1388SetAttributejakarta.persistence.metamodel.ManagedType.getDeclaredSet
+ + ( + String + ) +
Return the Set-valued attribute declared by the managed type that corresponds to the specified name.true +
+
true
PERSISTENCE:JAVADOC:1390SingularAttributejakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttribute
+ + ( + String + ,
Class + ) +
Return the single-valued attribute declared by the managed type that corresponds to the specified name and Java type.true +
+
true
PERSISTENCE:JAVADOC:1392SingularAttributejakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttribute
+ + ( + String + ) +
Return the single-valued attribute declared by the managed type that corresponds to the specified name.true +
+
true
PERSISTENCE:JAVADOC:1394Setjakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttributes
+
Return the single-valued attributes declared by the managed type. Returns empty set if the managed type has no declared single-valued attributes.true +
+
true
PERSISTENCE:JAVADOC:1395ListAttributejakarta.persistence.metamodel.ManagedType.getList
+ + ( + String + ,
Class + ) +
Return the List-valued attribute of the managed type that corresponds to the specified name and Java element type.true +
+
true
PERSISTENCE:JAVADOC:1397ListAttributejakarta.persistence.metamodel.ManagedType.getList
+ + ( + String + ) +
Return the List-valued attribute of the managed type that corresponds to the specified name.true +
+
true
PERSISTENCE:JAVADOC:1399MapAttributejakarta.persistence.metamodel.ManagedType.getMap
+ + ( + String + ,
Class + ,
Class + ) +
Return the Map-valued attribute of the managed type that corresponds to the specified name and Java key and value types.true +
+
true
PERSISTENCE:JAVADOC:1401MapAttributejakarta.persistence.metamodel.ManagedType.getMap
+ + ( + String + ) +
Return the Map-valued attribute of the managed type that corresponds to the specified name.true +
+
true
PERSISTENCE:JAVADOC:1403Setjakarta.persistence.metamodel.ManagedType.getPluralAttributes
+
Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) of the managed type. Returns empty set if the managed type has no multi-valued attributes.true +
+
true
PERSISTENCE:JAVADOC:1404SetAttributejakarta.persistence.metamodel.ManagedType.getSet
+ + ( + String + ,
Class + ) +
Return the Set-valued attribute of the managed type that corresponds to the specified name and Java element type.true +
+
true
PERSISTENCE:JAVADOC:1406SetAttributejakarta.persistence.metamodel.ManagedType.getSet
+ + ( + String + ) +
Return the Set-valued attribute of the managed type that corresponds to the specified name.true +
+
true
PERSISTENCE:JAVADOC:1408SingularAttributejakarta.persistence.metamodel.ManagedType.getSingularAttribute
+ + ( + String + ,
Class + ) +
Return the single-valued attribute of the managed type that corresponds to the specified name and Java type.true +
+
true
PERSISTENCE:JAVADOC:1410SingularAttributejakarta.persistence.metamodel.ManagedType.getSingularAttribute
+ + ( + String + ) +
Return the single-valued attribute of the managed type that corresponds to the specified name.true +
+
true
PERSISTENCE:JAVADOC:1412Setjakarta.persistence.metamodel.ManagedType.getSingularAttributes
+
Return the single-valued attributes of the managed type. Returns empty set if the managed type has no single-valued attributes.true +
+
true
PERSISTENCE:JAVADOC:1415Classjakarta.persistence.metamodel.MapAttribute.getKeyJavaType
+
Return the Java type of the map key.true +
+
true
PERSISTENCE:JAVADOC:1416Typejakarta.persistence.metamodel.MapAttribute.getKeyType
+
Return the type representing the key type of the map.true +
+
true
PERSISTENCE:JAVADOC:1433EmbeddableTypejakarta.persistence.metamodel.Metamodel.embeddable
+ + ( + Class + ) +
Return the metamodel embeddable type representing the embeddable class.true +
+
true
PERSISTENCE:JAVADOC:1435EntityTypejakarta.persistence.metamodel.Metamodel.entity
+ + ( + Class + ) +
Return the metamodel entity type representing the entity.true +
+
true
PERSISTENCE:JAVADOC:1437Setjakarta.persistence.metamodel.Metamodel.getEmbeddables
+
Return the metamodel embeddable types. Returns empty set if there are no embeddable types.true +
+
true
PERSISTENCE:JAVADOC:1438Setjakarta.persistence.metamodel.Metamodel.getEntities
+
Return the metamodel entity types.true +
+
true
PERSISTENCE:JAVADOC:1439Setjakarta.persistence.metamodel.Metamodel.getManagedTypes
+
Return the metamodel managed types.true +
+
true
PERSISTENCE:JAVADOC:1440ManagedTypejakarta.persistence.metamodel.Metamodel.managedType
+ + ( + Class + ) +
Return the metamodel managed type representing the entity, mapped superclass, or embeddable class.true +
+
true
PERSISTENCE:JAVADOC:1442CollectionTypejakarta.persistence.metamodel.PluralAttribute.getCollectionType
+
Return the collection type.true +
+
true
PERSISTENCE:JAVADOC:1443Typejakarta.persistence.metamodel.PluralAttribute.getElementType
+
Return the type representing the element type of the collection.true +
+
true
PERSISTENCE:JAVADOC:1453CollectionTypejakarta.persistence.metamodel.PluralAttribute.CollectionType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:1454CollectionType[]jakarta.persistence.metamodel.PluralAttribute.CollectionType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:1457Typejakarta.persistence.metamodel.SingularAttribute.getType
+
Return the type that represents the type of the attribute.true +
+
true
PERSISTENCE:JAVADOC:1458booleanjakarta.persistence.metamodel.SingularAttribute.isId
+
Is the attribute an id attribute. This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class.true +
+
true
PERSISTENCE:JAVADOC:1459booleanjakarta.persistence.metamodel.SingularAttribute.isOptional
+
Can the attribute be null.true +
+
true
PERSISTENCE:JAVADOC:1460booleanjakarta.persistence.metamodel.SingularAttribute.isVersion
+
Is the attribute a version attribute.true +
+
true
PERSISTENCE:JAVADOC:1470Classjakarta.persistence.metamodel.StaticMetamodel.value
+
Class being modelled by the annotated class.true +
+
true
PERSISTENCE:JAVADOC:1471Classjakarta.persistence.metamodel.Type.getJavaType
+
Return the represented Java type.true +
+
true
PERSISTENCE:JAVADOC:1472PersistenceTypejakarta.persistence.metamodel.Type.getPersistenceType
+
Return the persistence type.true +
+
true
PERSISTENCE:JAVADOC:1473PersistenceTypejakarta.persistence.metamodel.Type.PersistenceType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:1474PersistenceType[]jakarta.persistence.metamodel.Type.PersistenceType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:1477LoadStatejakarta.persistence.spi.LoadState.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:1478LoadState[]jakarta.persistence.spi.LoadState.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:1479EntityManagerFactoryjakarta.persistence.spi.PersistenceProvider.createContainerEntityManagerFactory
+ + ( + PersistenceUnitInfo + ,
Map + ) +
Called by the container when an EntityManagerFactory is to be created.true +
+
true
PERSISTENCE:JAVADOC:1480EntityManagerFactoryjakarta.persistence.spi.PersistenceProvider.createEntityManagerFactory
+ + ( + String + ,
Map + ) +
Called by Persistence class when an EntityManagerFactory is to be created.true +
+
true
PERSISTENCE:JAVADOC:1481ProviderUtiljakarta.persistence.spi.PersistenceProvider.getProviderUtil
+
Return the utility interface implemented by the persistence provider.true +
+
true
PERSISTENCE:JAVADOC:1482voidjakarta.persistence.spi.PersistenceProviderResolver.clearCachedProviders
+
Clear cache of providers.true +
+
false
PERSISTENCE:JAVADOC:1483Listjakarta.persistence.spi.PersistenceProviderResolver.getPersistenceProviders
+
Returns a list of the PersistenceProvider implementations available in the runtime environment.true +
+
false
PERSISTENCE:JAVADOC:1484PersistenceProviderResolverjakarta.persistence.spi.PersistenceProviderResolverHolder.getPersistenceProviderResolver
+
Returns the current persistence provider resolver.true +
+
false
PERSISTENCE:JAVADOC:1485PersistenceProviderResolverHolderjakarta.persistence.spi.PersistenceProviderResolverHolder.PersistenceProviderResolverHolder
+
+
+
true +
+
false
PERSISTENCE:JAVADOC:1486voidjakarta.persistence.spi.PersistenceProviderResolverHolder.setPersistenceProviderResolver
+ + ( + PersistenceProviderResolver + ) +
Defines the persistence provider resolver used.true +
+
false
PERSISTENCE:JAVADOC:1488booleanjakarta.persistence.spi.PersistenceUnitInfo.excludeUnlistedClasses
+
Returns whether classes in the root of the persistence unit that have not been explicitly listed are to be included in the set of managed classes. This value corresponds to the exclude-unlisted-classes element in the persistence.xml file.true +
+
true
PERSISTENCE:JAVADOC:1489ClassLoaderjakarta.persistence.spi.PersistenceUnitInfo.getClassLoader
+
Returns ClassLoader that the provider may use to load any classes, resources, or open URLs.true +
+
true
PERSISTENCE:JAVADOC:1490Listjakarta.persistence.spi.PersistenceUnitInfo.getJarFileUrls
+
Returns a list of URLs for the jar files or exploded jar file directories that the persistence provider must examine for managed classes of the persistence unit. Each URL corresponds to a jar-file element in the persistence.xml file. A URL will either be a file: URL referring to a jar file or referring to a directory that contains an exploded jar file, or some other URL from which an InputStream in jar format can be obtained.true +
+
true
PERSISTENCE:JAVADOC:1491DataSourcejakarta.persistence.spi.PersistenceUnitInfo.getJtaDataSource
+
Returns the JTA-enabled data source to be used by the persistence provider. The data source corresponds to the jta-data-source element in the persistence.xml file or is provided at deployment or by the container.true +
+
true
PERSISTENCE:JAVADOC:1492Listjakarta.persistence.spi.PersistenceUnitInfo.getManagedClassNames
+
Returns the list of the names of the classes that the persistence provider must add to its set of managed classes. Each name corresponds to a named class element in the persistence.xml file.true +
+
true
PERSISTENCE:JAVADOC:1493Listjakarta.persistence.spi.PersistenceUnitInfo.getMappingFileNames
+
Returns the list of the names of the mapping files that the persistence provider must load to determine the mappings for the entity classes. The mapping files must be in the standard XML mapping format, be uniquely named and be resource-loadable from the application classpath. Each mapping file name corresponds to a mapping-file element in the persistence.xml file.true +
+
true
PERSISTENCE:JAVADOC:1494ClassLoaderjakarta.persistence.spi.PersistenceUnitInfo.getNewTempClassLoader
+
Return a new instance of a ClassLoader that the provider may use to temporarily load any classes, resources, or open URLs. The scope and classpath of this loader is exactly the same as that of the loader returned by PersistenceUnitInfo#getClassLoader. None of the classes loaded by this class loader will be visible to application components. The provider may only use this ClassLoader within the scope of the PersistenceProvider#createContainerEntityManagerFactory call.true +
+
true
PERSISTENCE:JAVADOC:1495DataSourcejakarta.persistence.spi.PersistenceUnitInfo.getNonJtaDataSource
+
Returns the non-JTA-enabled data source to be used by the persistence provider for accessing data outside a JTA transaction. The data source corresponds to the named non-jta-data-source element in the persistence.xml file or provided at deployment or by the container.true +
+
true
PERSISTENCE:JAVADOC:1496Stringjakarta.persistence.spi.PersistenceUnitInfo.getPersistenceProviderClassName
+
Returns the fully qualified name of the persistence provider implementation class. Corresponds to the provider element in the persistence.xml file.true +
+
true
PERSISTENCE:JAVADOC:1497Stringjakarta.persistence.spi.PersistenceUnitInfo.getPersistenceUnitName
+
Returns the name of the persistence unit. Corresponds to the name attribute in the persistence.xml file.true +
+
true
PERSISTENCE:JAVADOC:1498URLjakarta.persistence.spi.PersistenceUnitInfo.getPersistenceUnitRootUrl
+
Returns the URL for the jar file or directory that is the root of the persistence unit. (If the persistence unit is rooted in the WEB-INF/classes directory, this will be the URL of that directory.) The URL will either be a file: URL referring to a jar file or referring to a directory that contains an exploded jar file, or some other URL from which an InputStream in jar format can be obtained.true +
+
true
PERSISTENCE:JAVADOC:1499Stringjakarta.persistence.spi.PersistenceUnitInfo.getPersistenceXMLSchemaVersion
+
Returns the schema version of the persistence.xml file.true +
+
true
PERSISTENCE:JAVADOC:1500Propertiesjakarta.persistence.spi.PersistenceUnitInfo.getProperties
+
Returns a properties object. Each property corresponds to a property element in the persistence.xml file or to a property set by the container.true +
+
true
PERSISTENCE:JAVADOC:1501SharedCacheModejakarta.persistence.spi.PersistenceUnitInfo.getSharedCacheMode
+
Returns the specification of how the provider must use a second-level cache for the persistence unit. The result of this method corresponds to the shared-cache-mode element in the persistence.xml file.true +
+
true
PERSISTENCE:JAVADOC:1502PersistenceUnitTransactionTypejakarta.persistence.spi.PersistenceUnitInfo.getTransactionType
+
Returns the transaction type of the entity managers created by the EntityManagerFactory. The transaction type corresponds to the transaction-type attribute in the persistence.xml file.true +
+
true
PERSISTENCE:JAVADOC:1503ValidationModejakarta.persistence.spi.PersistenceUnitInfo.getValidationMode
+
Returns the validation mode to be used by the persistence provider for the persistence unit. The validation mode corresponds to the validation-mode element in the persistence.xml file.true +
+
true
PERSISTENCE:JAVADOC:1504PersistenceUnitTransactionTypejakarta.persistence.spi.PersistenceUnitTransactionType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:1505PersistenceUnitTransactionType[]jakarta.persistence.spi.PersistenceUnitTransactionType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:1506LoadStatejakarta.persistence.spi.ProviderUtil.isLoaded
+ + ( + Object + ) +
If the provider determines that the entity has been provided by itself and that the state of all attributes for which FetchType.EAGER has been specified have been loaded, this method returns LoadState.LOADED. If the provider determines that the entity has been provided by itself and that not all attributes with FetchType.EAGER have been loaded, this method returns LoadState.NOT_LOADED. If the provider cannot determine if the entity has been provided by itself, this method returns LoadState.UNKNOWN. The provider's implementation of this method must not obtain a reference to any attribute value, as this could trigger the loading of entity state if the entity has been provided by a different provider.true +
+
true
PERSISTENCE:JAVADOC:1507LoadStatejakarta.persistence.spi.ProviderUtil.isLoadedWithoutReference
+ + ( + Object + ,
String + ) +
If the provider determines that the entity has been provided by itself and that the state of the specified attribute has been loaded, this method returns LoadState.LOADED. If the provider determines that the entity has been provided by itself and that either entity attributes with FetchType.EAGER have not been loaded or that the state of the specified attribute has not been loaded, this methods returns LoadState.NOT_LOADED. If a provider cannot determine the load state, this method returns LoadState.UNKNOWN. The provider's implementation of this method must not obtain a reference to an attribute value, as this could trigger the loading of entity state if the entity has been provided by a different provider.true +
+
false
PERSISTENCE:JAVADOC:1508LoadStatejakarta.persistence.spi.ProviderUtil.isLoadedWithReference
+ + ( + Object + ,
String + ) +
If the provider determines that the entity has been provided by itself and that the state of the specified attribute has been loaded, this method returns LoadState.LOADED. If a provider determines that the entity has been provided by itself and that either the entity attributes with FetchType.EAGER have not been loaded or that the state of the specified attribute has not been loaded, this method returns return LoadState.NOT_LOADED. If the provider cannot determine the load state, this method returns LoadState.UNKNOWN. The provider's implementation of this method is permitted to obtain a reference to the attribute value. (This access is safe because providers which might trigger the loading of the attribute state will have already been determined by isLoadedWithoutReference. )true +
+
false
PERSISTENCE:JAVADOC:1509Objectjakarta.persistence.Cache.unwrap
+ + ( + Class + ) +
Return an object of the specified type to allow access to the provider-specific API. If the provider's Cache implementation does not support the specified class, the PersistenceException is thrown.true +
+
false
PERSISTENCE:JAVADOC:1511Classjakarta.persistence.ColumnResult.type
+
(Optional) The Java type to which the column type is to be mapped. If the type element is not specified, the default JDBC type mapping for the column will be used.true +
+
true
PERSISTENCE:JAVADOC:1512ColumnResult[]jakarta.persistence.ConstructorResult.columns
+
(Required) The mapping of columns in the SELECT list to the arguments of the intended constructor, in order.true +
+
true
PERSISTENCE:JAVADOC:1513Classjakarta.persistence.ConstructorResult.targetClass
+
(Required) The class whose constructor is to be invoked.true +
+
true
PERSISTENCE:JAVADOC:1514StoredProcedureQueryjakarta.persistence.EntityManager.createNamedStoredProcedureQuery
+ + ( + String + ) +
Create an instance of StoredProcedureQuery for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed. If the stored procedure returns one or more result sets, any result set will be returned as a list of type Object[].true +
+
true
PERSISTENCE:JAVADOC:1516Queryjakarta.persistence.EntityManager.createQuery
+ + ( + CriteriaUpdate + ) +
Create an instance of Query for executing a criteria update query.true +
+
true
PERSISTENCE:JAVADOC:1518Queryjakarta.persistence.EntityManager.createQuery
+ + ( + CriteriaDelete + ) +
Create an instance of Query for executing a criteria delete query.true +
+
true
PERSISTENCE:JAVADOC:1520StoredProcedureQueryjakarta.persistence.EntityManager.createStoredProcedureQuery
+ + ( + String + ) +
Create an instance of StoredProcedureQuery for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed. If the stored procedure returns one or more result sets, any result set will be returned as a list of type Object[].true +
+
true
PERSISTENCE:JAVADOC:1522StoredProcedureQueryjakarta.persistence.EntityManager.createStoredProcedureQuery
+ + ( + String + ,
Class[] + ) +
Create an instance of StoredProcedureQuery for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed. The resultClass arguments must be specified in the order in which the result sets will be returned by the stored procedure invocation.true +
+
true
PERSISTENCE:JAVADOC:1524StoredProcedureQueryjakarta.persistence.EntityManager.createStoredProcedureQuery
+ + ( + String + ,
String[] + ) +
Create an instance of StoredProcedureQuery for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed. The resultSetMapping arguments must be specified in the order in which the result sets will be returned by the stored procedure invocation.true +
+
true
PERSISTENCE:JAVADOC:1526booleanjakarta.persistence.EntityManager.isJoinedToTransaction
+
Determine whether the entity manager is joined to the current transaction. Returns false if the entity manager is not joined to the current transaction or if no transaction is activetrue +
+
true
PERSISTENCE:JAVADOC:1527voidjakarta.persistence.EntityManagerFactory.addNamedQuery
+ + ( + String + ,
Query + ) +
Define the query, typed query, or stored procedure query as a named query such that future query objects can be created from it using the createNamedQuery or createNamedStoredProcedureQuery method. Any configuration of the query object (except for actual parameter binding) in effect when the named query is added is retained as part of the named query definition. This includes configuration information such as max results, hints, flush mode, lock mode, result set mapping information, and information about stored procedure parameters. When the query is executed, information that can be set by means of the query APIs can be overridden. Information that is overridden does not affect the named query as registered with the entity manager factory, and thus does not affect subsequent query objects created from it by means of the createNamedQuery or createNamedStoredProcedureQuery method. If a named query of the same name has been previously defined, either statically via metadata or via this method, that query definition is replaced.true +
+
true
PERSISTENCE:JAVADOC:1528Objectjakarta.persistence.EntityManagerFactory.unwrap
+ + ( + Class + ) +
Return an object of the specified type to allow access to the provider-specific API. If the provider's EntityManagerFactory implementation does not support the specified class, the PersistenceException is thrown.true +
+
false
PERSISTENCE:JAVADOC:1530NamedStoredProcedureQuery[]jakarta.persistence.NamedStoredProcedureQueries.value
+
(Required) Array of NamedStoredProcedureQuery annotations.true +
+
true
PERSISTENCE:JAVADOC:1531QueryHint[]jakarta.persistence.NamedStoredProcedureQuery.hints
+
Query properties and hints. (May include vendor-specific query hints.)true +
+
false
PERSISTENCE:JAVADOC:1532Stringjakarta.persistence.NamedStoredProcedureQuery.name
+
The name used to refer to the query with the EntityManager methods that create stored procedure query objects.true +
+
true
PERSISTENCE:JAVADOC:1533StoredProcedureParameter[]jakarta.persistence.NamedStoredProcedureQuery.parameters
+
Information about all parameters of the stored procedure. All parameters must be specified in the order in which they occur in the parameter list of the stored procedure.true +
+
true
PERSISTENCE:JAVADOC:1534Stringjakarta.persistence.NamedStoredProcedureQuery.procedureName
+
The name of the stored procedure in the database.true +
+
true
PERSISTENCE:JAVADOC:1535Class[]jakarta.persistence.NamedStoredProcedureQuery.resultClasses
+
The class or classes that are used to map the results.true +
+
true
PERSISTENCE:JAVADOC:1537ParameterModejakarta.persistence.ParameterMode.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:1538ParameterMode[]jakarta.persistence.ParameterMode.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:1539SynchronizationTypejakarta.persistence.PersistenceContext.synchronization
+
(Optional) Specifies whether the persistence context is always automatically synchronized with the current transaction or whether the persistence context must be explicitly joined to the current transaction by means of the EntityManager EntityManager#joinTransaction joinTransaction method.true +
+
true
PERSISTENCE:JAVADOC:1540ConstructorResult[]jakarta.persistence.SqlResultSetMapping.classes
+
Specifies the result set mapping to constructors.true +
+
true
PERSISTENCE:JAVADOC:1541ParameterModejakarta.persistence.StoredProcedureParameter.mode
+
Specifies whether the parameter is an IN, INOUT, OUT, or REF_CURSOR parameter. REF_CURSOR parameters are used by some databases to return result sets from a stored procedure.true +
+
true
PERSISTENCE:JAVADOC:1542Stringjakarta.persistence.StoredProcedureParameter.name
+
The name of the parameter as defined by the stored procedure in the database. If a name is not specified, it is assumed that the stored procedure uses positional parameters.true +
+
false
PERSISTENCE:JAVADOC:1543Classjakarta.persistence.StoredProcedureParameter.type
+
JDBC type of the paramter.true +
+
true
PERSISTENCE:JAVADOC:1544booleanjakarta.persistence.StoredProcedureQuery.execute
+
Return true if the first result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any.true +
+
true
PERSISTENCE:JAVADOC:1547Objectjakarta.persistence.StoredProcedureQuery.getOutputParameterValue
+ + ( + int + ) +
Retrieve a value passed back from the procedure through an INOUT or OUT parameter. For portability, all results corresponding to result sets and update counts must be retrieved before the values of output parameters.true +
+
true
PERSISTENCE:JAVADOC:1549Objectjakarta.persistence.StoredProcedureQuery.getOutputParameterValue
+ + ( + String + ) +
Retrieve a value passed back from the procedure through an INOUT or OUT parameter. For portability, all results corresponding to result sets and update counts must be retrieved before the values of output parameters.true +
+
false
PERSISTENCE:JAVADOC:1551intjakarta.persistence.StoredProcedureQuery.getUpdateCount
+
Return the update count or -1 if there is no pending result or if the next result is not an update count.true +
+
true
PERSISTENCE:JAVADOC:1554booleanjakarta.persistence.StoredProcedureQuery.hasMoreResults
+
Return true if the next result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any.true +
+
true
PERSISTENCE:JAVADOC:1557StoredProcedureQueryjakarta.persistence.StoredProcedureQuery.registerStoredProcedureParameter
+ + ( + int + ,
Class + ,
ParameterMode + ) +
Register a positional parameter. All parameters must be registered.true +
+
true
PERSISTENCE:JAVADOC:1558StoredProcedureQueryjakarta.persistence.StoredProcedureQuery.registerStoredProcedureParameter
+ + ( + String + ,
Class + ,
ParameterMode + ) +
Register a named parameter.true +
+
true
PERSISTENCE:JAVADOC:1559StoredProcedureQueryjakarta.persistence.StoredProcedureQuery.setFlushMode
+ + ( + FlushModeType + ) +
Set the flush mode type to be used for the query execution. The flush mode type applies to the query regardless of the flush mode type in use for the entity manager.true +
+
true
PERSISTENCE:JAVADOC:1560StoredProcedureQueryjakarta.persistence.StoredProcedureQuery.setHint
+ + ( + String + ,
Object + ) +
Set a query property or hint. The hints elements may be used to specify query properties and hints. Properties defined by this specification must be observed by the provider. Vendor-specific hints that are not recognized by a provider must be silently ignored. Portable applications should not rely on the standard timeout hint. Depending on the database in use, this hint may or may not be observed.true +
+
false
PERSISTENCE:JAVADOC:1562StoredProcedureQueryjakarta.persistence.StoredProcedureQuery.setParameter
+ + ( + Parameter + ,
Object + ) +
Bind the value of a Parameter object.true +
+
true
PERSISTENCE:JAVADOC:1564StoredProcedureQueryjakarta.persistence.StoredProcedureQuery.setParameter
+ + ( + Parameter + ,
Calendar + ,
TemporalType + ) +
Bind an instance of java.util.Calendar to a Parameter object.true +
+
true
PERSISTENCE:JAVADOC:1566StoredProcedureQueryjakarta.persistence.StoredProcedureQuery.setParameter
+ + ( + Parameter + ,
Date + ,
TemporalType + ) +
Bind an instance of java.util.Date to a Parameter object.true +
+
true
PERSISTENCE:JAVADOC:1568StoredProcedureQueryjakarta.persistence.StoredProcedureQuery.setParameter
+ + ( + String + ,
Object + ) +
Bind an argument value to a named parameter.true +
+
false
PERSISTENCE:JAVADOC:1570StoredProcedureQueryjakarta.persistence.StoredProcedureQuery.setParameter
+ + ( + String + ,
Calendar + ,
TemporalType + ) +
Bind an instance of java.util.Calendar to a named parameter.true +
+
false
PERSISTENCE:JAVADOC:1572StoredProcedureQueryjakarta.persistence.StoredProcedureQuery.setParameter
+ + ( + String + ,
Date + ,
TemporalType + ) +
Bind an instance of java.util.Date to a named parameter.true +
+
false
PERSISTENCE:JAVADOC:1574StoredProcedureQueryjakarta.persistence.StoredProcedureQuery.setParameter
+ + ( + int + ,
Object + ) +
Bind an argument value to a positional parameter.true +
+
true
PERSISTENCE:JAVADOC:1576StoredProcedureQueryjakarta.persistence.StoredProcedureQuery.setParameter
+ + ( + int + ,
Calendar + ,
TemporalType + ) +
Bind an instance of java.util.Calendar to a positional parameter.true +
+
true
PERSISTENCE:JAVADOC:1578StoredProcedureQueryjakarta.persistence.StoredProcedureQuery.setParameter
+ + ( + int + ,
Date + ,
TemporalType + ) +
Bind an instance of java.util.Date to a positional parameter.true +
+
true
PERSISTENCE:JAVADOC:1581intjakarta.persistence.StoredProcedureQuery.{jakarta.persistence.Query}.executeUpdate
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language SELECT statement or for a criteria querytrue +
+
true
PERSISTENCE:JAVADOC:1589LockModeTypejakarta.persistence.StoredProcedureQuery.{jakarta.persistence.Query}.getLockMode
+
throws + IllegalStateException
+
if the query is found not to be a Jakarta Persistence query language SELECT query or a Criteria API querytrue +
+
true
PERSISTENCE:JAVADOC:1596Parameterjakarta.persistence.StoredProcedureQuery.{jakarta.persistence.Query}.getParameter
+ + ( + String + ,
Class + ) +
throws + IllegalStateException
+
if invoked on a native query or Jakarta Persistence query language query when the implementation does not support this usetrue +
+
true
PERSISTENCE:JAVADOC:1602Parameterjakarta.persistence.StoredProcedureQuery.{jakarta.persistence.Query}.getParameter
+ + ( + int + ,
Class + ) +
throws + IllegalStateException
+
if invoked on a native query or Jakarta Persistence query language query when the implementation does not support this usetrue +
+
true
PERSISTENCE:JAVADOC:1615Listjakarta.persistence.StoredProcedureQuery.{jakarta.persistence.Query}.getResultList
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language UPDATE or DELETE statementtrue +
+
true
PERSISTENCE:JAVADOC:1624Objectjakarta.persistence.StoredProcedureQuery.{jakarta.persistence.Query}.getSingleResult
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language UPDATE or DELETE statementtrue +
+
true
PERSISTENCE:JAVADOC:1637Queryjakarta.persistence.StoredProcedureQuery.{jakarta.persistence.Query}.setLockMode
+ + ( + LockModeType + ) +
throws + IllegalStateException
+
if the query is found not to be a Jakarta Persistence query language SELECT query or a CriteriaQuery querytrue +
+
true
PERSISTENCE:JAVADOC:1660SynchronizationTypejakarta.persistence.SynchronizationType.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:1661SynchronizationType[]jakarta.persistence.SynchronizationType.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:1668CollectionJoinjakarta.persistence.criteria.CollectionJoin.on
+ + ( + Expression + ) +
Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any.true +
+
true
PERSISTENCE:JAVADOC:1669CollectionJoinjakarta.persistence.criteria.CollectionJoin.on
+ + ( + Predicate[] + ) +
Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any.true +
+
true
PERSISTENCE:JAVADOC:1676CriteriaDeletejakarta.persistence.criteria.CriteriaBuilder.createCriteriaDelete
+ + ( + Class + ) +
Create a CriteriaDelete query object to perform a bulk delete operation.true +
+
true
PERSISTENCE:JAVADOC:1677CriteriaUpdatejakarta.persistence.criteria.CriteriaBuilder.createCriteriaUpdate
+ + ( + Class + ) +
Create a CriteriaUpdate query object to perform a bulk update operation.true +
+
true
PERSISTENCE:JAVADOC:1678Joinjakarta.persistence.criteria.CriteriaBuilder.treat
+ + ( + Join + ,
Class + ) +
Downcast Join object to the specified type.true +
+
true
PERSISTENCE:JAVADOC:1679CollectionJoinjakarta.persistence.criteria.CriteriaBuilder.treat
+ + ( + CollectionJoin + ,
Class + ) +
Downcast CollectionJoin object to the specified type.true +
+
true
PERSISTENCE:JAVADOC:1680SetJoinjakarta.persistence.criteria.CriteriaBuilder.treat
+ + ( + SetJoin + ,
Class + ) +
Downcast SetJoin object to the specified type.true +
+
true
PERSISTENCE:JAVADOC:1681ListJoinjakarta.persistence.criteria.CriteriaBuilder.treat
+ + ( + ListJoin + ,
Class + ) +
Downcast ListJoin object to the specified type.true +
+
true
PERSISTENCE:JAVADOC:1682MapJoinjakarta.persistence.criteria.CriteriaBuilder.treat
+ + ( + MapJoin + ,
Class + ) +
Downcast MapJoin object to the specified type.true +
+
true
PERSISTENCE:JAVADOC:1683Pathjakarta.persistence.criteria.CriteriaBuilder.treat
+ + ( + Path + ,
Class + ) +
Downcast Path object to the specified type.true +
+
true
PERSISTENCE:JAVADOC:1684Rootjakarta.persistence.criteria.CriteriaBuilder.treat
+ + ( + Root + ,
Class + ) +
Downcast Root object to the specified type.true +
+
true
PERSISTENCE:JAVADOC:1685Rootjakarta.persistence.criteria.CriteriaDelete.from
+ + ( + Class + ) +
Create and add a query root corresponding to the entity that is the target of the delete. A CriteriaDelete object has a single root, the entity that is being deleted.true +
+
true
PERSISTENCE:JAVADOC:1686Rootjakarta.persistence.criteria.CriteriaDelete.from
+ + ( + EntityType + ) +
Create and add a query root corresponding to the entity that is the target of the delete. A CriteriaDelete object has a single root, the entity that is being deleted.true +
+
true
PERSISTENCE:JAVADOC:1687Rootjakarta.persistence.criteria.CriteriaDelete.getRoot
+
Return the query root.true +
+
true
PERSISTENCE:JAVADOC:1688CriteriaDeletejakarta.persistence.criteria.CriteriaDelete.where
+ + ( + Expression + ) +
Modify the delete query to restrict the target of the deletion according to the specified boolean expression. Replaces the previously added restriction(s), if any.true +
+
true
PERSISTENCE:JAVADOC:1689CriteriaDeletejakarta.persistence.criteria.CriteriaDelete.where
+ + ( + Predicate[] + ) +
Modify the delete query to restrict the target of the deletion according to the conjunction of the specified restriction predicates. Replaces the previously added restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed.true +
+
true
PERSISTENCE:JAVADOC:1696Rootjakarta.persistence.criteria.CriteriaUpdate.from
+ + ( + Class + ) +
Create and add a query root corresponding to the entity that is the target of the update. A CriteriaUpdate object has a single root, the entity that is being updated.true +
+
true
PERSISTENCE:JAVADOC:1697Rootjakarta.persistence.criteria.CriteriaUpdate.from
+ + ( + EntityType + ) +
Create and add a query root corresponding to the entity that is the target of the update. A CriteriaUpdate object has a single root, the entity that is being updated.true +
+
true
PERSISTENCE:JAVADOC:1698Rootjakarta.persistence.criteria.CriteriaUpdate.getRoot
+
Return the query root.true +
+
true
PERSISTENCE:JAVADOC:1699CriteriaUpdatejakarta.persistence.criteria.CriteriaUpdate.set
+ + ( + SingularAttribute + ,
Object + ) +
Update the value of the specified attribute.true +
+
true
PERSISTENCE:JAVADOC:1700CriteriaUpdatejakarta.persistence.criteria.CriteriaUpdate.set
+ + ( + SingularAttribute + ,
Expression + ) +
Update the value of the specified attribute.true +
+
true
PERSISTENCE:JAVADOC:1701CriteriaUpdatejakarta.persistence.criteria.CriteriaUpdate.set
+ + ( + Path + ,
Object + ) +
Update the value of the specified attribute.true +
+
true
PERSISTENCE:JAVADOC:1702CriteriaUpdatejakarta.persistence.criteria.CriteriaUpdate.set
+ + ( + Path + ,
Expression + ) +
Update the value of the specified attribute.true +
+
true
PERSISTENCE:JAVADOC:1703CriteriaUpdatejakarta.persistence.criteria.CriteriaUpdate.set
+ + ( + String + ,
Object + ) +
Update the value of the specified attribute.true +
+
true
PERSISTENCE:JAVADOC:1704CriteriaUpdatejakarta.persistence.criteria.CriteriaUpdate.where
+ + ( + Expression + ) +
Modify the update query to restrict the target of the update according to the specified boolean expression. Replaces the previously added restriction(s), if any.true +
+
true
PERSISTENCE:JAVADOC:1705CriteriaUpdatejakarta.persistence.criteria.CriteriaUpdate.where
+ + ( + Predicate[] + ) +
Modify the update query to restrict the target of the update according to the conjunction of the specified restriction predicates. Replaces the previously added restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed.true +
+
true
PERSISTENCE:JAVADOC:1715Predicatejakarta.persistence.criteria.Join.getOn
+
Return the predicate that corresponds to the ON restriction(s) on the join, or null if no ON condition has been specified.true +
+
true
PERSISTENCE:JAVADOC:1716Joinjakarta.persistence.criteria.Join.on
+ + ( + Expression + ) +
Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any.true +
+
true
PERSISTENCE:JAVADOC:1717Joinjakarta.persistence.criteria.Join.on
+ + ( + Predicate[] + ) +
Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any.true +
+
true
PERSISTENCE:JAVADOC:1718ListJoinjakarta.persistence.criteria.ListJoin.on
+ + ( + Expression + ) +
Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any.true +
+
true
PERSISTENCE:JAVADOC:1719ListJoinjakarta.persistence.criteria.ListJoin.on
+ + ( + Predicate[] + ) +
Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any.true +
+
true
PERSISTENCE:JAVADOC:1720MapJoinjakarta.persistence.criteria.MapJoin.on
+ + ( + Expression + ) +
Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any.true +
+
true
PERSISTENCE:JAVADOC:1721MapJoinjakarta.persistence.criteria.MapJoin.on
+ + ( + Predicate[] + ) +
Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any.true +
+
true
PERSISTENCE:JAVADOC:1725SetJoinjakarta.persistence.criteria.SetJoin.on
+ + ( + Expression + ) +
Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any.true +
+
true
PERSISTENCE:JAVADOC:1726SetJoinjakarta.persistence.criteria.SetJoin.on
+ + ( + Predicate[] + ) +
Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any.true +
+
true
PERSISTENCE:JAVADOC:2699Listjakarta.persistence.TypedQuery.getResultList
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language UPDATE or DELETE statementtrue +
+
true
PERSISTENCE:JAVADOC:2699Listjakarta.persistence.TypedQuery.getResultList
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language UPDATE or DELETE statementtrue +
+
true
PERSISTENCE:JAVADOC:2708Objectjakarta.persistence.TypedQuery.getSingleResult
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language UPDATE or DELETE statementtrue +
+
true
PERSISTENCE:JAVADOC:2708Objectjakarta.persistence.TypedQuery.getSingleResult
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language UPDATE or DELETE statementtrue +
+
true
PERSISTENCE:JAVADOC:3310Objectjakarta.persistence.AttributeConverter.convertToDatabaseColumn
+ + ( + Object + ) +
Converts the value stored in the entity attribute into the data representation to be stored in the database.true +
+
true
PERSISTENCE:JAVADOC:3311Objectjakarta.persistence.AttributeConverter.convertToEntityAttribute
+ + ( + Object + ) +
Converts the data stored in the database column into the value to be stored in the entity attribute. Note that it is the responsibility of the converter writer to specify the correct dbData type for the corresponding column for use by the JDBC driver: i.e., persistence providers are not expected to do such type conversion.true +
+
true
PERSISTENCE:JAVADOC:3312Stringjakarta.persistence.Convert.attributeName
+
The attributeName element must be specified unless the Convert annotation is on an attribute of basic type or on an element collection of basic type. In these cases, the attributeName element must not be specified.true +
+
true
PERSISTENCE:JAVADOC:3313Classjakarta.persistence.Convert.converter
+
Specifies the converter to be applied. A value for this element must be specified if multiple converters would otherwise apply.true +
+
true
PERSISTENCE:JAVADOC:3314booleanjakarta.persistence.Convert.disableConversion
+
Used to disable an auto-apply or inherited converter. If disableConversion is true, the converter element should not be specified.true +
+
true
PERSISTENCE:JAVADOC:3315booleanjakarta.persistence.Converter.autoApply
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:3316Convert[]jakarta.persistence.Converts.value
+
The Convert mappings that are to be applied.true +
+
true
PERSISTENCE:JAVADOC:3317String[]jakarta.persistence.NamedStoredProcedureQuery.resultSetMappings
+
The names of one or more result set mappings, as defined in metadata.true +
+
true
PERSISTENCE:JAVADOC:3318EntityManagerjakarta.persistence.EntityManagerFactory.createEntityManager
+ + ( + SynchronizationType + ,
Map + ) +
Create a new JTA application-managed EntityManager with the specified synchronization type and map of properties. This method returns a new EntityManager instance each time it is invoked. The isOpen method will return true on the returned instance.true +
+
true
PERSISTENCE:JAVADOC:3321Index[]jakarta.persistence.CollectionTable.indexes
+
(Optional) Indexes for the table. These are only used if table generation is in effect.true +
+
true
PERSISTENCE:JAVADOC:3322EntityManagerjakarta.persistence.EntityManagerFactory.createEntityManager
+ + ( + SynchronizationType + ) +
Create a new JTA application-managed EntityManager with the specified synchronization type. This method returns a new EntityManager instance each time it is invoked. The isOpen method will return true on the returned instance.true +
+
true
PERSISTENCE:JAVADOC:3325Stringjakarta.persistence.ForeignKey.foreignKeyDefinition
+
(Optional) The foreign key constraint definition.true +
+
true
PERSISTENCE:JAVADOC:3326Stringjakarta.persistence.ForeignKey.name
+
(Optional) The name of the foreign key constraint. If this is not specified, it defaults to a provider-generated name.true +
+
true
PERSISTENCE:JAVADOC:3327Stringjakarta.persistence.Index.columnList
+
(Required) The names of the columns to be included in the index, in order.true +
+
true
PERSISTENCE:JAVADOC:3328Stringjakarta.persistence.Index.name
+
(Optional) The name of the index; defaults to a provider-generated name.true +
+
true
PERSISTENCE:JAVADOC:3329booleanjakarta.persistence.Index.unique
+
(Optional) Whether the index is unique.true +
+
true
PERSISTENCE:JAVADOC:3330ForeignKeyjakarta.persistence.JoinColumn.foreignKey
+
(Optional) Used to specify or control the generation of a foreign key constraint when table generation is in effect. If this element is not specified, the persistence provider's default foreign key strategy will apply.true +
+
true
PERSISTENCE:JAVADOC:3331ForeignKeyjakarta.persistence.JoinColumns.foreignKey
+
(Optional) Used to specify or control the generation of a foreign key constraint when table generation is in effect. If both this element and the foreignKey element of any of the JoinColumn elements are specified, the behavior is undefined. If no foreign key annotation element is specified in either location, the persistence provider's default foreign key strategy will apply.true +
+
true
PERSISTENCE:JAVADOC:3332Index[]jakarta.persistence.JoinTable.indexes
+
(Optional) Indexes for the table. These are only used if table generation is in effect.true +
+
true
PERSISTENCE:JAVADOC:3333ForeignKeyjakarta.persistence.MapKeyJoinColumn.foreignKey
+
(Optional) Used to specify or control the generation of a foreign key constraint when table generation is in effect. If this element is not specified, the persistence provider's default foreign key strategy will apply.true +
+
true
PERSISTENCE:JAVADOC:3334ForeignKeyjakarta.persistence.MapKeyJoinColumns.foreignKey
+
(Optional) Used to specify or control the generation of a foreign key constraint when table generation is in effect. If both this element and the foreignKey element of any of the MapKeyJoinColumn elements are specified, the behavior is undefined. If no foreign key annotation element is specified in either location, the persistence provider's default foreign key strategy will apply.true +
+
true
PERSISTENCE:JAVADOC:3335voidjakarta.persistence.Persistence.generateSchema
+ + ( + String + ,
Map + ) +
Create database schemas and/or tables and/or create DDL scripts as determined by the supplied properties. Called when schema generation is to occur as a separate phase from creation of the entity manager factory.true +
+
true
PERSISTENCE:JAVADOC:3337ForeignKeyjakarta.persistence.PrimaryKeyJoinColumn.foreignKey
+
(Optional) Used to specify or control the generation of a foreign key constraint for the primary key join column when table generation is in effect. If this element is not specified, the persistence provider's default foreign key strategy will apply.true +
+
true
PERSISTENCE:JAVADOC:3338ForeignKeyjakarta.persistence.PrimaryKeyJoinColumns.foreignKey
+
(Optional) Used to specify or control the generation of a foreign key constraint when table generation is in effect. If both this element and the foreignKey element of any of the PrimaryKeyJoinColumn elements are specified, the behavior is undefined. If no foreign key annotation element is specified in either location, the persistence provider's default foreign key strategy will apply.true +
+
true
PERSISTENCE:JAVADOC:3339Index[]jakarta.persistence.SecondaryTable.indexes
+
(Optional) Indexes for the table. These are only used if table generation is in effect.true +
+
true
PERSISTENCE:JAVADOC:3340Index[]jakarta.persistence.Table.indexes
+
(Optional) Indexes for the table. These are only used if table generation is in effect. Note that it is not necessary to specify an index for a primary key, as the primary key index will be created automatically.true +
+
true
PERSISTENCE:JAVADOC:3341Index[]jakarta.persistence.TableGenerator.indexes
+
(Optional) Indexes for the table. These are only used if table generation is in effect. Note that it is not necessary to specify an index for a primary key, as the primary key index will be created automatically.true +
+
true
PERSISTENCE:JAVADOC:3344Predicatejakarta.persistence.criteria.CommonAbstractCriteria.getRestriction
+
Return the predicate that corresponds to the where clause restriction(s), or null if no restrictions have been specified.true +
+
false
PERSISTENCE:JAVADOC:3345Subqueryjakarta.persistence.criteria.CommonAbstractCriteria.subquery
+ + ( + Class + ) +
Create a subquery of the query.true +
+
false
PERSISTENCE:JAVADOC:3356CommonAbstractCriteriajakarta.persistence.criteria.Subquery.getContainingQuery
+
Return the query of which this is a subquery. This may be a CriteriaQuery, CriteriaUpdate, CriteriaDelete, or a Subquery.true +
+
true
PERSISTENCE:JAVADOC:3357voidjakarta.persistence.spi.PersistenceProvider.generateSchema
+ + ( + PersistenceUnitInfo + ,
Map + ) +
Create database schemas and/or tables and/or create DDL scripts as determined by the supplied properties. Called by the container when schema generation is to occur as a separate phase from creation of the entity manager factory.true +
+
false
PERSISTENCE:JAVADOC:3360Stringjakarta.persistence.AttributeNode.getAttributeName
+
Return the name of the attribute corresponding to the attribute node.true +
+
true
PERSISTENCE:JAVADOC:3362voidjakarta.persistence.EntityGraph.addAttributeNodes
+ + ( + String[] + ) +
Add one or more attribute nodes to the entity graph.true +
+
true
PERSISTENCE:JAVADOC:3365voidjakarta.persistence.EntityGraph.addAttributeNodes
+ + ( + Attribute[] + ) +
Add one or more attribute nodes to the entity graph.true +
+
true
PERSISTENCE:JAVADOC:3367Subgraphjakarta.persistence.EntityGraph.addKeySubgraph
+ + ( + Attribute + ) +
Add a node to the graph that corresponds to a map key that is a managed type. This allows for construction of multi-node entity graphs that include related managed types.true +
+
true
PERSISTENCE:JAVADOC:3370Subgraphjakarta.persistence.EntityGraph.addKeySubgraph
+ + ( + Attribute + ,
Class + ) +
Add a node to the graph that corresponds to a map key that is a managed type with inheritance. This allows for construction of multi-node entity graphs that include related managed types. Subclass subgraphs will include the specified attributes of superclass subgraphs.true +
+
true
PERSISTENCE:JAVADOC:3373Subgraphjakarta.persistence.EntityGraph.addKeySubgraph
+ + ( + String + ) +
Add a node to the graph that corresponds to a map key that is a managed type. This allows for construction of multi-node entity graphs that include related managed types.true +
+
true
PERSISTENCE:JAVADOC:3377Subgraphjakarta.persistence.EntityGraph.addKeySubgraph
+ + ( + String + ,
Class + ) +
Add a node to the graph that corresponds to a map key that is a managed type with inheritance. This allows for construction of multi-node entity graphs that include related managed types. Subclass subgraphs will automatically include the specified attributes of superclass subgraphstrue +
+
true
PERSISTENCE:JAVADOC:3381Subgraphjakarta.persistence.EntityGraph.addSubclassSubgraph
+ + ( + Class + ) +
Add additional attributes to this entity graph that correspond to attributes of subclasses of this EntityGraph's entity type. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs.true +
+
true
PERSISTENCE:JAVADOC:3384Subgraphjakarta.persistence.EntityGraph.addSubgraph
+ + ( + Attribute + ) +
Add a node to the graph that corresponds to a managed type. This allows for construction of multi-node entity graphs that include related managed types.true +
+
true
PERSISTENCE:JAVADOC:3387Subgraphjakarta.persistence.EntityGraph.addSubgraph
+ + ( + Attribute + ,
Class + ) +
Add a node to the graph that corresponds to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined for this node of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs.true +
+
true
PERSISTENCE:JAVADOC:3390Subgraphjakarta.persistence.EntityGraph.addSubgraph
+ + ( + String + ) +
Add a node to the graph that corresponds to a managed type. This allows for construction of multi-node entity graphs that include related managed types.true +
+
true
PERSISTENCE:JAVADOC:3394Subgraphjakarta.persistence.EntityGraph.addSubgraph
+ + ( + String + ,
Class + ) +
Add a node to the graph that corresponds to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined for this node of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs.true +
+
true
PERSISTENCE:JAVADOC:3398Listjakarta.persistence.EntityGraph.getAttributeNodes
+
Return the attribute nodes of this entity that are included in the entity graph.true +
+
true
PERSISTENCE:JAVADOC:3399Stringjakarta.persistence.EntityGraph.getName
+
Return the name of a named EntityGraph (an entity graph defined by means of the NamedEntityGraph annotation, XML descriptor element, or added by means of the addNamedEntityGraph method. Returns null if the EntityGraph is not a named EntityGraph.true +
+
true
PERSISTENCE:JAVADOC:3402EntityGraphjakarta.persistence.EntityManager.createEntityGraph
+ + ( + Class + ) +
Return a mutable EntityGraph that can be used to dynamically create an EntityGraph.true +
+
true
PERSISTENCE:JAVADOC:3403EntityGraphjakarta.persistence.EntityManager.createEntityGraph
+ + ( + String + ) +
Return a mutable copy of the named EntityGraph. If there is no entity graph with the specified name, null is returned.true +
+
true
PERSISTENCE:JAVADOC:3404EntityGraphjakarta.persistence.EntityManager.getEntityGraph
+ + ( + String + ) +
Return a named EntityGraph. The returned EntityGraph should be considered immutable.true +
+
true
PERSISTENCE:JAVADOC:3406Listjakarta.persistence.EntityManager.getEntityGraphs
+ + ( + Class + ) +
Return all named EntityGraphs that have been defined for the provided class type.true +
+
true
PERSISTENCE:JAVADOC:3411voidjakarta.persistence.EntityManagerFactory.addNamedEntityGraph
+ + ( + String + ,
EntityGraph + ) +
Add a named copy of the EntityGraph to the EntityManagerFactory. If an entity graph with the same name already exists, it is replaced.true +
+
true
PERSISTENCE:JAVADOC:3412Stringjakarta.persistence.NamedAttributeNode.keySubgraph
+
(Optional) If the attribute references a Map type, this element can be used to specify a subgraph for the Key in the case of an Entity key type. A keySubgraph can not be specified without the Map attribute also being specified. If the target type has inheritance, multiple subgraphs can be specified. These additional subgraphs are intended to add subclass-specific attributes. Superclass subgraph entries will be merged into subclass subgraphs. The value of this element is the name of the key subgraph as specified by the name element of the corresponding NamedSubgraph element. If multiple key subgraphs are specified due to inheritance, they are referenced by this name.true +
+
true
PERSISTENCE:JAVADOC:3413Stringjakarta.persistence.NamedAttributeNode.subgraph
+
(Optional) If the attribute references a managed type that has its own AttributeNodes, this element is used to refer to that NamedSubgraph definition. If the target type has inheritance, multiple subgraphs can be specified. These additional subgraphs are intended to add subclass-specific attributes. Superclass subgraph entries will be merged into subclass subgraphs. The value of this element is the name of the subgraph as specified by the name element of the corresponding NamedSubgraph element. If multiple subgraphs are specified due to inheritance, they are referenced by this name.true +
+
true
PERSISTENCE:JAVADOC:3414Stringjakarta.persistence.NamedAttributeNode.value
+
(Required) The name of the attribute that must be included in the graph.true +
+
true
PERSISTENCE:JAVADOC:3415NamedAttributeNode[]jakarta.persistence.NamedEntityGraph.attributeNodes
+
(Optional) A list of attributes of the entity that are included in this graph.true +
+
true
PERSISTENCE:JAVADOC:3416booleanjakarta.persistence.NamedEntityGraph.includeAllAttributes
+
(Optional) Includes all of the attributes of the annotated entity class as attribute nodes in the NamedEntityGraph without the need to explicitly list them. Included attributes can still be fully specified by an attribute node referencing a subgraph.true +
+
true
PERSISTENCE:JAVADOC:3417Stringjakarta.persistence.NamedEntityGraph.name
+
(Optional) The name of the entity graph. Defaults to the entity name of the root entity.true +
+
true
PERSISTENCE:JAVADOC:3418NamedSubgraph[]jakarta.persistence.NamedEntityGraph.subclassSubgraphs
+
(Optional) A list of subgraphs that will add additional attributes for subclasses of the annotated entity class to the entity graph. Specified attributes from superclasses are included in subclasses.true +
+
true
PERSISTENCE:JAVADOC:3419NamedSubgraph[]jakarta.persistence.NamedEntityGraph.subgraphs
+
(Optional) A list of subgraphs that are included in the entity graph. These are referenced by name from NamedAttributeNode definitions.true +
+
true
PERSISTENCE:JAVADOC:3420NamedEntityGraph[]jakarta.persistence.NamedEntityGraphs.value
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:3421NamedAttributeNode[]jakarta.persistence.NamedSubgraph.attributeNodes
+
(Required) The list of the attributes of the class that must be included. If the named subgraph corresponds to a subclass of the class referenced by the corresponding attribute node, then only subclass-specific attributes are listed.true +
+
true
PERSISTENCE:JAVADOC:3422Stringjakarta.persistence.NamedSubgraph.name
+
(Required) The name of the subgraph as referenced from a NamedAttributeNode element.true +
+
true
PERSISTENCE:JAVADOC:3423Classjakarta.persistence.NamedSubgraph.type
+
(Optional) The type represented by this subgraph. The element must be specified when this subgraph is extending a definition on behalf of a subclass.true +
+
true
PERSISTENCE:JAVADOC:3424voidjakarta.persistence.Subgraph.addAttributeNodes
+ + ( + String[] + ) +
Add one or more attribute nodes to the entity graph.true +
+
true
PERSISTENCE:JAVADOC:3427voidjakarta.persistence.Subgraph.addAttributeNodes
+ + ( + Attribute[] + ) +
Add one or more attribute nodes to the entity graph.true +
+
true
PERSISTENCE:JAVADOC:3429Subgraphjakarta.persistence.Subgraph.addKeySubgraph
+ + ( + Attribute + ) +
Add a node to the graph that corresponds to a map key that is a managed type. This allows for construction of multinode entity graphs that include related managed types.true +
+
true
PERSISTENCE:JAVADOC:3432Subgraphjakarta.persistence.Subgraph.addKeySubgraph
+ + ( + Attribute + ,
Class + ) +
Add a node to the graph that corresponds to a map key that is a managed type with inheritance. This allows for construction of multi-node entity graphs that include related managed types. Subclass subgraphs will automatically include the specified attributes of superclass subgraphstrue +
+
true
PERSISTENCE:JAVADOC:3435Subgraphjakarta.persistence.Subgraph.addKeySubgraph
+ + ( + String + ) +
Add a node to the graph that corresponds to a map key that is a managed type. This allows for construction of multi-node entity graphs that include related managed types.true +
+
true
PERSISTENCE:JAVADOC:3439Subgraphjakarta.persistence.Subgraph.addKeySubgraph
+ + ( + String + ,
Class + ) +
Add a node to the graph that corresponds to a map key that is a managed type with inheritance. This allows for construction of multi-node entity graphs that include related managed types. Subclass subgraphs will include the specified attributes of superclass subgraphstrue +
+
true
PERSISTENCE:JAVADOC:3443Subgraphjakarta.persistence.Subgraph.addSubgraph
+ + ( + Attribute + ) +
Add a node to the graph that corresponds to a managed type. This allows for construction of multi-node entity graphs that include related managed types.true +
+
true
PERSISTENCE:JAVADOC:3446Subgraphjakarta.persistence.Subgraph.addSubgraph
+ + ( + Attribute + ,
Class + ) +
Add a node to the graph that corresponds to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined for this node of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass subgraphstrue +
+
true
PERSISTENCE:JAVADOC:3449Subgraphjakarta.persistence.Subgraph.addSubgraph
+ + ( + String + ) +
Add a node to the graph that corresponds to a managed type. This allows for construction of multi-node entity graphs that include related managed types.true +
+
true
PERSISTENCE:JAVADOC:3453Subgraphjakarta.persistence.Subgraph.addSubgraph
+ + ( + String + ,
Class + ) +
Add a node to the graph that corresponds to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined for this node of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass subgraphstrue +
+
true
PERSISTENCE:JAVADOC:3457Listjakarta.persistence.Subgraph.getAttributeNodes
+
Return the attribute nodes corresponding to the attributes of this managed type that are included in the subgraph.true +
+
true
PERSISTENCE:JAVADOC:3458Classjakarta.persistence.Subgraph.getClassType
+
Return the type for which this subgraph was defined.true +
+
true
PERSISTENCE:JAVADOC:3463booleanjakarta.persistence.spi.PersistenceProvider.generateSchema
+ + ( + String + ,
Map + ) +
Create database schemas and/or tables and/or create DDL scripts as determined by the supplied properties. Called by the Persistence class when schema generation is to occur as a separate phase from creation of the entity manager factory.true +
+
false
PERSISTENCE:JAVADOC:3465ForeignKeyjakarta.persistence.AssociationOverride.foreignKey
+
(Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect. If both this element and the foreignKey element of any of the joinColumns elements are specified, the behavior is undefined. If no foreign key annotation element is specified in either location, the persistence provider's default foreign key strategy will apply.true +
+
true
PERSISTENCE:JAVADOC:3466Mapjakarta.persistence.AttributeNode.getKeySubgraphs
+
Return the Map<Class, Subgraph> of subgraphs associated with this attribute node's map key.true +
+
true
PERSISTENCE:JAVADOC:3467Mapjakarta.persistence.AttributeNode.getSubgraphs
+
Return the Map<Class, Subgraph> of subgraphs associated with this attribute node.true +
+
true
PERSISTENCE:JAVADOC:3468ForeignKeyjakarta.persistence.CollectionTable.foreignKey
+
(Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect. If both this element and the foreignKey element of any of the joinColumns elements are specified, the behavior is undefined. If no foreign key annotation element is specified in either location, the persistence provider's default foreign key strategy will apply.true +
+
true
PERSISTENCE:JAVADOC:3469ConstraintModejakarta.persistence.ConstraintMode.valueOf
+ + ( + String + ) +
+
+
true +
+
true
PERSISTENCE:JAVADOC:3470ConstraintMode[]jakarta.persistence.ConstraintMode.values
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:3471ConstraintModejakarta.persistence.ForeignKey.value
+
(Optional) Used to specify whether a foreign key constraint should be generated when schema generation is in effect. A value of CONSTRAINT will cause the persistence provider to generate a foreign key constraint. If the foreignKeyDefinition element is not specified, the provider will generate a constraint whose update and delete actions it determines most appropriate for the join column(s) to which the foreign key annotation is applied. A value of NO_CONSTRAINT will result in no constraint being generated. A value of PROVIDER_DEFAULT will result in the provider's default behavior (which may or may not result in the generation of a constraint for the given join column(s).true +
+
true
PERSISTENCE:JAVADOC:3472ForeignKeyjakarta.persistence.JoinTable.foreignKey
+
(Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect. If both this element and the foreignKey element of any of the joinColumns elements are specified, the behavior is undefined. If no foreign key annotation element is specified in either location, the persistence provider's default foreign key strategy will apply.true +
+
true
PERSISTENCE:JAVADOC:3473ForeignKeyjakarta.persistence.JoinTable.inverseForeignKey
+
(Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the inverseJoinColumns element when table generation is in effect. If both this element and the foreignKey element of any of the inverseJoinColumns elements are specified, the behavior is undefined. If no foreign key annotation element is specified in either location, the persistence provider's default foreign key strategy will apply.true +
+
true
PERSISTENCE:JAVADOC:3474ForeignKeyjakarta.persistence.SecondaryTable.foreignKey
+
(Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the pkJoinColumns element when table generation is in effect. If both this element and the foreignKey element of any of the pkJoinColumns elements are specified, the behavior is undefined. If no foreign key annotation element is specified in either location, the persistence provider's default foreign key strategy will apply.true +
+
true
PERSISTENCE:JAVADOC:3475intjakarta.persistence.StoredProcedureQuery.executeUpdate
+
Return the update count of -1 if there is no pending result or if the first result is not an update count. The provider will call execute on the query if needed.true +
+
true
PERSISTENCE:JAVADOC:3479Listjakarta.persistence.StoredProcedureQuery.getResultList
+
Retrieve the list of results from the next result set. The provider will call execute on the query if needed. A REF_CURSOR result set, if any, will be retrieved in the order the REF_CURSOR parameter was registered with the query.true +
+
true
PERSISTENCE:JAVADOC:3482Objectjakarta.persistence.StoredProcedureQuery.getSingleResult
+
Retrieve a single result from the next result set. The provider will call execute on the query if needed. A REF_CURSOR result set, if any, will be retrieved in the order the REF_CURSOR parameter was registered with the query.true +
+
true
PERSISTENCE:JAVADOC:3487Streamjakarta.persistence.Query.getResultStream
+
Execute a SELECT query and return the query results as an untyped java.util.stream.Stream. By default this method delegates to getResultList().stream(), however persistence provider may choose to override this method to provide additional capabilities.true +
+
true
PERSISTENCE:JAVADOC:3488SequenceGenerator[]jakarta.persistence.SequenceGenerators.value
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:3489TableGenerator[]jakarta.persistence.TableGenerators.value
+
+
+
true +
+
true
PERSISTENCE:JAVADOC:3490Streamjakarta.persistence.TypedQuery.getResultStream
+
Execute a SELECT query and return the query results as a typed java.util.stream.Stream. By default this method delegates to getResultList().stream(), however persistence provider may choose to override this method to provide additional capabilities.true +
+
true
PERSISTENCE:JAVADOC:3491Streamjakarta.persistence.Query.getResultStream
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language UPDATE or DELETE statementtrue +
+
true
PERSISTENCE:JAVADOC:3492Streamjakarta.persistence.Query.getResultStream
+
throws + QueryTimeoutException
+
if the query execution exceeds the query timeout value set and only the statement is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3493Streamjakarta.persistence.Query.getResultStream
+
throws + TransactionRequiredException
+
if a lock mode other than NONE has been set and there is no transaction or the persistence context has not been joined to the transactiontrue +
+
true
PERSISTENCE:JAVADOC:3494Streamjakarta.persistence.Query.getResultStream
+
throws + PessimisticLockException
+
if pessimistic locking fails and the transaction is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3495Streamjakarta.persistence.Query.getResultStream
+
throws + LockTimeoutException
+
if pessimistic locking fails and only the statement is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3496Streamjakarta.persistence.Query.getResultStream
+
throws + PersistenceException
+
if the query execution exceeds the query timeout value set and the transaction is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3497Streamjakarta.persistence.StoredProcedureQuery.{jakarta.persistence.Query}.getResultStream
+
Execute a SELECT query and return the query results as an untyped java.util.stream.Stream. By default this method delegates to getResultList().stream(), however persistence provider may choose to override this method to provide additional capabilities.true +
+
true
PERSISTENCE:JAVADOC:3498Streamjakarta.persistence.StoredProcedureQuery.{jakarta.persistence.Query}.getResultStream
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language UPDATE or DELETE statementtrue +
+
true
PERSISTENCE:JAVADOC:3499Streamjakarta.persistence.StoredProcedureQuery.{jakarta.persistence.Query}.getResultStream
+
throws + QueryTimeoutException
+
if the query execution exceeds the query timeout value set and only the statement is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3500Streamjakarta.persistence.StoredProcedureQuery.{jakarta.persistence.Query}.getResultStream
+
throws + TransactionRequiredException
+
if a lock mode other than NONE has been set and there is no transaction or the persistence context has not been joined to the transactiontrue +
+
true
PERSISTENCE:JAVADOC:3501Streamjakarta.persistence.StoredProcedureQuery.{jakarta.persistence.Query}.getResultStream
+
throws + PessimisticLockException
+
if pessimistic locking fails and the transaction is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3502Streamjakarta.persistence.StoredProcedureQuery.{jakarta.persistence.Query}.getResultStream
+
throws + LockTimeoutException
+
if pessimistic locking fails and only the statement is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3503Streamjakarta.persistence.StoredProcedureQuery.{jakarta.persistence.Query}.getResultStream
+
throws + PersistenceException
+
if the query execution exceeds the query timeout value set and the transaction is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3504Streamjakarta.persistence.TypedQuery.getResultStream
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language UPDATE or DELETE statementtrue +
+
true
PERSISTENCE:JAVADOC:3505Streamjakarta.persistence.TypedQuery.getResultStream
+
throws + QueryTimeoutException
+
if the query execution exceeds the query timeout value set and only the statement is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3506Streamjakarta.persistence.TypedQuery.getResultStream
+
throws + TransactionRequiredException
+
if a lock mode other than NONE has been set and there is no transaction or the persistence context has not been joined to the transactiontrue +
+
true
PERSISTENCE:JAVADOC:3507Streamjakarta.persistence.TypedQuery.getResultStream
+
throws + PessimisticLockException
+
if pessimistic locking fails and the transaction is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3508Streamjakarta.persistence.TypedQuery.getResultStream
+
throws + LockTimeoutException
+
if pessimistic locking fails and only the statement is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3509Streamjakarta.persistence.TypedQuery.getResultStream
+
throws + PersistenceException
+
if the query execution exceeds the query timeout value set and the transaction is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3510Streamjakarta.persistence.TypedQuery.{jakarta.persistence.Query}.getResultStream
+
Execute a SELECT query and return the query results as an untyped java.util.stream.Stream. By default this method delegates to getResultList().stream(), however persistence provider may choose to override this method to provide additional capabilities.true +
+
true
PERSISTENCE:JAVADOC:3511Streamjakarta.persistence.TypedQuery.{jakarta.persistence.Query}.getResultStream
+
throws + IllegalStateException
+
if called for a Jakarta Persistence query language UPDATE or DELETE statementtrue +
+
true
PERSISTENCE:JAVADOC:3512Streamjakarta.persistence.TypedQuery.{jakarta.persistence.Query}.getResultStream
+
throws + QueryTimeoutException
+
if the query execution exceeds the query timeout value set and only the statement is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3513Streamjakarta.persistence.TypedQuery.{jakarta.persistence.Query}.getResultStream
+
throws + TransactionRequiredException
+
if a lock mode other than NONE has been set and there is no transaction or the persistence context has not been joined to the transactiontrue +
+
true
PERSISTENCE:JAVADOC:3514Streamjakarta.persistence.TypedQuery.{jakarta.persistence.Query}.getResultStream
+
throws + PessimisticLockException
+
if pessimistic locking fails and the transaction is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3515Streamjakarta.persistence.TypedQuery.{jakarta.persistence.Query}.getResultStream
+
throws + LockTimeoutException
+
if pessimistic locking fails and only the statement is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3516Streamjakarta.persistence.TypedQuery.{jakarta.persistence.Query}.getResultStream
+
throws + PersistenceException
+
if the query execution exceeds the query timeout value set and the transaction is rolled backtrue +
+
true
PERSISTENCE:JAVADOC:3517voidjakarta.persistence.spi.PersistenceProvider.generateSchema
+ + ( + PersistenceUnitInfo + ,
Map + ) +
throws + PersistenceException
+
if insufficient or inconsistent configuration information is provided of if schema generation otherwise failstrue +
+
true
PERSISTENCE:JAVADOC:3518booleanjakarta.persistence.spi.PersistenceProvider.generateSchema
+ + ( + String + ,
Map + ) +
throws + PersistenceException
+
if insufficient or inconsistent configuration information is provided or if schema generation otherwise failstrue +
+
true
+ + diff --git a/jpa/docs/assertions/spec/spec-assertions-3_2.html b/jpa/docs/assertions/spec/spec-assertions-3_2.html new file mode 100644 index 0000000000..2903d4e2fd --- /dev/null +++ b/jpa/docs/assertions/spec/spec-assertions-3_2.html @@ -0,0 +1,23649 @@ + + + + + +Specification Assertion Detail + + +
+
+

Jakarta Persistence - 3.0
+ Specification Assertion Detail +

+
+ + + + + + + + + + + +
TotalsTotalActiveDeprecatedRemoved
+ # of Assertions + 27032604099
+ # of Required Assertions + 26092511098
+ # of Optional Assertions + 949301
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IDChapterSectionDescriptionRequiredDependencyImplementation SpecificDefined byStatusTestable
PERSISTENCE:SPEC:50021The entity class must:true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:50121be annotated with the Entity annotation + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:50221be denoted in the XML descriptor as an Entity + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:50321The entity must have a no-arg constructor. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:50421The entity may have other constructors as well. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:50521The no-arg constructor must be public or protected. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:131821The entity class must be a top-level class + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:114521An enum or interface must not be designated as an + entity. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:50621If an entity instance is to be passed by value as a + detached object (e.g., through a remote + interface), the entity class must implement the Serializable + interface. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:50721The entity class must not be final.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:50821No methods or persistent instances of the entity class + may be final. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:114621An instance variable must be directly accessed only + from within the methods of the entity by + the entity instance itself. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:50921Both abstract and concrete classes can be entities. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:51021Entities may extend non-entity classes as well as + entity classes and non-entity classes may + extend entity classes. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:51121Instance variables must not be accessed by clients of + the entity. The state of the entity is + available to clients only through the entity's methods—i.e., + accessor methods (getter/setter methods) or + other business methods. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:51621.1It is required that the entity class follow the method + conventions for a JavaBean when + property-based access is used. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:51222Instance variables of a class must be private, + protected, or package visibility independent of + whether field access or property access is used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:51522When property access is used, the property accessor + methods must be public or protected. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:131922for every persistent property property of type T of the + entity, there is a getter method, + getProperty, and setter method setProperty. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:132022For boolean properties, isProperty may be used as an + alternative name for the getter method + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:51722Collection-valued persistent fields and properties must + be defined in terms of one of the + following collection-valued interfaces regardless of whether the + entity class otherwise adheres to the + JavaBeans method conventions noted above and whether field or + property access is used + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:51822The following collection interfaces are + supported: java.util.Collection, + java.util.set, + java.util.List, java.util.Map + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:132122The collection implementation type may be used by the + application to initialize fields or + properties before the entity is made persistent. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:132222Once the entity becomes managed (or detached), + subsequent access must be through the + interface type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:51922For collection-valued persistent properties, type T + must be one of these collection interface + types in the method signatures above. Use of the generic + variants of these collection types is + encouraged + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:52022In addition to returning and setting persistent state + of the instance, the property accessor + methods may contain other business logic as well, for example, + to perform validation. The persistence + provider runtime executes this logic when property-based access + is used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:52122If a persistence context is joined to a transaction, + runtime exceptions thrown by + property accessor methods cause the current transaction to be + rolled back. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:52222Exceptions thrown by such methods when used by the + persistence runtime to load or store + persistent state cause the persistence runtime to mark the + current transaction for rollback and to throw + a PersistenceException that wraps the application exception. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:52322Entity subclasses may override the property accessor + methods. However, portable applications + must not override the object/relational mapping metadata that + applies to the persistent fields or + properties of + entity superclasses. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:52422The persistent fields or properties of an entity may be + one of the following types: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:52522Java primitive typestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:52622java.lang.Stringtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:52722other Java serializable types (including + wrappers of the primitive types, + java.math.BigInteger, java.math.BigDecimal, + java.util.Date, + java.util.Calendar, java.sql.Date, java.sql.Time, + java.sql.TimeStamp + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:52822user-defined serializable types, byte[], + Byte[], char[], and Character[] + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:52922enumstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:53022entity typestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:53122collection of entity typestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:53222embeddable classestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:524.122collections of basic typestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:524.222collections of embeddable typestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:114923.1By default, a single access type(field or property + access) applies to an entity hierarchy. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:132323.1The default + access type of an entity hierarchy is determined by the + placement of mapping annotations on the + attributes of the entity classes and mapped superclasses of the + entity hierarchy that do not explicitly + specify an access type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:132423.1An access type is explicitly specified by means of the + Access annotation + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:51323.1When field-based access is used, the object/relational + mapping annotations for the entity class + annotate the instance variables, and the persistence provider + runtime accesses instance variables + directly. All non-transient instance variables that are not + annotated with the Transient + annotation are persistent. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:51423.1When property-based access is used, the + object/relational mapping annotations for the entity + class annotate the getter property accessors, and the + persistence provider runtime accesses persistent + state via the property accessor methods. All properties not + annotated with the + Transient annotation are persistent. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:115023.1Mapping annotations must not be applied to fields or + properties that are transient or + Transient. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:132523.1All such classes in the entity hierarchy whose access + type is defaulted in this way must be + consistent in + their placement of annotations on either fields or properties, + such that a single, consistent default + access type applies within the hierarchy. Any embeddable classes + used by such classes will have the same + access type as the default access type of the hierarchy unless + the Access annotation is specified as + defined below. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:132623.2An access type for an individual entity class, mapped + superclass, or embeddable class can be + specified for that class independent of the default for the + entity hierarchy by means of the Access + annotation applied to the class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:132723.2This explicit access type specification does not affect + the access type of other entity + classes or mapped superclasses in the entity hierarchy. The + following rules apply: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1327.123.2When Access(FIELD) is applied to an entity + class, mapped superclass, or embeddable + class, mapping annotations may be placed on the instance + variables of that class, and the + persistence + provider runtime accesses persistent state via the + instance variables defined by the + class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1327.223.2All non-transient instance variables that are + not annotated with the Transient + annotation + are persistent. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1327.323.2When Access(FIELD) is applied to such a class, + it is possible to + selectively designate individual attributes within the + class for property access. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:115323.2To specify a persistent property for access by + the persistence provider runtime, + that + property + must be designated Access(PROPERTY.) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1327.423.2It is permitted (but redundant) to place + Access(FIELD) on a persistent field whose + class has field access type or Access(PROPERTY) + on a persistent property whose class has property access + type + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1327.523.2It is not permitted to specify a field as + Access(PROPERTY) or a property as + Access(FIELD) + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1327.623.2Note that Access(PROPERTY) must not be placed + on the setter methods. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:115423.2The behavior is undefined if mapping + annotations are placed on any properties + defined + by the + class for which Access(PROPERTY) is not specified. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1327.723.2Persistent state inherited from superclasses is + accessed in accordance with the + access + types of those superclasses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1327.823.2When Access(PROPERTY) is applied to an entity + class, mapped superclass, or + embeddable + class, mapping annotations may be placed on the + properties of that class, and the + persistence + provider runtime accesses persistent state via the + properties defined by that class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1327.923.2All properties that are not annotated with the + Transient annotation are persistent. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1327.1023.2When Access(PROPERTY) is applied to such a + class, it is possible to selectively + designate individual attributes within the class for + instance variable access. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:115523.2To specify a persistent instance variable for + access by the persistence provider + runtime, that + instance variable must be designated Access(FIELD) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:115623.2The behavior is undefined if mapping + annotations are placed on any instance + variables + defined + by the class for which Access(FIELD) is not specified. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1327.1123.2Persistent state inherited from superclasses is + accessed in accordance with the + access + types of those superclasses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:132823.3The access type of an embeddable class is determined by + the access type of the entity class, + mapped superclass, or embeddable class in which it is embedded + (including as a member of an element + collection) independent of whether the access type of the + containing class has been explicitly specified + or defaulted. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:132923.3A different access type for an embeddable class can be + specified for that embeddable class + by means of the Access annotation as described above. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:53324Every entity must have a primary key.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:115824The primary key must be defined on the entity class + that is the root of the entity hierarchy or + on a mapped superclass that is a (direct or indirect) superclass + of all entity classes in the entity + hierarchy. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:115924The primary key must be defined exactly once in an + entity hierarchy. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:53424A simple (i.e., non-composite) primary key must + correspond to a single persistent field or + property of the entity class. The Id annotation or id XML + element must be used to denote a simple + primary key. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:53524Composite primary key must correspond to either a + single persistent field or property or to a + set of such fields or properties + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:116224A primary key class must be defined to represent a + composite primary key. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:133024The EmbeddedId or IdClass annotation is used to denote + a composite primary key + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:53624A simple primary key or a field or property of a + composite primary key should be one of the + following types: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:53724any Java primitive typetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:53824any primitive wrapper typetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:53924java.lang.Stringtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:54024java.util.Date. If java.util.Date is used as a + primary key field or property,the + temporal type should be specified as DATE. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:54124java.sql.Datetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:116924java.math.BigDecimaltrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:117024java.math.BigIntegertrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:133124If the primary key is a composite primary key derived + from the primary key of another entity, + the primary key may contain an attribute whose type is that of + the primary key of the referenced entity + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:117224If generated primary keys are used, only integral types + will be portable. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:54324The following rules apply for composite primary keys: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:54424The primary key class must be public and must + have a public no-arg constructor. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:54224The access type (field- or property-based + access) of a primary key class is + determined + by the access type of the entity for which it is the + primary key unless the primary key is a + embedded id and a different access type is specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:54624If property-based access is used, the + properties of the primary key class must be + public or protected. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:54524The primary key class must be serializable. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:54724The primary key class must define equals and + hashCode methods. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:54824A composite primary key must either be + represented and mapped as an embeddable + class + (EmbeddedId annotation) or must be represented as an id + class and mapped to multiple fields + or + properties of the entity class (IdClass annotation). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:54924If the composite primary key class is + represented as an id class, the names of + primary + key fields or properties in the primary key class and + those of the entity class to which the + id + class is mapped must correspond and their types must be + the same. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:117724A primary key that corresponds to a derived + identity must conform to the rules + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:55024The application must not change the value of the + primary key. The behavior is undefined + if this occurs. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:117924.1The identity of an entity may be derived from the + identity of another entity (the "parent" + entity) when the former entity (the "dependent" entity) is the + owner of a many-to-one or one-to-one + relationship to the parent entity and a foreign key maps the + relationship from dependent to parent. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:133224.1If a many-to-one or one-to-one entity relationship + corresponds to a primary key attribute, the + entity containing this relationship cannot be persisted without + the relationship having been assigned an + entity + since the identity of the entity containing the relationship is + derived from the referenced entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:133324.1Derived identities may be captured by means of simple + primary keys or by means of composite + primary keys + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:118024.1If the dependent entity class has primary key + attributes in addition to those of the parent's + primary key or if the parent has a composite primary key, an + embedded id or id class must be used to + specify the primary key of the dependent entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:133424.1It is not necessary that parent entity and dependent + entity both use embedded ids or both use + id classes to represent composite primary keys when the parent + has a composite key. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:118124.1A dependent entity may have more than one parent + entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:118224.1.1If the dependent entity uses an id class to represent + its primary key, one of the two following + rules must be observed: The names of the attributes of the id + class and the Id attributes of the + dependent entity class + must correspond as follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:118324.1.1The Id attribute in the entity class and the + corresponding attribute in the id + class + must have + the same name. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:118424.1.1If an Id attribute in the entity class is of + basic type, the corresponding + attribute in + the id + class must have the same type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:118524.1.1If an Id attribute in the entity is a + many-to-one or one-to-one reference to a + parent + entity, + the type of the corresponding attribute in the id class + must be the same Java type as the id + class or + embedded id of the parent entity (if the parent entity + has a composite primary key) or the + type + of the + Id attribute of the parent entity (if the parent entity + has a simple primary key). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1182.124.1.1If the dependent entity has a single primary + key attribute (i.e., the relationship + attribute), the id class specified by the dependent + entity must be the same as the primary + key + class of the parent entity. The Id annotation is applied + to the relationship to the parent + entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:133524.1.1If the dependent entity uses an embedded id to + represent its primary key, the attribute in the + embedded + id corresponding to the relationship attribute must be of the + same type as the primary key of the parent + entity and must be designated by the MapsId annotation applied + to the relationship attribute. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:133624.1.1The + value element of the MapsId annotation must be used to specify + the name of the attribute within the + embedded id to which the relationship attribute corresponds. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:133724.1.1If the embedded id of the dependent entity + is of the same Java type as the primary key of the parent + entity, the relationship attribute maps both + the + relationship to the parent and the primary key of the dependent + entity, and in this case the MapsId + annotation is specified without the value element + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:133824.1.1Note that the parent’s primary key might be represented + as either an embedded id or as an id + class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:133924.1.1If the dependent entity has a single primary key + attribute (i.e, the relationship attribute or + an attribute + that corresponds to the relationship attribute) and the primary + key of the parent entity is a simple + primary + key, the primary key of the dependent entity is a simple primary + key of the same type as that of the + parent entity (and neither EmbeddedId nor IdClass is specified). + In this case, either (1) the + relationship + attribute is annotated Id, or (2) a separate Id attribute is + specified and the relationship attribute + is annotated MapsId (and the value element of the MapsId + annotation is not specified). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:134024.1.2A primary key attribute that is derived from the + identity of a parent entity is mapped by the + corresponding relationship attribute. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:134124.1.2The default mapping for this relationship is as + specified in section 2.10. In + the case where a default mapping does not apply or where a + default mapping is to be overridden, the + JoinColumn or JoinColumns annotation is used on the relationship + attribute. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:134224.1.2If the dependent entity uses an embedded id to + represent its primary key, the AttributeOverride + annotation may be used to override the default mapping of + embedded id attributes that do not correspond + to the relationship attributes mapping the derived identity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:134324.1.2The embedded id attributes that correspond to the + relationship are treated by the provider as + “read only”—that is, any updates to them on the part of the + application are not propagated to the + database. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:134424.1.2If the dependent uses an id class, the Column + annotation may be used to override the default + mapping of Id attributes that are not relationship attributes. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:118825An entity may have collections of embeddables as well + as single-valued embeddable attributes. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:118925Embeddable may be used as map keys and map values. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:55125Embedded objects belong strictly to their owning entity + and are not shareable across + persistent entities. Attempting to share an embedded object + across entities has undefined semantics. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:55325Embeddable classes must adhere to the requirements as + specified in section 2.1 for entities + with the exception that embeddable classes are not annotated as + Entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:119025Embeddable classes must be annotated as Embeddable or + denoted in XML descriptors. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:119125An embeddable class may be used to represent the state + of another embeddable class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:119225An embeddable class (including an embeddable class + within another embeddable class) may contain + a collection of a basic type or other embeddable class. Direct + or indirect circular containment + dependencies among embeddable classes are not permitted. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:119325An embeddable class may contain a relationship to an + entity or collection of entities. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:119425Since instances of + embeddable classes themselves have no persistent identity, the + relationship from the referenced entity + is to the entity that contains the embeddable instance(s) and + not to the embeddable itself. An + embeddable + class that is used as an embedded id or as map key must not + contain such a relationship. An entity + cannot have a unidirectional relationship to the embeddable + class of another entity (or itself). + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:119526A persistent field or property of an entity or + embeddable class may correspond to a collection + of a basic type or embeddable class (“element collection”). Such + a collection, when specified as such by + the ElementCollection annotation, is mapped by means of a + collection table + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:119526If the ElementCollection annotation (or XML equivalent) + is not specified for the + collection-valued + field or property, the rules of Section 2.8 apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:119626An embeddable class (including an embeddable class + within another embeddable class) that is + contained within an element collection must not contain an + element collection, nor may it contain a + relationship + to an entity other than a many-to-one or one-to-one + relationship. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:119726The embeddable class must be on the owning side of the + relationship and the relationship must + be mapped by a foreign key mapping. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:119827Collections of elements and entity relationships can be + represented as java.util.Map + collections. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:119927The map key type and the map value independently can + each be a basic type, embeddable class, + or an entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:120027The ElementCollection, OneToMany, and ManyToMany + annotations are used to specify the + map as an element collection or entity relationship as follows: + when the map value is a basic type or + embeddable class, the ElementCollection annotation is used; when + the map value is an entity, the + OneToMany or ManyToMany annotation is used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:120127Bidirectional relationships represented as + java.util.Map collections support the use of the Map + datatype on one side of the relationship only. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:120227.1If the map key type is a basic type, the MapKeyColumn + annotation is used to specify the column + mapping for the map key. If the MapKeyColumn annotation is not + specified, the default values of the + MapKeyColumn annotation apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:120327.1If the map key type is an embeddable class, the + mappings for the map key columns are defaulted + according to the default column mappings for the embeddable + class. The AttributeOverride and + AttributeOverrides annotations can be used to override these + mappings + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:134527.1If an embeddable class is used as a map key, the + embeddable class must implement the hashCode + and equals methods consistently with the database columns to + which the embeddable is mapped + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:120427.1If the map key type is an entity, the MapKeyJoinColumn + and MapKeyJoinColumns annotations are + used to specify the column mappings for the map key. If the + primary key of the referenced entity is a + simple primary key and the MapKeyJoinColumn annotation is not + specified, the default values of the + MapKeyJoinColumn annotation apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:120527.1If Java generic types are not used in the declaration + of a relationship attribute of type + java.util.Map, the MapKeyClass annotation must be used to + specify the type of the key of the map. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:134627.1The MapKey annotation is used to specify the special + case where the map key is itself the + primary key or a persistent field or property of the entity that + is the value of the map. The + MapKeyClass annotation is not used when MapKey is specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:134727.2When the value type of the map is a basic type or an + embeddable class, a collection table is + used to map the map. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:120627.2If Java generic types are not used, the targetClass + element of the ElementCollection annotation + must be used to specify the value type for the map. The default + column mappings for the map value are + derived according to the default mapping rules for the + CollectionTable annotation. The Column annotation + is used to override these defaults for a map value + of basic type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:134827.2The AttributeOverride(s) and AssociationOverride(s) + annotations are used to override the + mappings for a map value that is an embeddable class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:120727.2When the value type of the map is an entity, a join + table is used to map for a many-to-many + relationship or, by default, for a one-to-many unidirectional + relationship. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:120827.2If the relationship is a bidirectional + one-to-many/many-to-one relationship, by default the map + is mapped in the table of the entity that is the value of the + map. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:120927.2If Java generic types are not used, the targetEntity + element of the OneToMany or ManyToMany + annotation must be used to specify the value type for the map. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:55528If a persistent field or property other than a + relationship property is not annotated with a + mapping annotation, the the following default mappings rules are + applied in order + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:55728If the type is a class that is annotated with + the @Embeddable annotation, it is + mapped + as if the field or property were annotated with the + Embedded annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:55628If the type of the field or property is one of + the following, it is mapped in the + same + way as it would if it were annotated as Basic: + Java primitive types, wrappers of primitive types, + java.lang.String, java.math.BigInteger, + java.math.BigDecimal, java.util.Date, + java.util.Calendar,java.sql.Date, java.sql.Time, + java.sql.TimeStamp, byte[], Byte[], char[], Character[], + enums, any other types that + implement + Serializable. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:56028It is an error if no annotation is present and + none of the above rules apply. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:56129If there is an association between two entities, one of + the following relationship modeling + annotations must be applied to the corresponding property or + field of the referencing entity: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:56229OneToOnetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:56329OneToManytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:56429ManyToOnetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:56529ManyToManytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:56629For associations that do not specify the targe type + (e.g., where Java generic types are not + used for collections) it is necessary to also specify the entity + that is the target of the relationship. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:121029Relationships may be bidirectional or unidirectional. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:56729A bidirectional relationship has both an owning side + and an inverse (non-owning)side + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:56829A unidirectional relationship has only an owning + side. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:56929The following rules apply to bidirectional + relationships: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:57029The inverse side of a bidirectional + relationship must refer to its owning side by + use + of the mappedBy element of the OneToOne, OneToMany, or + ManyToMany annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:57129The mappedBy element designates the property or + field in the entity that is the + owner + of the relationship. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:57229The many side of one-to-many/many-to-one + bidirectional relationships must be the + owning + side, hence the mappedBy element cannot be specified on + the ManyToOne annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:57329For one-to-one bidirectional relationships, the + owning side corresponds to the side + that contains the corresponding foreign key. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:57429For many-to-many bidirectional relationships, + either side may be the owning side. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:57529The cascade=REMOVE specification should only be applied + to associations that are specified as + OneToOne or OneToMany. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:57629Applications that apply cascade=REMOVE to other + assocations are not portable. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:134929Associations that are specified as OneToOne or + OneToMany support use of the orphanRemoval + option. The following behaviors apply when orphanRemoval is in + effect: + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1349.129If an entity that is the target of the + relationship is removed from the + relationship + (by setting the relationship to null or removing the + entity from the relationship + collection), + the remove operation will be applied to the entity being + orphaned. The remove operation is + applied at the time of the flush operation. The + orphanRemoval functionality is intended for + entities that are privately "owned" by their parent + entity. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1349.229If the entity being orphaned is a detached, + new, or removed entity, the semantics + of + orphanRemoval do not apply. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1349.329If the remove operation is applied to a managed + source entity, the remove operation + will be cascaded to the relationship target in + accordance with the rules of section 3.2.3, + (and + hence it is not necessary to specify cascade=REMOVE for + the relationship). If the parent is + detached or new or was previously removed before the + orphan was associated with it, the + remove + operation is not + applied to the entity being orphaned. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:121129In addition, this specification also requires support + for the following alternative mapping + strategies: + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:121229The mapping of unidirectional one-to-many + relationships by means of foreign key + mappings. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:121429The JoinColumn annotation or corresponding XML + element must be used to specify such + non-default + mappings. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:121329The mapping of unidirectional and bidirectional + one-to-one relationships and + bidirectional + many-to-one/one-to-many relationships by means of join + table mappings. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1211.129The JoinTable annotation or corresponding XML + element must be used to specify such + non-default mappings + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:57729Such mapping annotations must be specified on the + owning side of the relationship. + Any overriding of mapping defaults must be consistent with the + relationship modeling annotation that is + specified. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:135029If there are no associated entities for a multi-valued + relationship of an entity fetched from + the database, the persistence provider is responsible for + returning an empty collection as the value of + the relationship. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:578210.1Assuming that: + Entity A references a single instance of Entity B. + Entity B references a single instance of Entity A. + Entity A is specified as the owner of the relationship. + The following mapping defaults apply: + Entity A is mapped to a table named A. + Entity B is mapped to a table named B. + Table A contains a foreign key to table B. The foreign key + column name is formed as the concatenation + of the following: the name of the relationship property or field + of entity A; "_"; the + name of the primary key column in table B. The foreign key + column has the same type as the + primary key of table B and there is a unique key constraint on + it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:579210.2Assuming that: + Entity A references a single instance of Entity B. + Entity B references a collection of Entity A. + Entity A must be the owner of the relationship. + The following mapping defaults apply: + Entity A is mapped to a table named A. + Entity B is mapped to a table named B. + Table A contains a foreign key to table B. The foreign key + column name is formed as the concatenation + of the following: the name of the relationship property or field + of entity A; "_"; the name of the + primary key column in table B. The foreign key column has the + same type as the + primary key of table B. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1351210.2When the relationship is modeled as a java.util.Map, + “Entity B references a collection of + Entity A” means that Entity B references a map collection in + which the type of the Map value is Entity + A. The map key may be a basic type, embeddable class, or an + entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:580210.3Assuming that: + Entity A references a single instance of Entity B. + Entity B does not reference Entity A. + A unidirectional relationship has only an owning side, which in + this case must be Entity A. + The unidirectional single-valued relationship modeling case can + be specified as either a unidirectional + OneToOne or as a unidirectional ManyToOne relationship. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:581210.3.1The following mapping defaults apply: + Entity A is mapped to a table named A. + Entity B is mapped to a table named B. + Table A contains a foreign key to table B. The foreign key + column name is formed as the concatenation + of the following: the name of the relationship property or field + of entity A; "_"; the + name of the primary key column in table B. The foreign key + column has the same type as the + primary key of table B and there is a unique key constraint on + it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:582210.3.2The following mapping defaults apply: + Entity A is mapped to a table named A. + Entity B is mapped to a table named B. + Table A contains a foreign key to table B. The foreign key + column name is formed as the concatenation + of the following: the name of the relationship property or field + of entity A; "_"; the + name of the primary key column in table B. The foreign key + column has the same type as the + primary key of table B. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:583210.4Assuming that: + Entity A references a collection of Entity B. + Entity B references a collection of Entity A. + Entity A is the owner of the relationship. + The following mapping defaults apply: + Entity A is mapped to a table named A. + Entity B is mapped to a table named B. + There is a join table that is named A_B (owner name first). This + join table has two foreign key + columns. One foreign key column refers to table A and has the + same type as the primary key of + table A. The name of this foreign key column is formed as the + concatenation of the following: + the name of the relationship property or field of entity B; "_"; + the name of the primary key column + in table A. The other foreign key column refers to table B and + has the same type as the primary + key of table B. The name of this foreign key column is formed as + the concatenation of the + following: the name of the relationship property or field of + entity A; "_"; the name of the primary + key column in table B. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:584210.5Assuming that: + Entity A references a collection of Entity B. + Entity B does not reference Entity A. + A unidirectional relationship has only an owning side, which in + this case must be Entity A. + The unidirectional multi-valued relationship modeling case can + be + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:585210.5.1The following mapping defaults apply: + Entity A is mapped to a table named A. + Entity B is mapped to a table named B. + There is a join table that is named A_B (owner name first). This + join table has two foreign key + columns. One foreign key column refers to table A and has the + same type as the primary key of + table A. The name of this foreign key column is formed as the + concatenation of the following: + the name of entity A; "_"; the name of the primary key column in + table A. The other foreign + key column refers to table B and has the same type as the + primary key of table B and there is a + unique key constraint on it. The name of this foreign key column + is formed as the concatenation + of the following: the name of the relationship property or field + of entity A; "_"; the name + of the primary key column in table B. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:586210.5.2Entity A is mapped to a table named A. + Entity B is mapped to a table named B. + There is a join table that is named A_B (owner name first). This + join table has two foreign key + columns. One foreign key column refers to table A and has the + same type as the primary key of + table A. The name of this foreign key column is formed as the + concatenation of the following: + the name of entity A; "_"; the name of the primary key column in + table A. The other foreign + key column refers to table B and has the same type as the + primary key of table B. The name of + this foreign key column is formed as the concatenation of the + following: the name of the relationship + property or field of entity A; "_"; the name of the primary key + column in table B. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1217211An entity may inherit from another entity class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1218211Entities support inheritance,polymorphic associations, + and polymorphic queries. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1219211Both abstract and concrete classes can be entities. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1352211Both abstract and concrete classes can be annotated + with the Entity annotation, mapped as + entities, and queried for as entities. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1220211Entities can extend non-entity classes and non-entity + classes can extend entity classes. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1353211.1An abstract class can be specified as an entity. An + abstract entity differs from a concrete + entity only in that it cannot be directly instantiated. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:588211.1An abstract entity class is annotated with the Entity + annotation or denoted in the XML + descriptor as an entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:588.1211.1An abstract entity is mapped as an entity and can be + the target of queries (which will operate + over and/or retrieve instances of its concrete subclass). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:593211.2An entity may inherit from a superclass that provides + persistent entity state and mapping + information, but which is not itself an entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:594211.2A mapped superclass, unlike an entity, is not queryable + and must not be passed as an argument + to + EntityManager or Query operations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1354211.2Persistent relationships defined by a mapped superclass + must be unidirectional. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:595211.2An mapped superclass cannot be the target of a + persistent relationship. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:596211.2Both abstract or concrete classes may be specified as + mapped superclasses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:597211.2The MappedSuperclass annotation (or mapped-superclass + XML descriptor element) is used to + designate an mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:598211.2A class designated as an mapped superclass has no + separate table defined for it. Its mapping + information is applied to entities that inherit from it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:599211.2A classes designated as mapped superclass can be mapped + in the same way as an entity except + that + the mapping will only apply to its subclesses since no table + exists for the mapped superclass. When + applied to the subclasses the inherited mappings will apply in + the context of the subclass tables. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:600211.2Mapping information may be overridden in such + subclasses by using the AttributeOverride and + AssociationOverride annotations or corresponding XML elements. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:601211.2All other entity mapping defaults apply equally to a + class designated as mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:589211.3An entity can have a non-entity superclass, which may + be either a concrete or abstract class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:589211.3The superclass must not be an embeddable class + or id class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:590211.3The state of a non-entity superclass is not + persistent. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:591211.3Any state inherited from non-entity superclasses is + non-persistent in an inheriting entity + class. This non-persistent state is not managed by the entity + manager. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1355211.3Any annotations on such superclasses are ignored. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:592211.3Non-entity classes cannot be passed as arguments to + methods of the EntityManager or Query + interfaces and cannot bear mapping information. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:592.1211.3This includes instances of a non-entity class + that extends an entity class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:602212There are three basic strategies that are used when + mapping a class or class hierarchy to a + relational database schema: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:603212a single table per class hierarchy + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:605212a joined subclass strategy, in which fields + that are specific to a subclass are + mapped + to a separate table than the fields that are common to + the parent class, and a join is + performed + to instantiate + the subclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:604212a table per concrete entity classtrue +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1356212 + An implementation is required to support the single table per + class hierarchy inheritance mapping + strategy and the joined subclass strategy. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1357212.1 + all the classes in a hierarchy are mapped to a single table. The + table has a column that + serves as a “discriminator column”, that is, a column whose + value identifies the specific subclass to + which the instance that is represented by the row belongs. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1358212.1 + It has the drawback, however, that it requires that the columns + that correspond to state specific to the + subclasses be nullable. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1359212.2In the joined subclass strategy, the root of the class + hierarchy is represented by a single + table. Each subclass + is represented by a separate table that contains those fields + that are specific to the subclass (not + inherited from its superclass), as well as the column(s) that + represent its primary key. The primary key + column(s) of the subclass table serves as a foreign key to the + primary key of the superclass table. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1360212.2It has the drawback that it requires that one or more + join operations be performed to + instantiate instances of a subclass. In deep class hierarchies, + this may lead to unacceptable + performance. Queries that range over the class hierarchy + likewise require joins. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1361212.3 + each class is mapped to a separate table. All properties of the + class, including inherited properties, + are mapped to columns of the table for the class. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1362213This specification requires the following with regard + to the interpretation of the names + referencing database + objects. These names include the names of tables, columns, and + other database elements. Such + names also include names that result from defaulting (e.g., a + table name that is defaulted from an + entity + name or a column name that is defaulted from a field or property + name). + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1363213 + By default, the names of database objects must be treated as + undelimited identifiers and passed to the + database as such. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1369213 + To specify delimited identifiers, one of the following + approaches must be used: + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1369.1213 + It is possible to specify that all database identifiers + in use for a persistence unit be + treated + as + delimited identifiers by specifying the + + element within the + persistence-unit-defaults element of the + object/relational xml mapping file. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1369.2213 + If the + + element is specified, it cannot be overridden. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1369.3213 + It is possible to specify on a per-name basis that a + name for a database object is to be + interpreted + as a delimited identifier as follows: Using annotations, + a name is specified as a delimited + identifier by enclosing the name within double quotes, + whereby the inner quotes are escaped + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1369.4213 + It is possible to specify on a per-name basis that a + name for a database object is to be + interpreted + as a delimited identifier as follows: When using XML, a + name is specified as a delimited + identifier by use of double quotes + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370213 + The following annotations contain elements whose values + correspond to names of database identifiers + and for which the above rules apply, including when their use is + nested within that of other + annotations: + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.1213 + EntityResult (discriminatorColumn element) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.2213FieldResult (column element) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.3213ColumnResult (name element) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.4213CollectionTable (name, catalog, schema + elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.5213Column (name, columnDefinition, table elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.6213DiscriminatorColumn (name, columnDefinition + elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.7213ForeignKey (name, foreignKeyDefinition + elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.8213Index (name, columnList elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.9213JoinColumn (name, referencedColumnName, + columnDefinition, table elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.10213JoinTable (name, catalog, schema elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.11213MapKeyColumn (name, columnDefinition, table + elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.12213MapKeyJoinColumn (name, referencedColumnName, + columnDefinition, table elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.13213NamedStoredProcedureQuery (procedureName + element) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.14213OrderColumn (name, columnDefinition elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.15213PrimaryKeyJoinColumn (name, + referencedColumnName, columnDefinition elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.16213 +
+
true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.17213SecondaryTable (name, catalog, schema elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.18213SequenceGenerator (sequenceName, catalog, + schema elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.19213StoredProcedureParameter (name element) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.20213Table (name, catalog, schema elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.21213TableGenerator (table, catalog, schema, + pkColumnName, valueColumnName elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1370.22213UniqueConstraint (name, columnNames elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371213 + The following XML elements and types contain elements or + attributes whose values correspond to + names of database identifiers and for which the above rules + apply: + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.1213entity-mappings (schema, catalog elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.2213persistence-unit-defaults (schema, catalog + elements) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.3213collection-table (name, catalog, schema + attributes) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.4213column (name, table, column-definition + attributes) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.5213column-result (name attribute) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.6213discriminator-column (name, column-definition + attributes) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.7213entity-result (discriminator-column attribute) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.8213field-result (column attribute) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.9213foreign-key (name, foreign-key-definition + attributes) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.10213index (name attribute, column-list element) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.11213join-column (name, referenced-column-name, + column-definition, table attributes) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.12213join-table (name, catalog, schema attributes) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.13213map-key-column (name, column-definition, table + attributes) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.14213map-key-join-column (name, + referenced-column-name, column-definition, table + attributes) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.15213named-stored-procedure-query (procedure-name + attribute) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.16213order-column (name, column-definition + attributes) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.17213primary-key-join-column (name, + referenced-column-name, column-definition + attributes) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.18213secondary-table (name, catalog, schema + attributes) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.19213sequence-generator (sequence-name, catalog, + schema attributes) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.20213stored-procedure-parameter (name attribute) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.21213table (name, catalog, schema attributes) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.22213table-generator (table, catalog, schema, + pk-column-name, value-column-name + attributes) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1371.23213unique-constraint (name attribute, column-name + element) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:60631.1The persist, merge, remove, and refresh methods must be + invoked within a transaction + context when an entity manager with a transaction-scoped + persistence context is used. If there is no + transaction context, the + jakarta.persistence.TransactionRequiredException is thrown. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:131331.1Methods that specify a lock mode other than + LockModeType.NONE must be invoked within a + transaction. If there is no transaction or if the entity manager + has not been joined to the transaction, + the jakarta.persistence.TransactionRequiredException is thrown. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:60731.1The find method (provided it is invoked without a lock + or invoked with LockModeType.NONE) + and the getReference method are not required to be invoked + within a transaction. If an entity manager + with transaction-scoped persistence context is in use, the + resulting entities will be detached; if an + entity manager with an extended persistence context is used, + they will be managed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:60831.1The Query, TypedQuery, CriteriaBuilder, Metamodel, and + EntityTransaction + objects obtained from an entity manager are valid while that + entity manager is open. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:60931.1If the argument to the createQuery method is not a + valid Jakarta Persistence query string or a + valid + CriteriaQuery object, the IllegalArgumentException may be thrown + or the query execution + will fail and a PersistenceException will be thrown. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:137231.1 + If the result class specification of a Jakarta Persistence query + language query is incompatible with the + result + of the query, the IllegalArgumentException may be thrown when + the createQuery method is invoked or the + query + execution will fail and a PersistenceException will be thrown + when the query is executed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:61031.1If a native query is not a valid query for the database + in use or if the results set + specification is incompatible with the result of the query, the + query execution will fail and a + PersistenceException will be thrown when the query is executed. + The PersistenceException should wrap the + underlying database exception when possible. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:61131.1Runtime exceptions thrown by the methods of the + EntityManager interface other than the Lock- + TimeoutException will cause the current transaction to be marked + for rollback if the persistence + context is joined to that transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:61231.1The methods close, isOpen, joinTransaction and + getTransaction are used to managed + application-managed entity managers and their life cycle. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:137331.1A property defined by this specification must be + observed by the provider unless otherwise + explicitly stated. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:137431.1A hint specifies a preference on the part of the + application. While a hint defined by this + specification should be observed by the provider if possible, a + hint may or may not always be observed. + A portable application must not depend on the observance of a + hint. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:61332Entity Instance's Life Cycle:true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:61432A new entity instance has no persistent + identity and is not yet associated with a + persistence context. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:61532A managed entity instance is an instance with a + persistent identity that is + currently + associated with a persistence context. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:61632A detached entity is an instance with a + persistent identity that is not (or no + longer) + associated with a persistence context. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:61732A removed entity instance is an instance with a + persistent identity associated with + a + persistence context that will be removed from the + database. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:137532.1Entity instances are created by means of the new + operation. An entity instance, when first + created by new is not yet persistent. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:61832.2A new entity instance becomes both managed and + persistent by + invoking the persist method on it or by cascading the persist + operation. The semantics of the persist + operation, applied to an entity X, are as follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:61932.2If X is a new entity, it becomes managed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:62032.2The entity X will be entered into the database + at or before transaction commit or + as a + result of the flush operation. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:62132.2If X is a preexisting managed entity, it is + ignored by the persist operation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:62232.2However, the persist operation is cascaded to + entities referenced by X, if the + relationships from X to these other entities are + annotated with the cascade=PERSIST + annotation + element value or specified with the equivalent XML + descriptor element. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:62332.2However, the persist operation is cascaded to + entities referenced by X, if the + relationships from X to these other entities are + annotated with the cascade=ALL annotation + element value or specified with the equivalent XML + descriptor element. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:62432.2If X is a removed entity, it becomes managed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:62532.2If X is a detached object, an + IllegalArgumentException will be thrown by the + persist + operation (or the transaction comit will fail). + true +
+
truetechnologyremovedtrue
PERSISTENCE:SPEC:618.132.2If X is a detached object, the + EntityExistsException may be thrown when the persist + operation is invoked + true +
+
truetechnologyremovedtrue
PERSISTENCE:SPEC:618.232.2If X is a detached object, the + EntityExistsException or another + PersistenceException + may be thrown at flush or commit time. + true +
+
truetechnologyremovedtrue
PERSISTENCE:SPEC:62632.2For all entities Y referenced by a relationship + from X, if the relationship to Y + has + been annotated with the cascade element value + cascade=PERSIST, the persist operation is + applied + to Y. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:62732.2For all entities Y referenced by a relationship + from X, if the relationship to Y + has + been annotated with the cascade element value + cascade=ALL, the persist operation is applied + to + Y. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:62832.3A managed entity instance becomes removed by invoking + the remove method on it or by cascading + the remove operation. The semantics of the remove operation, + applied to an entity X, are as follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:62932.3If X is a new entity, it is ignored by the + remove operation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:63032.3However, the remove operation is cascaded to + entities referenced by X, if the + relationship from X to these other entities is annotated + with cascade=REMOVE annotation + element. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:63132.3However, the remove operation is cascaded to + entities referenced by X, if the + relationship from X to these other entities is annotated + with cascade=ALL annotation + element. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:63232.3If X is a managed entity, the remove operation + causes it to become removed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:63332.3The remove operation is cascaded to entities + referenced by X, if the relationship + from + X to these other entities is annotated with + cascade=REMOVE annotation element value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:63432.3The remove operation is cascaded to entities + referenced by X, if the relationship + from + X to these other entities is annotated with cascade=ALL + annotation element value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:63532.3If X is a detached entity, an + IllegalArgumentException will be thrown by the remove + operation (or the transaction commit will fail). + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:63632.3If X is a removed entity, it is ignored by the + remove operation. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:63732.3A removed entity X will be removed from the + database at or before transaction + commit or + as a result of the flush operation. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:137632.3After an entity has been removed, its state (except for + generated state) will be that of the + entity at the point at which the remove operation was called. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:127532.4a persistence context of type + SynchronizationType.UNSYNCHRONIZED or an application-managed + persistence context that has been created outside the scope of + the current transaction will only be + synchronized to the database if it has been joined to the + current transaction by the application’s use + of the EntityManager joinTransaction method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:63932.4The state of persistent entities is synchronized with + the database at transaction commit. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:137732.4 + An update to the state of an entity includes both the assignment + of a new value to a persistent property + or field of the entity as well as the modification of a mutable + value of a persistent property or field. + This includes, for example. modifications to persistent + attributes of type char[] and byte[]. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:137832.4Synchronization to the database does not involve a + refresh of any managed entities unless the + refresh operation is explicitly invoked on those entities or + cascaded to them as a result of the + specification of the cascade=REFRESH annotation element value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:137932.4Synchronization to the database does not involve a + refresh of any managed entities unless the + refresh operation is explicitly invoked on those entities or + cascaded to them as a result of the + specification of the cascade=ALL annotation element value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:64032.4The persistence provider runtime is permitted to + perform synchronization to the database at + other times as well when a transaction is active and the + persistence context is joined to the + transaction. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:138032.4The flush method can be used by the application to + force synchronization. It applies to + entities associated with the persistence context. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:131432.4The setFlushMode methods of the Entity- + Manager, Query, TypedQuery, and StoredProcedureQuery interfaces can be + used to + control synchronization semantics. If FlushModeType.COMMIT is + specified, flushing will occur at + transaction commit; the persistence provider is permitted, but + not required, to perform to flush at + other times. If there is no transaction active or if the + persistence context has not been joined to the + current transaction, the persistence provider must not flush to + the database. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:64132.4The semantics of the flush operation, applied to entity + X are as follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:64232.4If X is a managed entity, it is synchronized to + the database. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:64332.4For all entities Y referenced by a relationship + from X, if the relationship to Y + has + been annotated with the cascade element value + cascade=PERSIST, the persist operation is + applied + to Y. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:64432.4For all entities Y referenced by a relationship + from X, if the relationship to Y + has + been annotated with the cascade element value + cascade=ALL, the persist operation is applied + to + Y. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:64532.4For any entity Y referenced by a relationship + from X, where the relationship to Y + has + not been annotated with the cascade element value + cascade=PERSIST or cascade=ALL + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:64632.4If Y is new or removed, an + IllegalStateException will be thrown by the flush + operation + (and the transaction marked for rollback) or the + transaction commit will fail. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:64732.4If Y is detached, the semantics depend upon the + ownership of the relationship. If X + owns the relationship, any changes to the relationship + are synchronized with the database; + otherwise, if Y owns the relationships, the behavior is + undefined. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:64832.4If X is a removed entity, it is removed from + the database. No cascade options are + relevant + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:122232.5The state of a managed entity instance is refreshed + from the database by invoking the refresh + method on it or by cascading the refresh operation. The + semantics of the refresh operation, applied to + an entity X are as follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:122332.5If X is a managed entity, the state of X is + refreshed from the database, + overwriting + changes made to the entity, if any. The refresh + operation is cascaded to entities referenced + by + X, if the relationship from X to these other entities is + annotated with the cascade=REFRESH + annotation element value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1222.132.5If X is a managed entity, the state of X is + refreshed from the database, + overwriting + changes made to the entity, if any. The refresh + operation is cascaded to entities referenced + by + X, if the relationship from X to these other entities is + annotated with the cascade=ALL + annotation element value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1222.232.5If X is a new, detached, or removed entity, the + IllegalArgumentException is thrown + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:122432.6An entity instance is removed from the persistence + context by invoking the detach method on it + or cascading the detach operation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:122532.6Changes made to the entity, if any (including removal + of the entity), will not be synchronized + to the database after such eviction has taken place. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:122632.6Applications must use the flush method prior to the + detach method to ensure portable semantics + if changes have been made to the entity (including removal of + the entity). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:122732.6portable applications must not assume that changes have + not been written to the database if the + flush method has not been called prior to detach. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:122732.6The semantics of the detach operation, applied to an + entity X are as follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:122832.6If X is a managed entity, the detach operation + causes it to become detached. The + detach + operation + is cascaded to entities referenced by X, if the + relationships from X to these other entities + is + annotated with the cascade=DETACH annotation element + value. Entities which + previously + referenced X will continue to reference X. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1227.132.6If X is a managed entity, the detach operation + causes it to become detached. The + detach + operation + is cascaded to entities referenced by X, if the + relationships from X to these other entities + is + annotated with the cascade=ALL annotation element value. + Entities which + previously + referenced X will continue to reference X. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:122932.6If X is a new or detached entity,it is ignored + by the detach operation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:123032.6If X is a removed entity, the detach operation + is cascaded to entities referenced + by X, + if the + relationships from X to these other entities is + annotated with the cascade=DETACH annotation + element value. Entities which previously referenced X + will continue to reference X. + Portable + applications should not pass removed entities that have + been detached from the persistence + context to + further EntityManager operations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:123032.6If X is a removed entity, the detach operation + is cascaded to entities referenced + by X, + if the + relationships from X to these other entities is + annotated with the cascade=ALL + annotation element value. Entities which previously + referenced X will continue to reference + X. + Portable + applications should not pass removed entities that have + been detached from the persistence + context to + further EntityManager operations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:138132.7 + A detached entity results from transaction commit if a + transaction-scoped persistence context is used; + from transaction rollback; from detaching the entity from the + persistence context; from + clearing the persistence context; from closing an entity manager + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:65732.7A detached entity results + from serializing an entity or otherwise passing an entity by + value—e.g., to a separate application tier, + through a remote interface, etc. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:138232.7 + Detached entity instances continue to live outside of the + persistence context in which they were + persisted + or retrieved. Their state is no longer guaranteed to be + synchronized with the database state. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:64932.7The application may access the available state of + available detached entity instances after the + persistence context ends. The available state includes: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:65032.7Any persistent field or property not marked + fetch=LAZY + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:65132.7Any persistent field or property that was + accessed by the application. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:65232.7If the persistent field or property is an association, + the available state of an associated + instance may only be safely accessed if the associated instance + is available. The available instances + include: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:65332.7All entity instances retrieved using find(). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:65432.7Any entity instances retrieved using a query or + explictly requested ina fetch join + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:65532.7Any entity instance for which an instance + variable holding non-primary-key + persistent + state was accessed by the application. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:65632.7Any entity instance that may be reached from + another available instance by + navigating + associations marked fetch=EAGER. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:65832.7.1The merge operation allows for the propagation of state + from detached entities onto persistent + entities managed by the entity manager. The semantics of the + merge operation applied to an entity X are + as follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:65932.7.1If X is a detached entity, the state of X is + copied onto a pre-existing managed + entity + instance X' of the same identity or a new managed copy + X' of X is created. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:66032.7.1If X is a new entity instance, a new managed + entity instance X' is created and the + state of X is copied into the new managed entity + instance X'. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:66132.7.1If X is a removed entity instance, an + IllegalArgumentException will be thrown by + the + merge operation (or the transaction commit will fail). + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:66232.7.1If X is a managed entity, it is ignored by the + merge operation, however, the merge + operation is cascaded to entities referenced by + relationships from X if these relationships + have + been annotated with the cascade element value + cascade=MERGE annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:66332.7.1If X is a managed entity, it is ignored by the + merge operation, however, the merge + operation is cascaded to entities referenced by + relationships from X if these relationships + have + been annotated with the cascade element value + cascade=ALL annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:66432.7.1For all entities Y referenced by relationships + from X having the cascade element + value + cascade=MERGE, Y is merged recursively as Y'. For all + such Y referenced by X, X' is set to + reference Y'. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:66532.7.1For all entities Y referenced by relationships + from X having the cascade element + value + cascade=ALL, Y is merged recursively as Y'. For all such + Y referenced by X, X' is set to + reference Y'. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:658.132.7.1If X is an entity merged to X', with a + reference to another entity Y, where + cascade=MERGE + is not specified, then navigation of the same + association from X' yields a + reference to a managed object Y' with the same + persistent identity as Y. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:658.232.7.1If X is an entity merged to X', with a + reference to another entity Y, where + cascade=ALL + is not specified, then navigation of the same + association from X' yields a + reference to a managed object Y' with the same + persistent identity as Y. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:138332.7.1The persistence provider must not merge fields marked + LAZY that have not been fetched: it must + ignore such fields when merging. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:66632.7.1Any Version columns used by the entity must be checked + by the persistence runtime + implementation during the merge operation and/or at flush or + commit time + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:123132.7.2Serializing entities and merging those entities back + into a persistence context may not be + interoperable across vendors when lazy properties or fields + and/or relationships are used. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:138432.7.2A vendor is required to support the serialization and + subsequent deserialization and merging of + detached entity instances (which may contain lazy properties or + fields and/or relationships that have + not been + fetched) back into a separate JVM instance of that vendor's + runtime, where both runtime instances have + access to the entity classes and any required vendor persistence + implementation classes. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:123232.7.2When interoperability across vendors is required, the + application must not use lazy loading. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:66732.8The contains method returns true: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:66832.8If the entity has been retrieved from the + database or has returned by the + getReference,and has not been removed or detached. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:66932.8If the entity instance is new and the persist + method has been called on the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:67032.8If the entity instance is new and the persist + operation has been cascaded to it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:67132.8The contains method returns false: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:67232.8If the instance is detached.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:67332.8If the remove method has been called on the + entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:67432.8If the remove operation has been cascaded to + it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:67532.8If the entity instance is new and the persist + method has not been called on the + entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:67632.8If the entity instance is new and the persist + operation has not been cascaded to + it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:67732.8Not that the effect of cascading + persist,merge,remove,or detach is immediately visible to the + contains method, whereas, the actual + insertion, modification, or deletion of the database + representation for the entity may be deferred until + the end of the transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:138532.9An entity is considered to be loaded if all attributes + with FetchType.EAGER—whether explictly + specified or by default—(including relationship and other + collection-valued attributes) have been + loaded from the database or assigned by the application. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:138632.9An attribute that is an embeddable is considered to be + loaded if the embeddable attribute was + loaded from the database or assigned by the application, and, if + the attribute references an embeddable + instance + (i.e., is not null), the embeddable instance state is known to + be loaded (i.e., all attributes of the + embeddable with FetchType.EAGER have been loaded from the + database or assigned by the application). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:138732.9A collection-valued attribute is considered to be + loaded if the collection was loaded from the + database or the value of the attribute was assigned by the + application, and, if the attribute references + a collection + instance (i.e., is not null), each element of the collection + (e.g. entity or embeddable) is considered + to be + loaded. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:138832.9A single-valued relationship attribute is considered to + be loaded if the relationship attribute + was loaded from the database or assigned by the application, + and, if the attribute references an entity + instance (i.e., + is not null), the entity instance state is known to be loaded. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:138932.9A basic attribute is considered to be loaded if its + state has been loaded from the database or + assigned by the application. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:139032.9The PersistenceUtil.isLoaded methods can be used to + determine the load state of an entity + and its attributes regardless of the persistence unit with which + the entity is associated. The + PersistenceUtil. + isLoaded methods return true if the above conditions hold + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:139132.9The PersistenceUtil.isLoaded methods return false + otherwise + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:139232.9If the persistence unit is known, the + PersistenceUnitUtil.isLoaded methods can be used instead. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:67833The enum PersistenceContextType is used to define + persistence context lifetime scope for + container-managed entity managers. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:67933By default, the lifetime of the persistence context of + a container-managed entity manager + corresponds to the scope of a transaction (i.e., it is of type + PersistenceContextType.TRANSACTION) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:68033When an extended persistence context is used, the + extended persistence contexts exists from the + time the EntityManager instance is created until it is closed. + This persistence context might span + multiple transactions and non-transactional invocations of the + EntityManager. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:68133An EntityManager with an extended persistence context + maintains its references to the entity + objects after a transaction has committed. + Those objects remain managed by the EntityManager and they may + be updated as managed objects between + transactions. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:139433Note that when a new transaction is begun, the managed + objects in an extended persistence + context are not reloaded from the database. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:68233Navigation from a managed object in an extended + persistence context results in one or more + other managed objects regardless of whether a transaction is + active. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:68333When an EntityManager with an extended persistence + context is used, the persist, remove, merge + and refresh operations may be called regardless of whether a + transaction is active. The effects of these + operations will be committed to the database when the extended + persistence context is entlisted in a + transaction and the transaction commits. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:68433The scope of the persistence context of an + application-managed entity manager is extended. It + is the responsibility of the application to manage the lifecycle + of the persistence context. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:127633.1By default, a container-managed persistence context is + of SynchronizationType.SYNCHRONIZED + and is automatically joined to the current transaction. A + persistence context of SynchronizationType. + UNSYNCHRONIZED will not be enlisted in the current transaction, + unless the + EntityManager joinTransaction method is invoked. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:131533.1By default, an application-managed persistence context + that is associated with a JTA entity + manager and + that is created within the scope of an active transaction is + automatically joined to that transaction. + An + application-managed JTA persistence context that is created + outside the scope of a transaction or an + application-managed persistence context of type + SynchronizationType.UNSYNCHRONIZED + will not be joined to that transaction unless the EntityManager + joinTransaction method is + invoked. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:131633.1An application-managed persistence context associated + with a resource-local entity manager is + always automatically joined to any resource-local transaction + that is begun for that entity manager. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:68533.2The managed entities of a transaction-scoped + persistence context become detached when the + transaction commits. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:68633.2The managed entities of an extended persistence context + remain managed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:68733.3For both transaction-scoped persistence contexts and + for extended persistence contexts that are + joined to the current transaction, transaction rollback causes + all pre-existing managed instances and + removed instances to become detached. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:131733.3Because a transaction-scoped persistence context’s + lifetime is scoped to a transaction + regardless of whether it is joined to that transaction, the + container closes the persistence context + upon transaction rollback. However, an extended persistence + context that is not joined to a + transaction is unaffected by transaction rollback + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:139534.1Optimistic locking is a technique that is used to + insure that updates to the database data + corresponding to the state of an entity are made only when no + intervening transaction has updated that + data since the + entity state was read. This insures that updates or deletes to + that data are consistent with the current + state of the database and that intervening updates are not lost. + Transactions that would cause this + constraint + to be violated result in an OptimisticLockException being thrown + and the transaction + marked for rollback. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:139634.1Portable applications that wish to enable optimistic + locking for entities must specify Version + attributes for those entities—i.e., persistent properties or + fields annotated with the Version + annotation + or specified in the XML descriptor as version attributes. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:69034.2The Version field or property is used by the + persistence provider to perform optimistic + locking. It is accessed and/or set by the persistence provider + in the course of performing lifecycle + operations on the + entity instance. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:139734.2The Version field or property is used by the + persistence provider to perform optimistic + locking. It is accessed and/or set by the persistence provider + in the course of performing lifecycle + operations on the + entity instance. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:139834.2An entity may access the state of its version field or + property or export a method for use by + the application to access the version, but must not modify the + version value. Bulk update statements, + however, are permitted to set the value of version attributes + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:139934.2With the exception noted in section 4.10, only the + persistence provider is permitted to set or + update the value of the version attribute in the object. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:140034.2The version attribute is updated by the persistence + provider runtime when the object is written + to the database. All non-relationship fields and properties and + all relationships owned by the entity + are + included in version checks. This includes owned relationships + maintained in join tables + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:140134.2 + The persistence provider's implementation of the merge operation + must examine the version attribute + when an entity is being merged and throw an + OptimisticLockException if it is discovered that + the object being merged is a stale copy of the entity—i.e. that + the entity has been updated since the + entity became detached. Depending on the implementation strategy + used, it is possible that this + exception + may not be thrown until flush is called or commit time, + whichever happens first. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:140234.2 + The persistence provider runtime is required to use only the + version attribute when performing + optimistic + lock checking. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:140334.2 + Persistence provider implementations may provide additional + mechanisms beside + version attributes to enable optimistic lock checking. However, + support for such mechanisms is not + required of an implementation of this specification. + false +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:140434.2 + If only some entities contain version attributes, the + persistence provider runtime is required to check + those entities for which version attributes have been specified. + The consistency of the object graph is + not guaranteed, but the absence of version attributes on some of + the entities will not stop operations + from completing. + false +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:140534.3 + Pessimistic locking guarantees that once a transaction has + obtained a pessimistic lock on an entity + instance: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1405.134.3 + no other transaction (whether a transaction of an + application using the Jakarta Persistence API + or + any other transaction using the underlying resource) may + successfully modify or delete that + instance until the transaction holding the lock has + ended. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1405.234.3 + if the pessimistic lock is an exclusive lock, that same + transaction may modify or delete + that + entity instance. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:140634.3 + When an entity instance is locked using pessimistic locking, the + persistence provider must lock the + database + row(s) that correspond to the non-collection-valued persistent + state of that instance. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:140734.3 + If a joined inheritance strategy is used, or if the entity is + otherwise mapped to a secondary table, + this entails locking + the row(s) for the entity instance in the additional table(s). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:140834.3 + Entity relationships for which the locked entity contains the + foreign key will also be locked, but not + the state of the referenced entities (unless those entities are + explicitly locked). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:140934.3 + Element collections and relationships for which the entity does + not + contain the foreign key (such as relationships that are mapped + to join tables or unidirectional + one-to-many relationships for which the target entity contains + the foreign key) will not be locked by + default. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:141034.3 + Element collections and relationships owned by the entity that + are contained in join tables will be + locked if the jakarta.persistence.lock.scope property is specified + with a value of + PessimisticLockScope.EXTENDED. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:141134.3 + The state of entities referenced by such relationships will not + be locked (unless those entities are + explicitly locked). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:141234.3 + Locking such a relationship or element collection generally + locks only the rows in the join table or + collection + table for that relationship or collection. This means that + phantoms will be possible. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:141334.3 + This specification does not define the mechanisms a persistence + provider uses to obtain database locks, + and a portable application should not rely on how pessimistic + locking is achieved on the database.[39] + In + particular, a persistence provider or the underlying database + management system may lock more rows + than the ones selected by the application. + false +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:141434.3 + Whenever a pessimistically locked entity containing a version + attribute is updated on the database, the + persistence provider must also update (increment) the entity's + version column to enable correct + interaction + with applications using optimistic locking. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:141534.3 + Pessimistic locking may be applied to entities that do not + contain version attributes. However, in this + case correct interaction with applications using optimistic + locking cannot be ensured. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:69134.4Lock Modestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:141634.4.1 + If transaction T1 calls lock(entity, LockModeType.OPTIMISTIC) on + a versioned object, the + entity manager must ensure that neither of the following + phenomena can occur: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1416.134.4.1 + P1 (Dirty read): Transaction T1 modifies a row. Another + transaction T2 then reads that row + and + obtains the modified value, before T1 has committed. + Transaction T2 eventually + commits successfully; it does not matter whether T1 + commits or rolls back and whether it + does + so before or after T2 commits. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1416.234.4.1 + P1 (Dirty read): Transaction T1 modifies a row. Another + transaction T2 then reads that row + and + obtains the modified value, before T1 has rolled back. + Transaction T2 eventually + commits successfully; it does not matter whether T1 + commits or rolls back and whether it + does + so before or after T2 commits. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1416.334.4.1 + P2 (Non-repeatable read): Transaction T1 reads a row. + Another transaction T2 then modifies + that + row, before T1 has committed. Both transactions + eventually commit successfully. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1416.434.4.1 + P2 (Non-repeatable read): Transaction T1 reads a row. + Another transaction T2 then deletes + that + row, before T1 has committed. Both transactions + eventually commit successfully. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:141734.4.1 + While with optimistic concurrency concurrency, long-term + database read locks are typically not + obtained immediately, a compliant implementation is permitted to + obtain an immediate lock (so long as + it is retained until commit completes). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:141834.4.1 + If the lock is deferred until commit time, it must be retained + until the commit completes. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:141934.4.1 + The persistence implementation is not required to support + calling lock(entity, LockModeType.OPTIMISTIC) + on a non-versioned object. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:142034.4.1 + When it cannot support such a lock call, it must throw the + PersistenceException. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:142134.4.1 + When supported, whether for versioned or non-versioned objects, + LockModeType.OPTIMISTIC must always + prevent the phenomena P1 and P2. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:142234.4.1 + Applications that call lock(entity, LockModeType.OPTIMISTIC) on + non-versioned objects will not be + portable. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:142334.4.1 + If transaction T1 calls lock(entity, + LockModeType.OPTIMISTIC_FORCE_INCREMENT) on a versioned object, + the + entity manager must avoid the phenomena P1 and P2 (as with + LockModeType.OPTIMISTIC) and must also force + an update (increment) to the entity's version column. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:123434.4.1A forced version update may be performed immediately, + or may be deferred until a flush or + commit. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:142434.4.1 + If an entity is removed before a deferred version update was to + have been applied, the forced version + update is omitted. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:142534.4.1 + The persistence implementation is not required to support + calling lock(entity, + LockModeType.OPTIMISTIC_FORCE_INCREMENT) on a non-versioned + object. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:142634.4.1 + When it cannot support such a lock call, it must throw the + PersistenceException. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:142734.4.1 + When supported, whether for versioned or non-versioned objects, + LockModeType.OPTIMISTIC_FORCE_INCREMENT + must always prevent the phenomena P1 and P2. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:142834.4.1 + For non-versioned objects, whether or not + LockModeType.OPTIMISTIC_FORCE_INCREMENT has any additional + behavior is vendor-specific. + false +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:142934.4.1 + Applications that call lock(entity, + LockModeType.OPTIMISTIC_FORCE_INCREMENT) on non-versioned + objects + will not be portable. + false +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:143034.4.1 + For versioned objects, it is permissible for an implementation + to use + LockModeType.OPTIMISTIC_FORCE_INCREMENT where + LockModeType.OPTIMISTIC was requested, but not vice versa. + true +
+
falsetechnologyremovedfalse
PERSISTENCE:SPEC:143134.4.1 + If a versioned object is otherwise updated or removed, then the + implementation must ensure that the + requirements of LockModeType.OPTIMISTIC_FORCE_INCREMENT are met, + even if no explicit + call to EntityManager.lock was made. + true +
+
falsetechnologyremovedfalse
PERSISTENCE:SPEC:123634.4.1For portability, an application should not depend on + vendor-specific hints or configuration to + ensure repeatable read for objects that are not updated or + removed via any mechanism other than the use + of version attributes and the EntityManager lock method. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:123734.4.1It should be noted that if an implementation has + acquired upfront pessimistic locks on some + database rows, then it is free to ignore lock(entity, + LockModeType.OPTIMISTIC)) calls on the entity + objects representing those rows. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:143234.4.2 + If transaction T1 calls lock(entity, + LockModeType.PESSIMISTIC_READ) or lock(entity, + LockModeType.PESSIMISTIC_WRITE)on an object, the entity manager + must ensure that neither of the + following phenomena can occur: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1432.134.4.2 + P1 (Dirty read): Transaction T1 modifies a row. Another + transaction T2 then reads that row + and + obtains the modified value, before T1 has committed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1432.234.4.2 + P1 (Dirty read): Transaction T1 modifies a row. Another + transaction T2 then reads that row + and + obtains the modified value, before T1 has rolled back. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1432.334.4.2 + P2 (Non-repeatable read): Transaction T1 reads a row. + Another transaction T2 then modifies + or + deletes that row, before T1 has committed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1432.434.4.2 + P2 (Non-repeatable read): Transaction T1 reads a row. + Another transaction T2 then modifies + or + deletes that row, before T1 has rolled back. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:143334.4.2 + Any such lock must be obtained immediately and retained until + transaction T1 completes (commits or rolls + back). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:143434.4.2 + The persistence implementation must support calling lock(entity, + LockModeType.PESSIMISTIC_READ) and + lock(entity, LockModeType.PESSIMISTIC_WRITE)on a non-versioned + entity as well as on a versioned entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:143534.4.2 + It is permissible for an implementation to use + LockModeType.PESSIMISTIC_WRITE where + LockModeType.PESSIMISTIC_READ was requested, but not vice versa. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:143634.4.2 + When the lock cannot be obtained, and the database locking + failure results in transaction-level + rollback, the provider must throw the PessimisticLockException + and ensure that the JTA transaction or + EntityTransaction has been marked for rollback. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:143734.4.2 + When the lock cannot be obtained, and the database locking + failure results in only statement-level + rollback, the provider must throw the LockTimeoutException (and + must not mark the transaction for + rollback). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:143834.4.2 + When an application locks an entity with + LockModeType.PESSIMISTIC_READ and later updates + that entity, the lock must be converted to an exclusive lock + when the entity is flushed to the database. + If the lock conversion fails, and the database locking failure + results in transaction-level rollback, + the + provider must throw the PessimisticLockException and ensure that + the JTA transaction or + EntityTransaction has been marked for rollback. When the lock + conversion fails, and the database locking + failure results in only statement-level rollback, the provider + must throw the LockTimeoutException + (and must not mark the transaction for rollback). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:143934.4.2 + When lock(entity, LockModeType.PESSIMISTIC_READ), lock(entity, + LockModeType.PESSIMISTIC_WRITE), or + lock(entity, LockModeType.PESSIMISTIC_FORCE_INCREMENT)is invoked + on a versioned entity that is already + in the persistence context, the + provider must also perform optimistic version checks when + obtaining the lock. An OptimisticLockException + must be thrown if the version checks fail. Depending on the + implementation strategy + used by the provider, it is possible that this exception may not + be thrown until flush is called or + commit time, whichever occurs first. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:144034.4.2 + The persistence implementation is not required to support + calling lock(entity, + LockModeType.PESSIMISTIC_FORCE_INCREMENT) on a non-versioned + object. When it cannot support such a lock + call, it must throw the PersistenceException. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:144134.4.2 + When supported, whether for versioned or non-versioned objects, + LockModeType.PESSIMISTIC_FORCE_INCREMENT + must always prevent the phenomena P1 and P2. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:144234.4.2 + For non-versioned objects, whether or not + LockModeType.PESSIMISTIC_FORCE_INCREMENT has any additional + behavior is vendor-specific. + false +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:144334.4.2 + Applications that call lock(entity, + LockModeType.PESSIMISTIC_FORCE_INCREMENT) on non-versioned + objects + will not be portable. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:144434.4.2 + For versioned objects, it is permissible for an implementation + to use + LockModeType.PESSIMISTIC_FORCE_INCREMENT where + LockModeType.PESSIMISTIC_READ or + LockModeType.PESSIMISTIC_WRITE was requested, but not vice + versa. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:144534.4.2 + If a versioned object locked with LockModeType.PESSIMISTIC_READ + or LockModeType.PESSIMISTIC_WRITE is + updated, then the implementation must ensure that the + requirements of + LockModeType.PESSIMISTIC_FORCE_INCREMENT are met. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:144634.4.3 + jakarta.persistence.lock.scope + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1446.134.4.3 + This property may be used with the methods of the + EntityManager interface that allow lock + modes + to be specified, the Query.setLockMode method and the + NamedQuery annotation. When specified, + this property must be observed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1446.234.4.3 + The provider is permitted to lock more (but not fewer) + rows than requested. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:144734.4.3 + jakarta.persistence.lock.timeout + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1447.134.4.3 + This hint may be used with the methods of the + EntityManager interface that allow lock modes + to + be + specified, the Query.setLockMode method and the + NamedQuery annotation. It may also be + passed as a property to the + Persistence.createEntityManagerFactory method and used + in the properties element of the persistence.xml file. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1447.234.4.3 + When used in the createEntityManagerFactory method, the + persistence. + xml file, and the NamedQuery annotation, the timeout + hint serves as a default value which + can be selectively overridden by use in the methods of + the EntityManager, + Query, and TypedQuery + interfaces as + specified above. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1447.334.4.3 + A timeout value of 0 is used to specify “no wait” + locking + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1447.434.4.3 + Portable applications should not rely on this hint. + Depending on the database in use and the + locking + mechanisms used by the persistence provider, the hint + may or may not be observed. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1447.534.4.3 + Vendors are permitted to support the use of additional, + vendor-specific locking hints. + Vendor-specific + hints must not use the jakarta.persistence namespace. + Vendor-specific hints must be ignored if + they are not understood. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1447.634.4.3 + If the same property or hint is specified more than + once, the following order of overriding + applies, in + order of decreasing precedence: + • argument to method of EntityManager EntityManager, Query, or TypedQuery interface + • specification to NamedQuery (annotation or XML) + • argument to createEntityManagerFactory method + • specification in persistence.xml + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:144834.5 + Provider implementations may defer writing to the database until + the end of the transaction, when + consistent + with the lock mode and flush mode settings in effect. In this + case, an optimistic lock check may + not occur until commit time, and the OptimisticLockException may + be thrown in the "before + completion" phase of the commit. If the OptimisticLockException + must be caught or handled + by the application, the flush method should be used by the + application to force the database writes to + occur. This will allow the application to catch and handle + optimistic lock exceptions. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:144934.5 + The OptimisticLockException provides an API to return the object + that caused the exception to + be thrown. The object reference is not guaranteed to be present + every time the exception is thrown but + should be provided whenever the persistence provider can supply + it. Applications cannot rely upon this + object being available. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:69234.5OptimisticLockExceptiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:145034.5 + In some cases an OptimisticLockException will be thrown and + wrapped by another exception, + such as a RemoteException, when VM boundaries are crossed. + Entities that may be referenced in + wrapped exceptions should implement Serializable so that + marshalling will not fail. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:69334.5An OptimisticLockException always causes the + transaction to be marked for roll back. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:131635A lifecycle callback method can be defined on an entity + class, a mapped superclass, or an + entity + listener class associated with an entity or mapped superclass + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:145135 + An entity listener class is a class whose methods are invoked in + response to lifecycle events on an + entity. Any number of entity listener classes can be defined for + an entity class or mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:131735Default entity listeners—entity listener classes whose + callback methods apply to all entities + in the persistenceunit—can be specified by means of the XML + descriptor + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:69435Lifecycle callback methods and entity listener classes + are defined by means of metadata + annotations or in the XML descriptor. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:69535When annotations are used, one or more entity listener + classes are denoted using the + EntityListeners annoation on the entity class or mapped + superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:69635If multiple entity listeners are defined, the order in + wihch they are invoked is determined by + the order in which they are specified in the EntityListeners + annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:69735The XML descriptor may be used as an alternative to + specify the invocation order of the entity + listeners or to override the order specified in metadata + annotations.. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:69835Any subset or combination of annotations may be + specified on an entity class, mapped + superclass, of listener class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:69935A single class may not have more than one lifecycle + callback method for the same lifecycle + event. The same method may be used for multiple callback events. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:70035Multple entity classes and mapped superclasses in an + inheritance hierarchy may define listener + classes and/or lifecycle callback methods directly on the class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:70135.1The entity listener class must have a public no-arg + constructor. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:131835.1Entity listener classes in Jakarta EE environments support + dependency injection through the + Jakarta Contexts and + Dependency Injection API (CDI) when the CDI is enabled. An entity listener + class that makes use of CDI injection may also define lifecycle + callback methods annotated with the + PostConstruct and PreDestroy annotations. These methods will be + invoked after injection has + taken place and before the entity listener instance is destroyed + respectively. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:145235.1The persistence provider is responsible for using the + CDI SPI to create instances of the entity + listener + class; to perform injection upon such instances; to invoke their + PostConstruct and PreDestroy + methods, if any; and to dispose of the entity listener + instances. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:145335.1The persistence provider is only required to support + CDI injection into entity listeners in + Jakarta EE container + environments. If the CDI is not enabled, + the persistence provider must not invoke entity + listeners that depend upon CDI injection. + + If the containing archive CDI is not a bean archive, + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:145435.1An entity listener is a noncontextual object. In + supporting injection into entity listeners, + the persistence + provider must behave as if it carries out the following steps + involving the use of the CDI SPI. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1454.135.1Obtain a BeanManager instance.false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1454.235.1Create an AnnotatedType instance for the entity + listener class. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1454.335.1Create an InjectionTarget instance for the + annotated type. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1454.435.1Create a Creational Context.false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1454.535.1Instantiate the listener by calling the + InjectionTarget produce method. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1454.635.1Inject the listener instance by calling the + InjectionTarget inject method on the + instance. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1454.735.1Invoke the PostConstruct callback, if any, by + calling the InjectionTarget + postConstruct + method on the instance. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:145535.1When the listener instance is to be destroyed, the + persistence provider must behave as if it + carries out the following steps. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1455.135.1Call the InjectionTarget preDestroy method on + the instance. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1455.235.1Call the InjectionTarget dispose method on the + instance. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1455.335.1Call the CreationalContext release method.. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:145635.1Persistence providers may optimize the steps above, + e.g. by avoiding calls to the actual CDI + SPI and + relying on container-specific interfaces instead, as long as the + outcome is the same. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:145735.1Entity listeners that do not make use of CDI injection + are stateless. The lifecycle of such + entity listeners + is unspecified. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:70735.1When invoked from within a JavaEE environment, the + callback listener for an entity + share the enterprise naming context of the invoking component, + and the entity callback methods + are invoked in the transaction and security contexts of the + calling component at the time at + which the callback method is invoked. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:127735.2Entity lifecycle callback methods can be defined on an + entity listener class and/or directly on + an entity class or mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:127835.2Lifecycle callback methods are annotated with + annotations designating the callback events for + which they are invoked or are mapped to the callback event using + the XML descriptor. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:127935.2The annotations (and XML elements) used for callback + methods on the entity class or mapped + superclass and for callback methods on the entity listener class + are the same. The signatures of + individual + methods, however, differ. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:128035.2Callback methods defined on an entity class or mapped + superclass have the following signature: + void <METHOD>() + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:128135.2Callback methods defined on an entity listener class + have the following signature: void <METHOD>(Object) + The Object argument is the entity instance for which the + callback method is invoked. It may be declared + as the actual entity type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:128235.2The callback methods can have public, private, + protected, or package level access, but must not + be static or final. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:70235.2The following rules apply to lifecycle event callback + methods: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:70335.2Lifecycle callback methods may throw + unchecked/runtime exceptions. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:70435.2A runtime exception thrown by a callback method + that executes within a transaction + causes that transaction to be marked for rollback if the + persistence context is joined to + the + transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:70535.2Lifecycle callbacks can invoke JNDI, JDBC, JMS, + and enterprise beans. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:70635.2In general, the lifecycle method of a portable + application should not invoke + EntityManager or query operations, access other entity + instances, or modify relationships + within + the same persistence context. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:702.135.2 + A lifecycle callback method may modify the + non-relationship state of the entity on which it + is + invoked. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:70835.3The PrePersist and PreRemove callback methods are + invoked for a given entity before the + respective EntityManager persist and remove operation for that + entity are executed + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:71035.3For entities to which the merge operation has been + applied and causes the creation of newly + managed instances, the PrePersist callback methods will be + invoked for the managed instance after the + entity state has been copied to it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:70935.3These PrePersist and PreRemove callbacks will also be + invoked on all entities + to which these operations are cascaded + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:71135.3The PrePersist and PreRemove callbacks will always be + invoked as part of the synchronous + persist, merge, and remove operations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:71235.3The PostPersist and PostRemove callback methods are + invoked after the entity has been made + persistent or removed. These callbacks will also be invoked on + entities to which these operations are + cascaded. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:71335.3The PostPersist and PostRemove methods will be invoked + after the database insert and delete + operations respectively. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:71435.3These database operations may occur directly after the + persist, merge, or remove operations + have been invoked or they may occur directly + after a flush operation has occurred (which may be at the end of + the transaction). + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:71535.3Generated primary key values are available in the + PostPersist method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:71635.3The PreUpdate and PostUpdate callbacks occur before and + after the database update operations to + entity data respectively. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:71735.3These database operations may occur at the time the + entity state is updated or they may occur + at the time state is flushed to the database (which may be at + the end of the transaction). + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:71835.3Note that it is implementation-dependent as to whether + PreUpdate and PostUpdate callbacks occur + when an entity is persisted and subsequently modified in a + single transaction or when an entity is + modified and subsequently removed within a single transaction. + Portable applications should not rely on + such behavior. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:71935.3The PostLoad method for an entity is invoked after the + entity has been loaded into the current + persistence context from the database + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:72035.3The PostLoad method is invoked before a query result is + returned or accessed or before an + association is traversed. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:72135.3It is implementation-dependent as to whether callback + methods are invoked before or after the + cascading of the lifecycle events to related entities. + Applications should not depend on this ordering. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:145835.5If multiple callback methods are defined for an entity + lifecycle event, the ordering of the + invocation of these methods is as follows. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:72235.5Default listeners, if any, are invoked first, + in the order specified in the XML + descriptor. Default listeners apply to all entities in + the persistence unit, unless + explicitly + excluded by means of the ExcludeDefaultListeners + annotation or exclude-default-listeners XML + element. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:72335.5The lifecycle callback methods defined on the + entity listener classes for an entity + class or mapped superclass are invoked in the same order + as the specification of the entity + listener classes in the EntityListeners annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:72435.5If multiple classes in an inheritance hierarchy + - entity classes and/or mapped + superclasses - define entity listeners the listeners + defined for a superclass are invoked + before + the listeners and defined for its subclasses in this + order. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:72535.5The ExcludeSuperclassListeners annotation or + exclude-superclass-listeners XML + element + may be + applied to an + entity class or mapped super class to exclude the + invocation of the listeners defined by the + entity + listener classes for the + superclasses of the entity or mapped supeclass. The + excluded listeners are excluded from the + class to + which the + ExcludeSuperclassListeners annotation is specified and + its subclasses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:72635.5Excluded listeners may reintroduced on an + entity class by listing them explicitly + in + the + EntityListeners annotation or XML entity-listeners + element. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:72735.5The ExcludeSuperclassListeners annotation or + exclude-superclass-listeners XML + element) + does not + cause the default entity listeners to be excluded from + invocation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1458.135.5If a lifecycle callback method for the same + lifecycle event is also specified on + the + entity class and/or one + or more of its entity or mapped superclasses, the + callback methods on the entity class + and/or + superclasses + are invoked after the other lifecycle callback methods, + most general superclass first. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1458.235.5A class is + permitted to override an inherited callback method of + the same callback type, and in this + case, + the overridden + method is not invoked. If a method overrides an + inherited callback method but specifies a + different lifecycle event or is not a lifecycle callback + method, + the overridden method will not be invoked + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:145935.5 + Callback methods are invoked by the persistence provider runtime + in the order specified. If the callback + method execution terminates normally, the persistence provider + runtime then invokes the next callback + method, if any. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:146035.5 + The XML descriptor may be used to override the lifecycle + callback method invocation order specified in + annotations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:146135.7Lifecycle callback methods may throw runtime + exceptions. A runtime exception thrown by a + callback + method that executes within a transaction causes that + transaction to be marked for rollback if the + persistence + context is joined to the transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:146235.7No further lifecycle callback methods will be invoked + after a runtime exception is thrown. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:146335.8The XML descriptor can be used as an alternative to + metadata annotations to specify entity + listener + classes and their binding to entities or to override the + invocation order of lifecycle callback methods + as + specified in annotations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:146435.8.1The entity-listener XML descriptor element is used to + specify the lifecycle listener methods of + an entity listener class. The lifecycle listener methods are + specified by using the pre-persist, + post-persist, pre-remove, post-remove, pre-update, post-update, + and/or + post-load elements. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:146535.8.1An entity listener class can define multiple callback + methods. However, at most one method of + an entity + listener class can be designated as a pre-persist method, + post-persist method, pre-remove method, + post-remove method, pre-update method, post-update method, + and/or post-load method, regardless of + whether the XML descriptor is used to define entity listeners or + whether some combination of annotations + and XML descriptor elements is used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:146635.8.2The entity-listeners subelement of the + persistence-unit-defaults element is used to + specify the default entity listeners for the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:146735.8.2The entity-listeners subelement of the entity or + mapped-superclass element is used to + specify the entity listener classes for the respective entity or + mapped superclass and its subclasses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:146835.8.2The binding of entity listeners to entity classes is + additive. The entity listener classes + bound to the + superclasses of an entity or mapped superclass are applied to it + as well. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:146935.8.2The exclude-superclass-listeners element specifies that + the listener methods for superclasses + are not to be invoked for an entity class (or mapped superclass) + and its subclasses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:147035.8.2The exclude-default-listeners element specifies that + default entity listeners are not to be + invoked for an entity class (or mapped superclass) and its + subclasses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:147135.8.2Explicitly listing an excluded default or superclass + listener for a given entity class or + mapped superclass + causes it to be applied to that entity or mapped superclass and + its subclasses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:147235.8.2In the case of multiple callback methods for a single + lifecycle event, the invocation order + rules + described in section 3.5.5 apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:128336Managed classes (entities, mapped superclasses, and + embeddable classes) may be configured to + include Bean Validation constraints. Automatic validation using + these constraints is achieved by + specifying that Jakarta Persistence delegate validation to the Bean + Validation implementation upon the + pre-persist, pre-update, and pre-remove + entity lifecycle events + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:128436Validation can also be achieved by the application + calling the validate method of a Validator + instance upon an instance of a managed class, as described in + the Bean Validation specification + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:128536.1This specification supports the use of bean validation + for the automatic validation of entities + upon the + pre-persist, pre-update, and pre-remove lifecycle validation + events. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1285.136.1These lifecycle validation events + occur immediately after the point at which all the + PrePersist, PreUpdate, and PreRemove + lifecycle + callback method invocations respectively have been + completed + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1285.236.1or immediately after the point at + which such lifecycle callback methods would have been + completed (in the event that such + callback + methods are not present). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:147336.1In the case where an entity is persisted and + subsequently modified in a single transaction or + when an entity is modified and subsequently removed in a single + transaction, it is implementation + dependent as to whether the pre-update validation event occurs. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:128636.1.1The validation-mode element of the persistence.xml file + determines whether the automatic + lifecycle event validation is in effect. The values of the + validation-mode element are AUTO, + CALLBACK, NONE. The default validation mode is AUTO. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:128736.1.1If the application creates the entity manager factory + using the + Persistence.createEntityManagerFactory + method, the validation mode can be specified using the + jakarta.persistence. + validation.mode map key, which will override the value specified + (or defaulted) in the + persistence.xml file. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:147436.1.1The map values for this key are "auto", "callback", + "none". + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:128836.1.1If the auto validation mode is specified by the + validation-mode element or the + jakarta.persistence. + validation.mode property, or if neither the validation-mode + element nor the + jakarta.persistence.validation.mode property is specified, and a + Bean Validation provider + is present in the environment, the persistence provider must + perform the automatic validation of + entities + as described in section 3.6.1.2. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:128936.1.1If no Bean Validation provider is present in the + environment, no lifecycle + event validation takes place. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:129036.1.1If the callback validation mode is specified by the + validation-mode element or the + jakarta.persistence. + validation.mode property, the persistence provider must perform + the lifecycle event + validation as described in section 3.6.1.2. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:129136.1.1It is an error if there is no Bean Validation provider + present in + the environment, and the provider must throw the + PersistenceException if the jakarta.persistence. + validation.mode property value "callback" has been passed to the + Persistence. + createEntityManagerFactory method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:129236.1.1If the none validation mode is specified by the + validation-mode element or the + jakarta.persistence. + validation.mode property, the persistence provider must not + perform lifecycle event + validation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:129336.1.2the default Bean Validation group (the group Default) + will be validated upon + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1293.136.1.2pre-persist lifecycle validation event + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1293.236.1.2pre-update lifecycle validation event + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1293.336.1.2no group will be validated upon the pre-remove + event + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:129436.1.2This default validation behavior can be overridden by + specifying the target groups using the + following + validation properties in the persistence.xml file or by passing + these properties in the configuration + of the entity manager factory through the + createEntityManagerFactory method: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1294.136.1.2 + jakarta.persistence.validation.group.pre-persist + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1294.236.1.2jakarta.persistence.validation.group.pre-update + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1294.336.1.2jakarta.persistence.validation.group.pre-remove + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:129536.1.2The value of a validation property must be a list of + the targeted groups. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:147536.1.2A targeted group must be specified by its fully + qualified class name. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:147636.1.2Names must be separated by a comma. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:129636.1.2When one of the above events occurs for an entity, the + persistence provider must validate that + entity by + obtaining a Validator instance from the validator factory in use + (see section 3.6.2) and invoking its + validate method with the targeted groups. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:147736.1.2If the list of targeted groups is empty, no validation + is performed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:129736.1.2If the set of ConstraintViolation objects returned by + the validate method is not + empty, the persistence provider must throw the + jakarta.validation.ConstraintViolation- + Exception containing a reference to the returned set of + ConstraintViolation objects, and + must mark the transaction for rollback if the persistence + context is joined to the transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:129836.1.2The validator instance that is used for automatic + validation upon lifecycle events must use a + TraversableResolver that has the following behavior: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1298.136.1.2Attributes that have not been loaded must not + be loaded. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1298.236.1.2Validation cascade (@Valid) must not occur for + entity associations (single- or + multi-valued). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:129936.1.2Embeddable attributes must be validated only if the + Valid annotation has been specified on + them. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:130036.1.2It is the responsibility of the persistence provider to + pass an instance implementing the + jakarta.validation. TraversableResolver interface to the Bean + Validation provider by calling + ValidatorFactory. + usingContext().traversableResolver(tr).getValidator(), where + tr is the resolver having the behavior described above. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:130036.2In Jakarta EE environments, a ValidatorFactory instance is + made available by the Jakarta EE + container. + The container is responsible for passing this validator factory + to the persistence provider via the + map that is passed as an argument to the + createContainerEntityManagerFactory call. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:147836.2The map key used by the container must be the standard + property name + jakarta.persistence.validation. + factory. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:130136.2In Java SE environments, the application can pass the + ValidatorFactory instance via the map + that + is passed as an argument to the + Persistence.createEntityManagerFactory call. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:147936.2The map key used must be the standard property name + jakarta.persistence.validation.factory + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:148036.2If no ValidatorFactory instance is provided by the + application, and if a Bean Validation + provider is + present in the classpath, the persistence provider must + instantiate the ValidatorFactory using the + default bootstrapping approach defined by the Bean Validation + specification [8], namely + Validation.buildDefaultValidatorFactory(). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:242537Entity graphs are used in the specification of “fetch + plans” for query operations + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:242637Entity graphs are used in the specification of “fetch + plans” for find operations + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:242737Entity graphs are used in the specification of “fetch + plans” as specifications + for the boundaries of merge operations + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:242937The named-entity-graph XML element and its subelements + may be used to override these + annotations + or to define additional named entity graphs. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:243037.4An entity graph can be used with the find method + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:243137.4An entity graph can be used as a query hint to override + or augment FetchType semantics + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:243237.4The standard properties jakarta.persistence.fetchgraph + and jakarta.persistence. + loadgraph are used to specify such graphs to queries and find + operations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:243337.4The default fetch graph for an entity or embeddable is + defined to consist of the transitive + closure of all + of its attributes that are specified as FetchType.EAGER (or + defaulted as such) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:243437.4The persistence provider is permitted to fetch + additional entity state beyond that specified by + a fetch + graph or load graph. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:243537.4It is required, however, that the persistence provider + fetch all state specified by the + fetch or load graph. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:243637.4.1When the jakarta.persistence.fetchgraph property is used + to specify an entity graph, + attributes that are specified by attribute nodes of the entity + graph are treated as FetchType.EAGER + and attributes that are not specified are treated as + FetchType.LAZY. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:243737.4.1A primary key or version attribute never needs to be + specified in an attribute node of a fetch + graph. + (This applies to composite primary keys as well, including + embedded id primary keys.) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:243837.4.1When an entity + is fetched, its primary key and version attributes are always + fetched. It is not incorrect, however, to + specify primary key attributes or version attributes + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:243937.4.1Attributes other than primary key and version + attributes are assumed not to be fetched unless + the + attribute is specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:244037.4.1The following rules apply to the specification of + attributes. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2440.137.4.1If the attribute is an embedded attribute, and + the attribute is specified in an + attribute node, but a + subgraph is not specified for the attribute, the default + fetch graph for the embeddable is + fetched. If a subgraph is specified for the attribute, + the attributes of the embeddable are + fetched + according to their specification in the corresponding + subgraph. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2440.237.4.1If the attribute is an element collection of + basic type, and the attribute is specified + in an + attribute node, the element collection together with its + basic elements is fetched. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2440.337.4.1If the attribute is an element collection of + embeddables, and the attribute is + specified in an + attribute node, but a subgraph is not specified for the + attribute, the element collection + together + with the default fetch graph of its embeddable elements + is fetched. If a subgraph is specified + for the attribute, the attributes of the embeddable + elements are fetched according to the + corresponding + subgraph specification. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2440.437.4.1If the attribute is a one-to-one or many-to-one + relationship, and the attribute is + specified in an + attribute node, but a subgraph is not specified for the + attribute, the default fetch graph of + the + target entity is fetched. If a subgraph is specified for + the attribute, the attributes of the + target + entity are fetched according to the corresponding + subgraph specification. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2440.537.4.1If the attribute is a one-to-many or + many-to-many relationship, and the attribute is + specified in + an attribute node, but a subgraph is not specified, the + collection is fetched and the default + fetch + graphs of the referenced entities are fetched. If a + subgraph is specified for the attribute, the + entities in the collection are fetched according to the + corresponding subgraph specification. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2440.637.4.1If the key of a map which has been specified in + an attribute node is a basic type, it + is fetched. If + the key of a map which has been specified in an + attribute node is an embedded type, the default + fetch graph is fetched for the embeddable. Otherwise, if + the key of the map is an entity, and a + map key subgraph is not specified for the attribute + node, the map key is fetched according to + its + default fetch graph. If a key subgraph is specified for + the map key attribute, the map key + attribute is fetched according to the map key subgraph + specification. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:244137.4.2When the jakarta.persistence.loadgraph property is used + to specify an entity graph, attributes + that are specified by attribute nodes of the entity graph are + treated as FetchType.EAGER and + attributes that are not specified are treated according to their + specified or default FetchType. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:244237.4.2The following rules apply. The rules of this section + are applied recursively. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2442.137.4.2A primary key or version attribute never needs + to be specified in an attribute node of + a load + graph. (This applies to composite primary keys as well, + including embedded id primary keys.) + When an entity is fetched, its primary key and version + attributes are always fetched. It is not + incorrect, however, to specify primary key attributes or + version attributes. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2442.237.4.2If the attribute is an embedded attribute, and + the attribute is specified in an + attribute node, but a + subgraph is not specified for the attribute, the default + fetch graph for the embeddable is + fetched. If a subgraph is specified for the attribute, + attributes that are specified by the + subgraph + are also fetched. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2442.337.4.2If the attribute is an element collection of + basic type, and the attribute is specified + in an + attribute node, the element collection together with its + basic elements is fetched. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2442.437.4.2If the attribute is an element collection of + embeddables, and the attribute is + specified in an + attribute node, the element collection together with the + default fetch graph of its embeddable + elements is fetched. If a subgraph is specified for the + attribute, attributes that are specified + by + the subgraph are also fetched. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2442.537.4.2If the attribute is a one-to-one or many-to-one + relationship, and the attribute is + specified in an + attribute node, the default fetch graph of the target + entity is fetched. If a subgraph is + specified + for the attribute, attributes that are specified by the + subgraph are also fetched. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2442.637.4.2If the attribute is a one-to-many or + many-to-many relationship, and the attribute is + specified in + an attribute node, the collection is fetched and the + default fetch graphs of the referenced + entities + are fetched. If a subgraph is specified for the + attribute, attributes that are specified by the + subgraph are also fetched + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2442.737.4.2If the key of a map which has been specified in + an attribute node is a basic type, it + is fetched. If + the key of a map which has been specified in an + attribute node is an embedded type, the default + fetch graph is fetched for the embeddable. Otherwise, if + the key of the map is an entity, the + map key is fetched according to its default fetch graph. + If a key subgraph is specified for the + map key attribute, additional attributes are fetched as + specified in the key subgraph. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:244337.5An entity graph may be used as a “merge graph” and + passed as an argument to the merge method. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:244437.5A merge graph attribute node specified within an entity + graph or subgraph specifies how an attribute is + to be merged. Primary key and version attributes do not need to + be specified in the merge graph. If + other attributes are not specified, they are not merged. Note + that cascade=MERGE specifications are + ignored. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:244537.5The persistence provider must observe the scope and + boundaries of a merge graph specification exactly. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:244637.5The following additional rules apply for attributes + that are specified in attribute nodes. These rules are + applied recursively. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2446.137.5If the attribute is an embedded attribute and a + subgraph is not specified for the attribute, the + embedded attribute is merged but the attributes of the + embeddable are not merged. If a subgraph + is specified for the attribute, the attributes of the + embeddable are merged according to + their specification in the corresponding subgraph. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2446.237.5If the attribute is an element collection of + basic type, the element collection is merged. The + values in the element collection are replaced. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2446.337.5If the attribute is an element collection of + embeddables and a subgraph is not specified for the + attribute, the element collection is merged. The values + in the element collection are replaced + and all attributes of the embeddables are included. If a + subgraph is specified for the attribute, + the values in the element collection are replaced and + all attributes of the embeddables are + included, and the attributes specified in the subgraph + are processed according to the subgraph + specification. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2446.437.5If the attribute is a one-to-one or many-to-one + relationship and a subgraph is not specified for + the attribute, the attribute is merged, but the + attributes of the target entity are not merged. If a + subgraph is specified for the attribute, the attributes + of the target entity are merged according to + the corresponding subgraph specification. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2446.537.5If the attribute is a one-to-many or + many-to-many relationship and a subgraph is not + specified + for the attribute, the attribute is merged, but the + attributes of the target entity are not merged. If + a subgraph is specified for the attribute, the entities + in the collection are merged according to + the corresponding subgraph specification. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2446.637.5In both of the two relationship cases above, + note that if a new entity (entity in the “new” state) + was added to the relationship and only a subset of its + attributes is specified in the subgraph, + only those specified attributes are copied. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2446.737.5If the attribute is a map, the map key is + merged. If the map key is an embeddable, all attributes + of the embeddable are included. If the map key is an + entity, the attribute is merged, but the + attributes of the target entity are not merged. If a + subgraph is specified for the attribute, the target + entity is merged according to the corresponding subgraph + specification. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:244737.6An entity graph may be used as a “copy graph” and + passed as an argument to the copy method. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:244837.6When + using an entity graph in combination with the copy method, a + copy of the entity is created and the + attributes of the copied entity are populated based on copies of + the attributes listed in the entity graph. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:244937.6The persistence provider must observe the scope and + boundaries of a copy graph specification exactly. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:245037.6The following rules apply to the specification of + attributes. The rules of this section are applied recursively. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2450.137.6Primary key and version attributes are always + copied. Attributes are otherwise not copied + unless they are specified. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2450.237.6If the attribute is an embedded attribute and + an attribute node is specified for the attribute, but a + subgraph is not specified, a new instance of the + embeddable is inserted into the resulting copy + of the entity graph, but no state is copied. If a + subgraph is specified for the attribute, the + attributes of the embeddable are copied according to + their specification in the corresponding + subgraph. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2450.337.6If the attribute is an element collection of + basic type, the element collection and its contents are + copied. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2450.437.6If the attribute is an element collection of + embeddables and an attribute node is specified for + the attribute, but a subgraph is not specified, a new + collection is created and new embeddable + instances are inserted into it, but no state is copied. + If a subgraph is specified for the attribute, + the embeddables are copied according to their + specification in the subgraph. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2450.537.6If the attribute is a one-to-one or many-to-one + relationship and an attribute node is specified for + the attribute, but a subgraph is not specified, a copy + of the entity is created and inserted. Only + the primary key and version attributes of the entity are + copied. If a subgraph is specified for + the attribute, a copy of the entity is created and + inserted and the attributes of the target entity + are copied according to the corresponding subgraph + specification along with the primary key + and version attributes. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2450.637.6If the attribute is a one-to-many or + many-to-many relationship and an attribute node is + specified + for the attribute, but a subgraph is not specified, a + new collection is created and inserted, + and copies of the referenced entities are created and + inserted into the collection. Only the primary + key and version attributes of these entities are copied. + If a subgraph is specified for the + attribute, the entities in the collection are copied + according to the corresponding subgraph + specification along with the primary key and version + attributes. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2450.737.6If the attribute is a map and an attribute node + has been specified for the attribute: + • If the map key is a basic type, it is copied. + • If the map key is an embedded attribute, a new + instance of the embeddable is inserted + but no state is copied. + • If the map key is an entity, a copy of the entity is + created, and only the primary key + and version attributes of the entity are copied. + • If a map key subgraph is specified for the embeddable + or entity, the attributes of the + target are copied according to the corresponding map key + subgraph specification. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:148138Converters can be used to convert basic attributes + defined by entity classes, mapped + superclasses, or embeddable classes + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:148238An attribute converter must implement the + jakarta.persistence.AttributeConverter interface. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:148338A converter implementation class must betrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1483.138annotated with the Converter annotation + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1483.238defined in the XML descriptor as a converter. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:148438 + If the value of the autoApply element of the Converter + annotation is true, the converter will be applied + to all attributes of the target type, including to basic + attribute values that are contained within + other, more complex attribute types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:148538The conversion of all basic types is supported except + for the following: + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1485.138Id attributes (including + the attributes of embedded ids and derived identities) + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1485.238version attributestrue +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1485.338relationship attributestrue +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1485.438attributes explicitly annotated as Enumerated + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1485.538attributes explicitly annotated as Temporal + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1485.638 + attributes explicitly designated as such in the XML + descriptor + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:148638Auto-apply converters will not be applied to such + attributes, and applications that apply + converters to such attributes through use of the Convert + annotation will not be portable. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:148738Type conversion may be specified at the level of + individual attributes by means of the Convert + annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:148838The Convert annotation may also be used to override or + disable an auto-apply conversion. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:148938The Convert annotation may be applied directly to an + attribute of an ... to specify conversion + of the attribute or to override the use of a converter that has + been specified as autoApply=true. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1489.138entitytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1489.238mapped superclasstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1489.338embeddable classtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:149038When persistent properties are used, the Convert + annotation is applied to the getter method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:149138 + The Convert annotation may be applied to an entity that extends + a mapped superclass to specify or + override the conversion mapping for an inherited basic or + embedded attribute. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:149238 + The persistence provider runtime is responsible for invoking the + specified conversion methods for the + target attribute type when loading the entity attribute from the + database and before storing the entity + attribute state to the database. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:149338 + The persistence provider must apply any conversion methods to + instances of attribute values in path expressions used within + Jakarta Persistence query language queries or criteria queries + (such as in comparisons, bulk updates, etc.) + before sending them to the database for the query execution. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:248638When such converted attributes are used in comparison + operations with literals or parameters, the value of the literal + or parameter to which they are compared must also be converted + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:149438 + If the result of a Jakarta Persistence query language query or + criteria query includes one or more entity + attributes for which conversion mappings have been specified, + the persistence provider must apply the + specified conversions to the corresponding values in the query + result before returning them to the + application. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:248738The use of functions, including aggregates, on + converted attributes is undefined. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:149538 + If an exception is thrown from a conversion method, the + persistence provider must wrap + the exception in a PersistenceException and, if the persistence + context is joined to a transaction, mark + the transaction for rollback. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:149639.1A value of ALL causes all entities and entity-related + state and data to be cached. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:149739.1A value of NONE causes caching to be disabled for the + persistence unit. Persistence providers + must not + cache if NONE is specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:149839.1The values ENABLE_SELECTIVE and DISABLE_SELECTIVE are + used in conjunction with the + Cacheable annotation (or XML element). The Cacheable annotation + specifies whether an entity + should be cached if such selective caching is enabled by the + persistence.xml shared-cache-mode element. + The Cacheable element is specified on the entity class. It + applies to the given entity and its + subclasses + unless subsequently overridden by a subclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1498.139.1Cacheable(false) means that the entity and its + state must not be cached by the + provider. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1498.239.1A value of ENABLE_SELECTIVE enables the cache + and causes entities for which + Cacheable( + true) (or its XML equivalent) is specified to be cached. + Entities for which Cacheable(true) + is + not specified or for which Cacheable(false) is specified + must not be + cached. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1498.339.1A value of DISABLE_SELECTIVE enables the cache + and causes all entities to be cached + except those for which Cacheable(false) is specified. + Entities for which Cacheable(false) is + specified must not be cached. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:149939.1If either the shared-cache-mode element is not + specified in the persistence.xml file or the + value of the shared-cache-mode element is UNSPECIFIED, and the + jakarta.persistence.sharedCache.mode + property is not specified, the behavior is not defined, and + provider-specific defaults may apply. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:150039.1If the shared-cache-mode element and the + jakarta.persistence.sharedCache.mode property are not + specified, the semantics of the Cacheable annotation (and XML + equivalent) are undefined. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:150139.2Cache retrieve mode and cache store mode properties may + be specified at the level of the + persistence + context by means of the EntityManager setProperty method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:150239.2These properties may be specified for + the EntityManager find and refresh methods and the Query, TypedQuery, and StoredProcedureQuery setHint methods. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:150339.2Cache retrieve mode and/or cache store mode properties + specified for the find, refresh, and + Query and TypedQuery, and StoredProcedureQuery setHint methods override those specified + for the persistence context for the + specified find and refresh invocations, and for the execution of + the specified queries respectively. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:150439.2If caching is disabled by the NONE value of the + shared-cache-mode element, cache retrieve mode + and cache store mode properties must be ignored. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:150539.2if the ENABLE_SELECTIVE value is specified, but + Cacheable(true) is not specified for a + particular entity, they are ignored for that entity; if the + DISABLE_SELECTIVE value is specified, they + are ignored for any entities for which Cacheable(false) is + specified. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:150639.2Cache retrieve mode and cache store mode properties + must be observed when caching is enabled, + regardless of whether caching is enabled due to the + specification of the shared-cache-mode element or + enabled due to provider-specific options. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1507310.7Jakarta Persistence query language queries are executed + using the getResultList method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1508310.7Jakarta Persistence query language queries are executed + using the getSingleResult method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1509310.7Criteria API queries are executed using the + getResultList method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1510310.7Criteria API queries are executed using the + getSingleResult method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1511310.7native SQL select queries are executed using the + getResultList method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1512310.7native SQL select queries are executed using the + getSingleResult method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1513310.7For TypedQuery instances, the query result type is + determined in the case of criteria queries + by the type of the query specified when the CriteriaQuery object + is created, + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1514310.7In the case of Jakarta Persistence query language queries, + the type of the result is determined by + the + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1514.1310.7resultClass argument to the createQuery method + and the select list of the query + must + contain only a + single item which must be assignable to the specified + type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1514.2310.7resultClass argument to the createNamedQuery + method and the select list of the + query + must contain only a + single item which must be assignable to the specified + type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:728310.7For Query instances + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:728.1310.7the elements of a query result whose select + list consists of more than one select + expression are of type Object[]. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:728.2310.7If the select list consists of only one select + expression, the elements of the + query + result are of type Object + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:728.3310.7When native SQL queries are used, the SQL + result set mapping, determines how many + items + (entities, scalar values, etc.) are returned. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:728.4310.7If multiple items are returned, the elements of + the query result are of type + Object[] + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:728.5310.7If only a single item is returned as a result + of the SQL result set mapping, the + elements of the query result are of type Object. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:728.6310.7 + if a result class is specified, the elements of the + query result are of type Object. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1515310.7Stored procedure queries can be executed using the + getResultList, getSingleResult, and + execute methods. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1516310.7Stored procedures that perform only updates or deletes + can be executed using the executeUpdate + method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:729310.7An IllegalArgumentException is thrown if:true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:730310.7a parameter name is specified that does not + correspond to a named parameter of the + query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:731310.7a positional value is specified that does not + correspond to a positional parameter + of + the query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:732310.7If the type of the parameter is not valid for + the query. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:733310.7This exception may be thrown when the parameter + is bound, or the execution of the + query + may fail. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1517310.7The use of setMaxResults and setFirstResult is not + supported for stored procedure queries. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1518310.7Query methods other than the executeUpdate method are + not required to be + invoked within a transaction context, unless a lock mode other + than LockModeType.NONE has been + specified for the query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1519310.7TypedQuery methods other than the executeUpdate method + are not required to be + invoked within a transaction context, unless a lock mode other + than LockModeType.NONE has been + specified for the query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1520310.7the getResultList method are not required to be invoked + within a transaction context unless + such a lock mode has been specified for the + query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1521310.7the getSingleResult method are not required to be + invoked within a transaction context unless + such a lock mode has been specified for the + query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1522310.7If an entity manager with transaction-scoped + persistence context is in use, the resulting + entities + will be detached + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1523310.7if an entity manager with an extended persistence + context is used, they will be managed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1524310.7Runtime exceptions other than the NoResultException, + NonUniqueResultException, + QueryTimeoutException, and LockTimeoutException thrown by the + methods of the Query, TypedQuery, and + StoredProcedureQuery interfaces other than those methods + specified below cause the current transaction + to be marked for rollback if the persistence context is joined + to the transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1302310.7 + Runtime exceptions thrown by the following methods of the Query, + TypedQuery, and StoredProcedureQuery + interfaces do not cause the current transaction to be marked for + rollback: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1302.1310.7getParameterstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1302.2310.7getParametertrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1302.3310.7getParameterValuetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1302.4310.7getOutputParameterValuetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1302.5310.7getLockModetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1303310.7Runtime exceptions thrown by the methods of the Tuple, + TupleElement, and Parameter interfaces + do not cause the current transaction to be marked for rollback. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1525310.8If the persistence context has not been joined to the + current transaction, the persistence + provider must + not flush to the database regardless of the flush mode setting. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1526310.8If there is no transaction active, the persistence + provider must not flush to the database. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1527310.9The setLockMode method of the Query or TypedQuery + interface or the lockMode element of + the NamedQuery annotation may be used to lock the results of a + query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1528310.9A lock is obtained for each entity specified in the + query result (including entities passed to + constructors in the query SELECT clause). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1529310.9Note that the setLockMode method may be called more + than once (with different values) on a + Query or + TypedQuery object. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1530310.9If the lock mode type is PESSIMISTIC_READ, + PESSIMISTIC_WRITE, or + PESSIMISTIC_FORCE_INCREMENT, and the query returns scalar data + (e.g., the values of entity + field or properties, including scalar data passed to + constructors in the query SELECT clause), the + underlying database rows will be locked[50], but the version + columns (if any) for any entities + corresponding to + such scalar data will not be updated unless the entities + themselves are also otherwise retrieved and + updated. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1531310.9If the lock mode type is PESSIMISTIC_READ, + PESSIMISTIC_WRITE, or + PESSIMISTIC_FORCE_INCREMENT, and the query returns scalar data + (e.g., the values of entity + field or properties, including scalar data passed to + constructors in the query SELECT clause), the + underlying database rows will be locked[50], but the version + columns (if any) for any entities + corresponding to + such scalar data will not be updated unless the entities + themselves are also otherwise retrieved and + updated. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1532310.9Note that locking will not occur for data passed to + aggregate functions. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1533310.9queries involving aggregates with pessimistic locking + may not be supported on all database + platforms. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1534310.9If the lock mode type is OPTIMISTIC or + OPTIMISTIC_FORCE_INCREMENT, and the query returns + scalar data, any entities returned by the query will be locked, + but no locking will occur for scalar + data that does not correspond to the state of any entity + instance in the query result. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1535310.9If a lock mode other than NONE is specified for a + query, the query must be executed within a + transaction (and the persistence context must be joined to the + transaction) or the + TransactionRequiredException + will be thrown. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1536310.9Locking is supported for Jakarta Persistence query + language queries and criteria queries only. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1537310.9If the setLockMode or getLockMode method is invoked on + a query that is not a Jakarta Persistence + query language select query or a criteria query, the + IllegalStateException may be thrown or the query + execution will fail. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1538310.10This entire section is optional + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:734310.11Parameter objects can be used for criteria queries and + for Jakarta Persistence query language + queries. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1539310.11Implementations may support the use of Parameter + objects for native queries, however support + for + Parameter objects with native queries is not required by this + specification. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1305310.12Named parameters can be used for Jakarta Persistence query + language queries, for criteria queries + (although use of Parameter objects is to be preferred), and for + stored procedure queries that support + named parameters. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1306310.12Named parameters are case-sensitive. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1540310.12A named parameter of a Jakarta Persistence query language + query is an identifier that is prefixed + by the ":" symbol. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1307310.12The parameter names passed to the setParameter methods + of the Query and TypedQuery interfaces + do not include this ":" prefix + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1308310.13Only positional parameter binding and positional access + to result items may be portably used + for native + queries, except for stored procedure queries for which named + parameters have been defined. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1309310.13When binding the values of positional parameters, the + numbering starts as “1”. It is assumed + that for native + queries the parameters themselves use the SQL syntax (i.e., “?”, + rather than “?1”). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1311310.14Named queries are static queries expressed in metadata + or queries registered by means of the + EntityManagerFactory addNamedQuery method. Named queries can be + defined in the Jakarta Persistence query + language + or in SQL. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1312310.14Query names are scoped to the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:735310.15By default, all queries are polymorphic. By default, + all queries are polymorphic. That is, the + FROM clause of a query designates not only instances of the + specific entity class(es) to which it + explicitly refers, but subclasses as well. The + instances returned by a query include instances of the + subclasses that satisfy the query conditions + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1541310.15Entity type expressions, described in section 4.6.17.5, + as well as the use of downcasting, + described in + section 4.4.9, can be used to restrict query polymorphism. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1542310.16Queries may be expressed in native SQL. The result of a + native SQL query may consist of + entities, + unmanaged instances created via constructors, scalar values, or + some combination of these. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:736310.16The SQL query facility is intended to provide support + for those cases where it is necessary to + use the native SQL of the target database in use (and/or where + Jakarta Persistence QL cannot be used). + Native SQL queries are not expected to be portable across + databases. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1543310.16.1mapping includes the mapping of the attributes of any + embeddable classes that are part of the non-collection-valued + entity state and attributes corresponding + to + foreign keys contained as part of the entity state + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1544310.16.1Support for joins is currently limited to single-valued + relationships that are mapped + directly—i.e., not via join tables. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1545310.16.1When an entity is to be returned from a native query, + the SQL statement should select all of + the columns + that are mapped to the entity object. This should include + foreign key columns to related entities. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1546310.16.1when the results of the query are limited to entities + of a single entity class and + the mapping information can be derived from the columns of the + SQL result and the object/relational + mapping metadata—it is sufficient to specify only the expected + class of the entity result. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1547310.16.1When multiple entities are returned by a SQL query or + when the column names of the SQL result + do not + correspond to those of the object/relational mapping metadata, a + SqlResultSetMapping metadata + definition must be provided to specify the entity mapping. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1548310.16.1When the column names of the SQL result do not + correspond to those of the object/relational + mapping + metadata, more explicit SQL result mapping metadata must be + provided to enable the persistence provider + runtime to map the JDBC results into the expected objects. This + might arise, for example, when + column aliases must be used in the SQL SELECT clause when the + SQL result would otherwise contain + multiple columns of the same name or when columns in the SQL + result are the results of operators or + functions. The FieldResult annotation element within the + EntityResult annotation is used to + specify the mapping of such columns to entity attributes. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1549310.16.1When the returned entity type contains an embeddable + class, the FieldResult element must use a + dot (“.”) notation to indicate which column maps to which field + or property of the contained embeddable. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1550310.16.1When the returned entity type is the owner of a + single-valued relationship and the foreign key + is a composite + foreign key (composed of multiple columns), a FieldResult + element should be used for each of the foreign + key columns. The FieldResult element must use the dot (“.”) + notation form to indicate the column that + maps to each property or field of the target entity primary key. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1551310.16.1If the target entity has a primary key of type IdClass, + this specification takes the form of + the name of + the field or property for the relationship, followed by a dot + (“.”), followed by the name of the field + or property of the primary key in the target entity. The latter + will be annotated with Id, as specified + in section 11.1.19. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1552310.16.1If the target entity has a primary key of type + EmbeddedId, this specification is composed of + the name + of the field or property for the relationship, followed by a dot + (“.”), followed by the name or the + field or + property of the primary key (i.e., the name of the field or + property annotated as EmbeddedId), followed + by the name of the corresponding field or property of the + embedded primary key class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1553310.16.1The FieldResult elements for the composite foreign key + are combined to form the primary key + EmbeddedId class for the target entity. This may then be used to + subsequently retrieve the entity if the + relationship is to be eagerly loaded. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1554310.16.1The dot-notation form is not required to be supported + for any usage other than for embeddables, + composite + foreign keys, or composite primary keys. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1555310.16.2Instances of other classes (including non-managed + entity instances) as well as scalar results + can be + returned by a native query. These can be used singly, or in + combination, including with entity results. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1556310.16.2.1Scalar results can be included in the query result by + specifying the ColumnResult annotation + element + of the SqlResultSetMapping annotation. The intended type of the + result can be specified using the type + element of the ColumnResult annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1557310.16.2.2The mapping to constructors is specified using the + ConstructorResult annotation element of the + SqlResultSetMapping annotation. The targetClass element of the + ConstructorResult + annotation specifies the class whose constructor corresponds to + the specified columns. All columns + corresponding to arguments of the intended constructor must be + specified using the columns element of + the ConstructorResult annotation in the same order as that of + the argument list of the constructor. + Any entities returned as constructor results will be in either + the new or the detached state, depending + on whether a primary key is retrieved for the constructed + object. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1558310.16.3When a SqlResultSetMapping specifies more than one + mapping type (i.e., more than one of + EntityResult, ConstructorResult, ColumnResult), then for each + row in the SQL result, + the query execution will result in an Object[] instance whose + elements are as follows, in order: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1558.1310.16.3any entity results (in the order in which they + are defined in the entities + element); + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1558.2310.16.3any instances of classes corresponding to + constructor results (in the order defined + in + the classes element); + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1558.3310.16.3and any instances corresponding to column + results (in the order defined in the + columns + element). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1559310.16.3If there are any columns whose result mappings have not + been specified, they are ignored. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:737310.16.4The use of named parameters is not defined for native + SQL queries. Only positional parameter + binding for SQL queries may be used by portable applications. + false +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1560310.17Stored procedures can be specified either by means of + the NamedStoredProcedureQuery annotation + or dynamically. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1561310.17.1A stored procedure may return more than one result set. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1562310.17.1the mapping of result sets can be specified either in + terms of a resultClasses or as a + resultSetMappings annotation element. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1563310.17.1If there are multiple result sets, it is assumed that + they will be mapped using the same + mechanism — e.g., all via a set of result class mappings or all + via a set of result set mappings. The + order of the specification of these mappings must be the same as + the order in which the result sets will + be returned by the stored procedure invocation. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1564310.17.1If the stored procedure returns one or more result sets + and no resultClasses or + resultSetMappings element has been specified, any result set + will be returned as a list of type + Object[]. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1565310.17.1StoredProcedureParameter metadata needs to be provided + for all parameters. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1566310.17.1Parameters must be specified in the order in which they + occur in the parameter list of the + stored procedure. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1567310.17.1If parameter names are used, the parameter name is used + to bind the parameter value and to + extract the output value (if the parameter is an INOUT or OUT + parameter). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1568310.17.1If parameter names are not specified, it is assumed + that positional parameters are used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1569310.17.2If the stored procedure is not defined using metadata, + parameter and result set information + must be provided + dynamically. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1570310.17.2All parameters of a dynamically-specified stored + procedure query must be registered using the + registerStoredProcedureParameter method of the + StoredProcedureQuery interface. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1571310.17.2Result set mapping information can be provided by means + of the createStoredProcedure- + Query method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1572310.17.3The setParameter methods are used to set the values of + all required IN and INOUT parameters. It + is not required to set the values of stored procedure parameters + for which default values have been + defined by the stored procedure. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1573310.17.3The case where there is only a single result set (or a + single result) plus any results passed + back via + INOUT and OUT parameters is supported using the getResultList + and getSingleResult + methods. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1574310.17.3The case where there is only an update count plus any + results passed back via INOUT and OUT + parameters + is supported using the executeUpdate method. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1575310.17.3The execute method supports both the simple case where + scalar results are passed back only via + INOUT and OUT parameters as well as the most general case + (multiple result sets and/or update counts, + possibly also in combination with output parameter values). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1576310.17.3The execute method returns true if the first result is + a result set, and false if it is an + update count + or there are no results other than through INOUT and OUT + parameters, if any. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1577310.17.3If the execute method returns true, the pending result + set can be obtained by calling + getResultList. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2496310.17.3If the execute method returns true, the pending result + set can be obtained by calling + getSingleResult. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1578310.17.3The hasMoreResults method can then be used to test for + further results. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1579310.17.3If execute or hasMoreResults returns false, the + getUpdateCount method can be called to + obtain the pending result if it is an update count. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1580310.17.3The getUpdateCount method will return either the + update count (zero or greater) or -1 if there is no update count + (i.e., either the next result is a + result set or + there is no next update count). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2497310.17.3For portability, results that correspond to JDBC result sets and update counts need to be processed + before the values of any INOUT or OUT parameters are extracted. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1581310.17.3After results returned through getResultList and + getUpdateCount have been exhausted, + results returned through INOUT and OUT parameters can be + retrieved. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1582310.17.3results that correspond to JDBC result sets and update + counts need to be processed + before the values of any INOUT or OUT parameters are extracted. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2498310.17.3The getOutputParameterValue methods are used to retrieve the values passed back from the + procedure through INOUT and OUT parameters. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2499310.17.3When using REF_CURSOR parameters for result sets, the update counts should be exhausted before + calling getResultList to retrieve the result set. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2500310.17.3Alternatively, the REF_CURSOR result set can be retrieved through getOutputParameterValue. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2501310.17.3Result set mappings will be applied to results corresponding + to REF_CURSOR parameters in the order the REF_CURSOR parameters were registered + with the query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1583310.17.3In the simplest case, where results are returned only + via INOUT and OUT parameters, execute can + be + followed immediately by calls to getOutputParameterValue. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:738311Summary of Exceptionstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:739311PersistenceExceptiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:740311TransactionRequiredExceptiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:738.1311OptimisticLockExceptiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:738.2311PessimisticLockExceptiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:738.3311LockTimeoutExceptiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:741311RollbackExceptiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:742311EntityExistsExceptiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:743311EntityNotFoundExceptiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:744311NoResultExceptiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:745311NonUniqueResultExceptiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:738.4311QueryTimeoutExceptiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:74642A Jakarta Persistence query language statement may be + either: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:746.142a select statementtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:746.242an update statementtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:746.342a delete statementtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:75042Any Any Jakarta Persistence query language statement may + be constructed dynically or may be + statically defined in a metadata annotation or XML descriptor + element. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:75142All statement types may have parameters.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:75242.1A select statement is a string which consists of the + following clauses: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:75342.1a SELECT clause, which determines the type of + the objects or values to be selected. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:75442.1a FROM clause, which provides declaration that + designate the domain to which the + expressions specified in the other clauses of the query + apply + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:75542.1an optional WHERE clause, which may be used to + restrict the results that are + returned + by the query + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:75642.1an optional GROUP BY clause, which allows query + results to be aggregated in terms + of + groups + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:75742.1an optional HAVING clause, which allows + filtering over aggregated groups + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:75842.1an optional ORDER BY clause, which may be used + to order the results that are + returned + by the query + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:31242.1A select statement must always have a SELECT and a FROM + clause. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:75942.2Update and delete statements provide bulk operations + over sets of entities. The update and + delete clauses determine the type + of the entities to be updated or deleted. The WHERE clause may + be used to restrict the scope of the + update or delete operation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:158443The type of + an expression is derived from the structure of the expression, + the abstract schema types of the + identification + variable declarations, the types to which the persistent + attributes evaluate, and the types of literals. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:76043The abstract schema type of an entity or embeddable is + derived from its class and the metadata + information provided by Java language annotations or in the XML + descriptor. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:76143Abstract schema types are specific to the query + language data model. The persistence provider + is not + required to implement or otherwise materialize an abstract + schema type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:76143The domain of a query consists of the abstract schema + types of all entities that are defined in + the same persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:76243.1Entities are designated in query strings by their + entity names. The entity name is defined by + the name element of the Entity annotation (or the entity-name + XML descriptor element), and defaults to + the unqualified name of the entity class + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:158543.1Entity names are scoped within the persistence unit and + must be unique within the persistence + unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:245144Identification variables designate instances of a + particular abstract schema type. The FROM clause can + contain multiple identification variable declarations separated + by a comma + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:31744Identification variables designate instances of a + particular abstract schema type. The + FROM clause can contain multiple identification variable + declarations separated by a comma: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:317.444identification_variable_declaration + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:317.144range_variable_declaration + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:317.544join + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:317.644fetch_join + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:317.744join_association_path_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:317.844join_collection_valued_path_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:317.944join_single_valued_path_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:317.1044join_spec + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:317.244collection_member_declaration + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:317.344join_spectrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:158644.1An identifier is a character sequence of unlimited + length. The character sequence must begin + with a Java identifier start character, and all other characters + must be Java identifier part + characters. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:158744.1 + An identifier start character is any character for which the + method Character.isJavaIdentifierStart + returns true. This includes the underscore (_) character and the + dollar sign ($) character. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:158844.1 + An identifier part character is any character for which the + method Character.isJavaIdentifierPart + returns true + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:76344.1Reserved identifiers are case insensitive. Reserved + identifiers must not be used as + identification variables or result variables + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:76444.2All identification variables must be declared in the + FROM clause. Identification variables + cannot be declared in other clauses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:158944.2 + An identification variable must not be a reserved identifier or + have the same name as any entity in the + same persistence unit. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:31944.2Identification variables are case insensitive. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:159044.2 + An identification variable evaluates to a value of the type of + the expression used in declaring the + variable. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:159144.2 + An identification variable can range over an entity, embeddable, + or basic abstract schema type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:159244.2 + Note that for identification variables referring to an instance + of an association or collection + represented + as a java.util.Map, the identification variable is of the + abstract schema type of the map value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:159344.2 + An identification variable always designates a reference to a + single value. It is declared in one of + three + ways: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1593.144.2in a range variable declaration + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1593.244.2in a join clause + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1593.344.2in a collection member declaration + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:159444.2 + The identification + variable declarations are evaluated from left to right in the + FROM clause, and an identification + variable declaration can use the result of a preceding + identification variable declaration of the query + string. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:159544.2 + All identification variables used in the SELECT, WHERE, ORDER + BY, GROUP BY, or HAVING + clause of a SELECT statement must be declared in the FROM + clause. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:159644.2 + All identification variables used in the SELECT, WHERE, ORDER + BY, GROUP BY, or HAVING + clause of a DELETE statement must be declared in the FROM + clause. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:159744.2 + The identification variables used in the WHERE clause of an + UPDATE statement must be declared in the + UPDATE clause + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:159944.2 + An identification variable is scoped to the query (or subquery) + in which it is defined and is also + visible + to any subqueries within that query scope that do not define an + identification variable of the same + name. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:160044.3 + The syntax for declaring an identification variable as a range + variable is similar to that of SQL; + optionally, + it uses the AS keyword. A range variable designates an entity + abstract schema type. A range variable + must not designate an embeddable class abstract schema type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:32044.3 + In order to select values by comparing more than one instance of + an entity abstract schema type, more + than one identification variable ranging over the entity's + abstract schema type is needed in the FROM + clause. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:32844.4The evaluation of a path expression terminating in a + state-field results in the abstract schema + type corresponding to the Java type designed by the state-field. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:160144.4 + An identification variable followed by the navigation operator + (.) and a state field or association + field is + a path expression. The type of the path expression is the type + computed as the result of navigation; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1601.144.4 + the type of the state field + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1601.244.4 + association field to which the expression navigates + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:160244.4 + The type of a path + expression that navigates to an association field may be + specified as a subtype of the declared type of + the association field by means of the TREAT operator. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:160344.4 + An identification variable qualified by the KEY, VALUE, or ENTRY + operator is a path expression. The + KEY, VALUE, and ENTRY operators may only be applied to + identification variables that correspond to + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1603.144.4 + map-valued associations + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1603.244.4 + map-valued element collections + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:160444.4 + The type of the path expression is the type + computed as the result of the operation; that is, the abstract + schema type of the field that is the + value of + the KEY, VALUE, or ENTRY operator (the map key, map value, or + map entry respectively) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:160544.4 + Note that use of VALUE is optional, as an identification + variable referring to an association of type + java.util.Map is of the abstract schema type of the map value. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:160644.4 + A path expression using the KEY or VALUE operator can be further + composed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:160744.4 + A path expression using the ENTRY operator is terminal. It + cannot be further composed and can only + appear in the + SELECT list of a query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:32644.4a path expression that leads to an association field or + to a field whose type is an embeddable + class may be further composed. Path expressions can be composed + from other path expressions if the + original path expression evaluates to a single-valued type (not + a collection). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:32944.4 + Path expression navigability is composed using "inner join" + semantics. That is, if the value of a + non-terminal association-field in the path expression is null, + the path is considered to have no value, + and does not participate in the determination of the result. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:160844.4.1 + An identification variable used in a + single_valued_object_path_expression or in a + collection_valued_path_expression may be an unqualified + identification variable or an identification + variable to which the KEY or VALUE function has been applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:160944.4.1 + general_identification_variable ::= identification_variable | + map_field_identification_variable + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:161044.4.1 + The type of an entity-valued path expression or an entity-valued + subpath of a path expression used in a + WHERE clause may be specified as a subtype of the corresponding + declared type by means of the + TREAT operator. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:76544.4.1The syntax for single-valued path expressions and + collection-valued path expression is as + follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:76644.4.1single_valued_path_expression ::= + qualified_identification_variable | + TREAT(qualified_identification_variable AS subtype) | + state_field_path_expression | + single_valued_object_path_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:76744.4.1state_field_path_expression ::= + {identification_variable | + single_valued_association_path_expression}.state_field + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:76844.4.1single_valued_association_path_expression ::= + identification_variable.{single_valued_association_field.}*single_valued_association_field + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:76944.4.1collection_valued_path_expression ::= + identification_variable.{single_valued_association_field.}*collection_valued_association_field + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:77044.4.1state_field := simple_state_field | + {embedded_class_state_field.}*simple_state_field + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:765.144.4.1general_subpath ::= simple_subpath | + treated_subpath{.single_valued_object_field}* + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:765.244.4.1simple_subpath ::= + general_identification_variable | + general_identification_variable{.single_valued_object_field}* + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:765.344.4.1treated_subpath ::= TREAT(general_subpath AS + subtype) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:765.444.4.1state_field_path_expression ::= + general_subpath.state_field + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:765.544.4.1state_valued_path_expression ::= + state_field_path_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:765.644.4.1single_valued_object_path_expression ::= + general_subpath.single_valued_object_field + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:765.744.4.1collection_valued_path_expression ::= + general_subpath.collection_valued_field + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:32244.4.1 + A single_valued_object_field is designated by the name of an + association field in a one-to-one or + many-to-one relationship or a field of embeddable class type. + The type of a + single_valued_object_field is the abstract schema type of the + related entity or embeddable class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:161144.4.1 + A state _field is designated by the name of an entity or + embeddable class state field that corresponds + to + a basic type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:32344.4.1 + A collection_valued_field is designated by the name of an + association field in a one-to-many or a + many-to-many relationship or by the name of an element + collection field. The type of a + collection_valued_field is a collection of values of the + abstract schema type of the related entity or + element + type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:161244.4.1 + It is illegal to use a collection_valued_path_expression other + than in the FROM clause of a query + except + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1612.144.4.1 + in an empty_collection_comparison_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1612.244.4.1 + in a collection_member_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1612.344.4.1 + as an argument to the SIZE operator + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:77344.5An inner join may be implicitly specified by the use of + a cartesian product in the FROM clause + and a join condition in the WHERE clause. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:77444.5The syntax for explicit join operations is as + follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:77544.5join::= join_spec + join_association_path_expression [AS] + identification_variable + [join_condition] + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:77644.5fetch_join ::= join_spec FETCH + join_association_path_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:77744.5join_association_path_expression ::= + join_collection_valued_path_expression | + join_single_valued_path_expression | + TREAT(join_collection_valued_path_expression AS + subtype) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:77844.5join_spec::= [ LEFT [OUTER] | INNER ] JOIN + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:774.144.5join_condition ::= ON conditional_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:77944.5.1The syntax for the inner join operation is: [ INNER ] + JOIN join_association_path_expression + [AS] identification_variable [join_condition] + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:161344.5.1 + The keyword INNER may optionally be used + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:161444.5.1 + A join condition may be specified for an inner join. This is + equivalent to specification of the same + condition in the WHERE clause. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:78044.5.2LEFT JOIN and LEFT OUTER JOIN are synonymous. They + enable retrieval of a set of entities where + matching values in the join condition may be absent. The syntax + for a left outer join is: LEFT [OUTER] + JOIN join_association_path_expression [AS] + identification_variable [join_condition] + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:161544.5.2 + An outer join without a specified join condition has an implicit + join condition over the foreign key + relationship corresponding to the + join_association_path_expression. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:161644.5.2 + An outer join with an explicit ON condition would cause an + additional specified join condition to be + added to the generated SQL: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:78144.5.3 + A FETCH JOIN enables the fetching of an association or element + collection as a side effect of the + execution of a query. The syntax for a fetch join is fetch_join + ::= [ LEFT [OUTER] | INNER ] JOIN FETCH + join_association_path_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:78244.5.3 + The association referenced by the right side of the FETCH JOIN + clause must be an association or element + collection that is referenced from an entity or embeddable that + is returned as a result of the query. It + is not permitted to specify an identification variable for the + objects referenced by the right side of + the FETCH JOIN clause, and hence references to the implicitly + fetched entities or elements cannot appear + elsewhere in the query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:32144.6 + An identification variable of a collection member declaration is + declared using a special operator, the + reserved identifier IN. The argument to the IN operator takes a + collection valued path expression. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:78344.6The path expression evaluates to a collection type + specified as a result of navigation to a + collection-valued association field of an entity or embeddable + class abstract schema type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:161744.6 + collection_member_declaration ::= IN + (collection_valued_path_expression) [AS] identification_variable + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:161844.7 + The Jakarta Persistence query language treats the FROM clause + similarly to SQL in that the declared + identification + variables affect the results of the query even if they are not + used in the WHERE clause. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:78444.8Jakarta Persistence queries are automatically polymorphic. + The FROM clause of a query designates + not only instances of the specific entity class(es) to which it + explicitly refers but instances of + subclasses of those classes as well. The instances returned by a + query thus include instances of the + subclasses that satisfy the query criteria. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:161944.8 + Non-polymorphic queries or queries whose polymorphism is + restricted can be specified using entity + type expressions in the WHERE clause to restrict the domain of + the query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:162044.9 + The use of the TREAT operator is supported for downcasting + within path expressions in the FROM and + WHERE clauses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:162144.9 + If during query execution the first argument to the TREAT + operator is not a subtype (proper or + improper) of the target type, the path is considered to have no + value, and does not participate in the + determination of the result. That is, in the case of a join, the + referenced object does not participate + in the + result, and in the case of a restriction, the associated + predicate is false. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:162244.9 + If the target type is not a subtype (proper or improper) of the + static type of the first argument, + the query is invalid. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:78545The WHERE clause restricts the result of a select + statement or the scope of an update or + delete operation. A WHERE clause is defined as follows: + where_clause ::= WHERE conditional_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:162345 + The GROUP BY construct enables the aggregation of values + according to the properties of an entity class + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:162445 + The HAVING construct enables conditions to be specified that + further restrict the query result as + restrictions upon the groups. The syntax of the HAVING clause is + as follows: having_clause ::= HAVING + conditional_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:33046.1 + A string literal is enclosed in single quotes—for example: + ‘literal’. A string literal that includes a + single quote is represented by two single quotes—for example: + ‘literal’’s’. String literals in queries, + like Java String literals, use unicode character encoding. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:162546.1The use of Java escape notation is not supported in + query string literals. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:162646.1 + Exact numeric literals support the use of Java integer literal + syntax as well as SQL exact numeric + literal syntax. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:162746.1 + Approximate literals support the use Java floating point literal + syntax as well as SQL approximate + numeric literal syntax. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:162846.1 + Appropriate suffixes can be used to indicate the specific type + of a numeric literal in accordance with + the + Java Language Specification. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:162946.1 + Support for the use of hexadecimal and octal numeric literals is + not required by this specification. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:163046.1 + Enum literals support the use of Java enum literal syntax. The + fully qualified enum class name must be + specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:163146.1 + The JDBC escape syntax may be used for the specification of + date, time, and timestamp literals. The + portability of this syntax for date, time, and timestamp + literals is dependent upon the JDBC driver in + use. Persistence providers are not required to translate from + this syntax into the native syntax of the + database or driver. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:33446.1The boolean literals are TRUE and FALSE.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:163246.1Entity type literals are specified by entity names + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:33146.1An exact numeric literal is a numeric value without a + decimal point. Exact numeric literals + support numbers in the range of Java long. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:33246.1Although predefined reserved literals appear in upper + case, they are case insensitive. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:78646.2All identification variables used in the WHERE or + HAVING clause of a SELECT or DELETE statement + must be declared in the FROM clause. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:78746.2The identification variables used in the WHERE clause + of an UPDATE statement must be declared + in the UPDATE clause. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:78846.3It is illegal to use a + collection_valued_path_expression within a WHERE or HAVING + clause as + part of a conditional expression except in an + empty_collection_comparison_expression, in a + collection_member_expression, or as an argument to the SIZE + operator. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:163446.4Either positional or named parameters may be used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:163546.4Positional and named parameters must not be mixed in a + single query. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:163646.4Input parameters can only be used in the WHERE clause + or HAVING clause of a query or as the new + value for an update item in the SET clause of an update + statement. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:34246.4Note that if an input parameter value is null, + comparison operations involving the input + parameter will return an unknown value. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:34346.4Note that if an input parameter value is null, + arithmetic operations involving the input + parameter will return an unknown value. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:163746.4All input parameters must be single-valued, except in + IN expressions + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:163846.4.1Input parameters are designated by the question mark + (?) prefix followed by an integer. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:33846.4.1Input parameters are numbered starting from 1 + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:163946.4.1The same parameter can be used more than once in the + query string. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:164046.4.1The ordering of the use of parameters within the query + string need not conform to the order of + the positional parameters. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:78946.4.2A named parameter is denoted by an identifier that is + prefixed by the ":" symbol. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:164146.4.2Named parameters are case sensitive.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:164246.4.2The same named parameter can be used more than once in + the query string. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:34546.5 + Conditional expressions are composed of other conditional + expressions, comparison operators, logical + operations, path expressions that evaluate to boolean values and + boolean literals and boolean input + parameters. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:34746.7 + Arithmetic expressions can be used in comparison expressions. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:164346.5 + The scalar expressions can be used in conditional expressions + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:164446.5 + Aggregate functions can only be used in conditional expressions + in a HAVING clause. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:34646.5 + Standard bracketing () for ordering expression evaluation is + supported. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:164546.5 + Conditional expressions are defined as follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1645.146.5conditional_expression ::= conditional_term | + conditional_expression OR + conditional_term + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1645.246.5conditional_term ::= conditional_factor | + conditional_term AND conditional_factor + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1645.346.5conditional_factor ::= [ NOT ] + conditional_primary + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1645.446.5conditional_primary ::= simple_cond_expression + | (conditional_expression) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1645.546.5 + simple_cond_expression ::= comparison_expression | + between_expression | in_expression | + like_expression | null_comparison_expression | + empty_collection_comparison_expression | + collection_member_expression | exists_expression + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:34846.6 + operators are listed below in order of decreasing precedence. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:348.146.6Navigation operator (.)true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:348.246.6 + Arithmetic operators: + +, - unary + *, / multiplication and division + +, - addition and subtraction + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:348.346.6Comparison operators : =, >, >=,<,<=, + <>, (not equal), [NOT] BETWEEN, [NOT] LIKE, + [NOT] IN, IS [NOT] NULL, IS [NOT] EMPTY, [NOT] MEMBER + [OF], [NOT] EXISTS + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:348.446.6Logical operators: NOT AND ORtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:164646.7 + The syntax for the use of comparison expressions in a + conditional expression is as follows + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1646.146.7 + comparison_expression ::= + string_expression comparison_operator {string_expression + | all_or_any_expression} | + boolean_expression { =| + <> + } {boolean_expression | all_or_any_expression} | + enum_expression { =|<>} {enum_expression | + all_or_any_expression} | + datetime_expression comparison_operator + {datetime_expression | all_or_any_expression} | + entity_expression { = |<>} {entity_expression | + all_or_any_expression} | + arithmetic_expression comparison_operator + {arithmetic_expression | all_or_any_expression} | + entity_type_expression { = |<>} + entity_type_expression} + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1646.246.7 + comparison_operator ::= = | > | >= | < | <= + | <> + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:34946.8 + The syntax for the use of the comparison operator [NOT] BETWEEN + in a conditional expression is as + follows: arithmetic_expression [NOT] BETWEEN arithmetic-expr AND + arithmetic-expr + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:349.146.8 + string_expression [NOT] BETWEEN string-expression AND + string-expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:349.246.8 + datetime_expression [NOT] BETWEEN datetime-expression + AND datetime-expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:35046.8 + The BETWEEN expression x BETWEEN y and z is semantically + equivalent to: y less than = x AND x less than + = z + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:164746.8 + The rules for unknown and NULL values in comparison operations + apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:35246.9 + in_expression ::= + {state_valued_path_expression | type_discriminator} [NOT] IN + { ( in_item {, in_item}* ) | (subquery) | + collection_valued_input_parameter } + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:164846.9 + in_item ::= literal | single_valued_input_parameter + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:164946.9 + The state_valued_path_expression must have a string, numeric, + date, time, timestamp, or enum + value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:352.146.9 + The literal and/or input parameter values must be like the same + abstract schema type of the + state_valued_path_expression in type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:352.246.9 + The results of the subquery must be like the same abstract + schema type of the + state_valued_path_expression in type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:35346.9 + There must be at least one element in the comma separated list + that defines the set of values for the IN + expression. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:35446.9 + The expression o.country IN ('UK', 'US', 'France') is equivalent + to the expression (o.country = 'UK') OR + (o.country = 'US') OR (o.country = 'France') + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:35146.9 + If the value of a state_valued_path_expression or in_item in an + IN or NOT IN expression is NULL or + unknown, the value of the expression is unknown. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:35846.10 + like_expression ::= string_expression [NOT] LIKE pattern_value + [ESCAPE escape_character].The + string_expression must have a string value. The pattern_value is + a string literal or a string-valued + input parameter in which an underscore (_) stands for any single + character, a percent (%) character + stands for any sequence of characters (including the empty + sequence), and all other characters stand for + themselves. The optional escape_character is a single-character + string literal or a character-valued + input parameter (i.e., char or Character) and is used to escape + the special meaning of the underscore + and percent characters in pattern_value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:35646.10 + If the value of the string_expression or pattern_value is NULL + or unknown, the value of the LIKE + expression is unknown. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:35746.10 + If the escape_character is specified and is NULL, the value of + the LIKE expression is unknown. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:35946.11 + null_comparison_expression ::= {single_valued_path_expression | + input_parameter } IS [NOT] NULL. A null + comparison expression tests whether or not the single-valued + path expression or input parameter + is a NULL value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:165046.11 + Null comparisons over instances of embeddable class types are + not supported. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:36146.12 + empty_collection_comparison_expression ::= + collection_valued_path_expression IS [NOT] EMPTY + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:36246.12 + If the value of the collection-valued path expression in an + empty collection comparison expression is + unknown, the value of the empty comparison expression is + unknown. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:36346.13 + collection_member_expression ::= entity_or_value_expression + [NOT] MEMBER [OF] + collection_valued_path_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:363.146.13 + entity_or_value_expression ::= + single_valued_object_path_expression | + state_valued_path_expression | + simple_entity_or_value_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:363.246.13 + simple_entity_or_value_expression ::= identification_variable | + input_parameter | literal + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:165146.13 + Expressions that evaluate to embeddable types are not supported + in collection member expressions. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:36546.13 + If the collection valued path expression designates an empty + collection, the value of the MEMBER OF + expression is FALSE and the value of the NOT MEMBER OF + expression is TRUE. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:36446.13 + if the value of the collection_valued_path_expression or + entity_or_value_expression in the collection + member expression is NULL or unknown, the value of the + collection member expression is unknown. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:79146.14An EXISTS expression is a predicate that is true only + if the result of the subquery consists of + one or more values and that is false otherwise. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:79246.14exists_expression::= [NOT] EXISTS (subquery) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:79346.15An ALL conditional expression is a predicate over a + subquery that is true if the comparison + operation is true for all values in the result of the subquery + or the result of the subquery is empty. + An ALL conditional + expression is false if the result of the comparison is false for + at least one value of the result of the + subquery, and is unknown if neither true nor false. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:79446.15An ANY conditional expression is a predicate over a + subquery that is true if the comparison + operation is true for some value in the result of the subquery. + An ANY conditional expression is false + if the result of + the subquery is empty or if the comparison operation is false + for every value in the result of the + subquery, + and is unknown if neither true nor false. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:79546.15The keyword SOME is synonymous with ANY.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:79746.15The comparison operators used with ALL or ANY + conditional expressions are =, <, <=, >, + > =, < >. The result of the subquery must be like that + of the other argument to the comparison + operator in type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:79846.15all_or_any_expression ::= {ALL | ANY | SOME} (subquery) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:79946.16Subqueries may be used in the WHERE or HAVING clause. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:80046.16The syntax for subqueries is as follows.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:80146.16subquery ::= simple_select_clause + subquery_from_clause [where_clause] + [groupby_clause] + [having_clause] + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:80246.16simple_select_clause ::= SELECT [DISTINCT] + simple_select_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:800.146.16 + subquery_from_clause ::= FROM + subselect_identification_variable_declaration + {,subselect_identification_variable_declaration | + collection_member_declaration }* + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:800.246.16 + subselect_identification_variable_declaration ::= + identification_variable_declaration | + derived_path_expression [AS] identification_variable + {join}* | + derived_collection_member_declaration + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:800.346.16 + simple_select_expression::= + single_valued_path_expression | scalar_expression | + aggregate_expression | identification_variable + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:800.446.16 + derived_path_expression ::= + general_derived_path.single_valued_object_field | + general_derived_path.collection_valued_field + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:800.546.16 + general_derived_path ::= simple_derived_path | + treated_derived_path{.single_valued_object_field}* + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:800.646.16 + simple_derived_path ::= + superquery_identification_variable{.single_valued_object_field}* + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:800.746.16treated_derived_path ::= + TREAT(general_derived_path AS subtype) + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:800.846.16 + derived_collection_member_declaration ::= IN + superquery_identification_variable.{single_valued_object_field.}*collection_valued_field + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:251246.17 + scalar_expression::= + arithmetic_expression | + string_expression | + enum_expression | + datetime_expression | + boolean_expression | + case_expression | + entity_type_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:165246.17.1 + +, - unary + *, / multiplication and division + +, - addition and subtraction + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:34446.17.1Arithmetic operations use numeric promotion. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:165346.17.2 + The Jakarta Persistence query language includes the built-in + functions which may be used in the SELECT, + WHERE or HAVING clause of a query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:36746.17.2 + If the value of any argument to a functional expression is NULL + or UNKNOWN, the value of the functional + expression is UNKNOWN. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:36946.17.2.1String Functionstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:369.146.17.2.1 + functions_returning_strings ::= + CONCAT(string_expression, string_expression {, + string_expression}* ). The CONCAT function returns a + string that is + a + concatenation of its arguments. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:369.246.17.2.1 + SUBSTRING(string_expression, arithmetic_expression [, + arithmetic_expression]). The second + and + third arguments of the SUBSTRING function denote the + starting position and length of the + substring to be returned. These arguments are integers. + The third argument is optional. If + it is + not specified, the substring from the start position to + the end of the string is returned. + The + first position of a string is denoted by 1. The + SUBSTRING function returns a string. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:369.946.17.2.1trim_specification ::= LEADING | TRAILING | + BOTH. The TRIM function trims the + specified + character from a string. If the character to be trimmed + is not + specified, it will be assumed to be space (or blank). + The optional trim_character is a + single-character + string literal or a character-valued input parameter + (i.e., char or Character). If a trim + specification + is not provided, it defaults to BOTH. The TRIM function + returns the trimmed string. Note + that + not all + databases support the use of a trim character other than + the space character; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:369.1046.17.2.1 + LOWER(string_expression). The LOWER function converts a + string to upper case. LOWER returns + a + string. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:369.1146.17.2.1 + UPPER (string_expression). The UPPER function converts a + string to upper case. UPPER returns + a + string. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:369.446.17.2.1LENGTH(string_expression). The LENGTH function + returns the length of the string in + characters as an integer. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:369.346.17.2.1 + LOCATE(string_expression, string_expression[, + arithmetic_expression]). The LOCATE function + returns the position of a given string within a string, + starting the search at a + specified + position. It returns the first position at which the + string was found as an integer. The + first + argument + is the string to be located; the second argument is the + string to be searched; the optional + third + argument + is an integer that represents the string position at + which the search is started (by + default, + the + beginning of + the string to be searched). The first position in a + string is denoted by 1. If the string is + not + found, + 0 is + returned. Note that not all databases support the use of + the third argument to LOCATE + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:36846.17.2.2 + Numeric arguments to these functions may correspond to the + numeric Java object types as well as the + primitive numeric types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:369.546.17.2.2 + ABS(arithmetic_expression). The ABS function takes a numeric + argument and returns a number (integer, + float, double) of the same type as the argument to the function. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:369.646.17.2.2 + SQRT(arithmetic_expression). The SQRT function takes a numeric + argument and returns a double. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:369.746.17.2.2 + MOD(arithmetic_expression, arithmetic_expression). The MOD + function takes two integer arguments and + returns an integer. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:369.846.17.2.2 + SIZE(collection_valued_path_expression). The SIZE function + returns an integer value, the number of + elements of the collection. If the collection is empty, the SIZE + function evaluates to zero. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:165446.17.2.2 + INDEX(identification_variable). The INDEX function returns an + integer value corresponding to the + position of its argument in an ordered list. The INDEX function + can only be applied to identification + variables denoting types for which an order column has been + specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:165546.17.2.3 + functions_returning_datetime:= CURRENT_DATE | CURRENT_TIME | + CURRENT_TIMESTAMP. The datetime functions + return the value of current date, time, and timestamp on the + database server. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:165646.17.3 + The invocation of functions other than the built-in functions of + the Jakarta Persistence query language is + supported by means of the function_invocation syntax. This + includes the invocation of predefined + database + functions and user-defined database functions. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1656.146.17.3 + function_invocation::= FUNCTION(function_name {, + function_arg}*) + function_arg ::= literal | state_valued_path_expression + | input_parameter | + scalar_expression + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1656.246.17.3 + The function_name argument is a string that denotes the + database function that is to be + invoked. + The + arguments must be suitable for the database function + that is to be invoked. The result of + the + function + must be suitable for the invocation context. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1656.346.17.3 + The function may be a database-defined function or a + user-defined function. The function may + be + a scalar + function or an aggregate function. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:165746.17.4 + The following forms of case expressions are supported: general + case expressions, simple case + expressions, + coalesce expressions, and nullif expressions. Note that not all + databases support the use of SQL case + expressions. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1657.146.17.4 + general_case_expression::= + CASE when_clause {when_clause}* ELSE scalar_expression + END + when_clause::= WHEN conditional_expression THEN + scalar_expression + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1657.246.17.4 + simple_case_expression::= + CASE case_operand simple_when_clause + {simple_when_clause}* + ELSE scalar_expression + END + case_operand::= state_valued_path_expression | + type_discriminator + simple_when_clause::= WHEN scalar_expression THEN + scalar_expression + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1657.346.17.4 + coalesce_expression::= COALESCE(scalar_expression {, + scalar_expression}+) + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1657.446.17.4 + nullif_expression::= NULLIF(scalar_expression, + scalar_expression) + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:165846.17.5 + An entity type expression can be used to restrict query + polymorphism. The TYPE operator returns the + exact type of the argument. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:165946.17.5The syntax of an entity type expression is as + follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1659.146.17.5type_discriminator. + TYPE(general_identification_variable | + single_valued_object_path_expression + | input_parameter ) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1659.246.17.5entity_type_literal. An entity_type_literal is + designated by the entity name. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1659.346.17.5input_parametertrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:80347The GROUP BY construct enables the aggregation of + values according to a set of properties. The + HAVING construct enables conditions to be specified that further + restrict the query result. Such + conditions are restrictions upon the groups. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:80447The syntax of the GROUP BY and HAVING clauses is as + follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:80547groupby_clause ::= GROUP BY + groupby_item[,groupby_item]* + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:80647groupby_item ::= single_valued_path_expression + | identification_variable + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:80747having_clause ::= HAVING + conditional_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:80847If the query contains both a WHERE clause and a GROUP + BY clause, the effect is that of first + applying the where clause, and then forming the groups and + filtering them to the HAVING clause. The + HAVING clause causes those groups to be retained that satisfy + the condition of the HAVING clause. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:81047The requirements for the SELECT clause when GROUP BY is + used follow those of SQL; namely, any + property that appears in the SELECT clause (other than as an + argument to an aggregate function) must + also appear in the GROUP BY clause. In forming groups. null + values are treated as the same for grouping + purposes. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:166047 + Grouping by an entity is permitted. In this case, the entity + must contain no serialized state fields or + lob-valued state fields that are eagerly fetched. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:166147 + Grouping by an entity that contains serialized state fields + or lob-valued state fields is not portable, since the + implementation is permitted to eagerly fetch + fields or + properties that have been specified as LAZY. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:166247Grouping by embeddables is not supported.true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:166347 + The HAVING clause is used to filter over the groups, and can + contain aggregate functions over + attributes included in the groups and/or functions or other + query language operators over the attributes + that are used for grouping. It is not required that an aggregate + function used in the HAVING clause also + be used in the SELECT clause. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:80947If there is no GROUP BY clause and the HAVING clause is + used, the result is treated as a single + group, and the select list can only consist of aggregate + functions. The use of HAVING in the absence of + GROUP BY is not required to be supported by an implementation of + this specification. Portable + applications should not rely on HAVING without the use of GROUP + BY + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:81148The SELECT clause denotes the query result. More than + one value may be returned from the SELECT + clause of a query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:37248 + The SELECT clause may contain one or more of the following + elements: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:372.248 + identification variable that ranges over an entity + abstract schema type + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:372.348a single-valued path expressiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:372.448an aggregate expressiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:372.548a constructor expressiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:81448The SELECT clause has the following syntax: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:81548select_clause ::= SELECT [DISTINCT] select_item + {, select_item}* + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:81648select_expression ::= + {single_valued_path_expression | scalar_expression | + aggregate_select_expression | identification_variable | + OBJECT(identification variable) | + constructor_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:81748constructor_expression ::= NEW + constructor_name(constructor_item + {,single_valued_path_expression | scalar_expression | + aggregate_expression | + identification_variable}*) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:814.148constructor_item ::= + single_valued_path_expression | scalar_expression | + aggregate_expression | identification_variable + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:81848aggregate_expression ::= {AVG | MAX | MIN | + SUM}([DISTINCT] + state_valued_path_expression) | COUNT ([DISTINCT] + identification_variable | + state_valued_path_expression | + single_valued_object_path_expression) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:37448The DISTINCT keyword is used to specify that duplicate + values must be eliminated from the query + result. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:166448If DISTINCT is not specified, duplicate values are not + eliminated. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:166548The result of DISTINCT over embeddable objects or map + entry results is undefined. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:37348 + Standalone identification variables in the SELECT clause may + optionally be qualified by the OBJECT + operator. Note that the keyword OBJECT is not required. It is + preferred that it be omitted for new + queries. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:166648A result_variable may be used to name a select_item in + the query result + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:166748 + The SELECT clause must not use the OBJECT operator to qualify + path expressions. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:40648.1 + The type of the query result specified by the SELECT clause of a + query is an entity abstract schema + type, a state field type, the result of a scalar expression, the + result of an aggregate function, the + result of a construction operation, or some sequence of these. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:40848.1 + The result type of the SELECT clause is defined by the the + result types of the select expressions + contained + in it. When multiple select expressions are used in the SELECT + clause, the elements in this result + correspond in order to the order of their specification in the + SELECT clause and in type to the result + types of each of the select expressions. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:166848.1The type of the result of a select_expression is as + follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:39448.1 + The result type of an identification_variable is the + type of the entity object or embeddable + object to which the identification variable corresponds. + The type of an + identification_variable + that refers to an entity abstract schema type is the + type of the entity to which that + identification + variable corresponds or a subtype as determined by the + object/relational mapping. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:40948.1The result type of a + single_valued_path_expression that is a + state_field_path_expression is the same type as the + corresponding state field of the entity + or + embeddable class. If the state field of the entity is a + primitive type, the result type is + the + corresponding + object type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:41048.1 + The result type is a single_valued_path_expression that + is a + single_valued_object_path_expression is the type of the + entity object or embeddable object + to + which the + path expression corresponds. A + single_valued_object_path_expression that results in an + entity + object + will result in an entity of the type of the relationship + field or the subtype of the + relationship field + of the entity object as determined by the + object/relational mapping. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1668.148.1 + The result type of a single_valued_path_expression that + is an identification_variable to + which the KEY or VALUE function has been applied is + determined by the type of the map key + or value respectively, as defined by the above rules. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1668.248.1 + The result type of a single_valued_path_expression that + is an identification_variable to + which the ENTRY function has been applied is + java.util.Map.Entry, where the key + and value types of the map entry are determined by the + above rules as applied to the map key + and map value respectively. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1668.348.1 + The result type of a scalar_expression is the type of + the scalar value to which the + expression + evaluates. The result type of a numeric + scalar_expression is defined in section 4.8.6. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1668.448.1 + The result type of an entity_type_expression scalar + expression is the Java class to which + the + resulting abstract schema type corresponds. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1668.548.1 + The result type of aggregate_expression is defined in + section 4.8.5. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:39548.1 + The result type of a constructor_expression is the type + of the class for which the + constructor + is + defined. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:81948.2A constructor may be used in the SELECT list to return + an instance of a Java + class. The specified class is not required to be an entity or to + be mapped to the database. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:166948.2The constructor name must be fully qualified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:82048.2If an entity class name is specified as the constructor + name in the SELECT NEW clause, the + resulting entity instances will be in either the new or the + detached state, depending on whether a + primary key is retrieved for the constructed object. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:167048.2 + If a single_valued_path_expression or identification_variable + that is an argument to the constructor + references an entity, the resulting entity instance referenced + by that single_valued_path_expression + or identification_variable will be in the managed state. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:37548.3 + If the result of an query corresponds to an association field or + state field whose value is null, that + null value is returned in the result of the query method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:37648.3 + The IS NOT NULL construct can be used to eliminate the null from + the result set of the query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:37948.3 + Note, however, that state field types in terms of Java numeric + primitive types cannot produce NULL + values in the query results. An query that returns such a state + field type as a result type must not + return a null value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:167148.4 + If the result of a query corresponds to an identification + variable or state field whose value is an + embeddable, the embeddable instance returned by the query will + not be in the managed state (i.e., it + will + not be part of the state of any managed entity). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:167248.5 + The following aggregate functions can be used in the SELECT + clause of a query: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:38048.5AVGtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:38448.5COUNTtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:38248.5MAXtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:38148.5MINtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:38348.5SUMtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1672.148.5aggregate functions defined in the database. + The invocation of aggregate database + functions, including user defined functions, is + supported by means + of the FUNCTION operator + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:167348.5 + For all aggregate functions except COUNT, the path expression + that is the argument to the aggregate + function must terminate in a state field. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:38948.5 + The path expression argument to COUNT may terminate in a state + field. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:39048.5 + The path expression argument to COUNT may terminate in a + association field. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:39148.5 + The argument to COUNT may be an identification variable. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:82148.5Arguments to the functions SUM and AVG must be + numeric. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:82248.5Arguments to the functions MAX and MIN must correspond + to orderable state field types (i.e., + numeric types, string types, character types, or date type). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:82348.5The Java type that is contained in the result of a + query using an aggregate function is as + follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:82448.5COUNT returns longtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:82548.5MAX, MIN return the type of the state field to + which they are applied + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:82648.5AVG returns Doubletrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:82748.5SUM returns Long when applied to state fields + of integral types (other than + BigInteger); Double when applied to state fields of + floating-point types; BigInteger when applied to state + fields of type BigInteger, and + BigDecimal + when applied to state fields of type BigDecimal. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:39348.5 + Null values are eliminated before the aggregate function is + applied regardless whether the keyword + DISTINCT is specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:82848.5If SUM, AVG, MAX, or MIN is used, and there are no + values to which the aggreate function can be + applied, the result of the aggregate function is NULL. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:82948.5If COUNT is used, and there are no values to which + COUNT can be applied, the result of the + aggregate function is 0. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:39248.5 + The argument to an aggregate function may be preceded by the + keyword DISTINCT to specify that duplicate + values are to be eliminated before the aggregate function is + applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:167448.5 + It is legal to specify DISTINCT with MAX or MIN, but it does not + affect the result. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:167548.5 + The use of DISTINCT with COUNT is not supported for arguments of + embeddable types or map entry + types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:167648.6 + An operand that corresponds to a persistent state field is of + the same type as that persistent state + field. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:167748.6 + The result of a case expression, coalesce expression, nullif + expression, or arithmetic expression + (+, -,*,/) is determined by applying the following rule to its + operands. In the case of a general or + simple case expression, these are the scalar expressions of the + THEN and ELSE clauses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1677.148.6If there is an operand of type Double or + double, the result of the operation is of + type + Double; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1677.248.6otherwise, if there is an operand of type Float + or float, the result of the + operation + is of type Float; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1677.348.6otherwise, if there is an operand of type + BigDecimal, the result of the operation + is of + type BigDecimal; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1677.448.6otherwise, if there is an operand of type + BigInteger, the result of the operation + is + of type BigInteger, unless the operator is / (division), + in which case the numeric result + type + is not further defined; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1677.548.6otherwise, if there is an operand of type Long + or long, the result of the operation + is + of type Long, unless the operator is / (division), in + which case the numeric result type is + not + further defined; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1677.648.6otherwise, if there is an operand of integral + type, the result of the operation is + of + type Integer, unless the operator is / (division), in + which case the numeric result type is + not + further defined. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:167848.6 + Users should note that the semantics of the SQL division + operation are not standard across + databases. In particular, when both operands are of integral + types, the result of the division + operation will be an integral type in some databases, and an + non-integral type in others. Portable + applications should not assume a particular result type. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:167949 + orderby_clause ::= ORDER BY orderby_item {, orderby_item}* + orderby_item ::= { state_field_path_expression | + general_identification_variable | result_variable } + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:39949 + An orderby_item MUST be one of the following + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:399.149 + A state_field_path_expression that evaluates to an + orderable state field of an entity or + embeddable class abstract schema type designated in the + SELECT clause + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:399.449a general_identification_variabletrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:399.549a single_valued_object_path_expression + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:399.349 + A state_field_path_expression that evaluates to the same + state field of the same entity or + embeddable abstract schema type as a + state_field_path_expression in the SELECT clause + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:399.649 + A general_identification_variable that evaluates to the + same map field of the same entity or + embeddable abstract schema type as a + general_identification_variable in the SELECT clause + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:399.749 + A result_variable that refers to an orderable item in + the SELECT clause for which the same + result_variable has been specified. This may be the + result of an aggregate_expression, a + scalar_expression, or a state_field_path_expression in + the SELECT clause. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:40049 + If more than one orderby_item is specified, the left-to-right + sequence of the orderby_item elements + determines the precedence, whereby the leftmost orderby_item has + the highest precedence. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:40149 + The keyword ASC specifies that ascending order is used. + Ascending ordering is the default. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:40249 + The keyword DESC specified that descending order is used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:40349 + SQL rules for ordering of NULLS apply: that is, all null values + must appear before all non-null values + in the ordering or all null values must appear after all + non-null values in the ordering, but it is not + specified which. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:40449 + The ordering of the query result is preserved in the result of + the query method if the ORDER BY clause + is used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:834410Bulk update and delete operations apply to entities of + a single entity class (together with its + subclasses, if any). + Only one entity abstract schema type may be specified in the + FROM or UPDATE clause. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:836410The syntax of these operations are as follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:837410update_statement + ::=update_clause[where_clause] + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:838410update_clause ::=UPDATE entity_name [[AS] + identification_variable] + SET update_item {, update_item}* + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:839410update_item + ::=[identification_variable.]{single_valued_embeddable_object_field.}* + {state_field | single_valued_object_field} = new_value + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:836.1410new_value ::= scalar_expression | + simple_entity_expression | NULL + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:840410delete_statement ::=delete_clause + [where_clause] + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:841410delete_clause ::= DELETE FROM entity_name [[AS] + identification_variable] + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:835410A delete operation only applies to entities of the + specified class and its subclasses. It does + not cascade to related entities. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1680410 + The new_value specified for an update operation must be + compatible in type with the field to which it + is assigned. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1681410 + Bulk update maps directly to a database update operation, + bypassing optimistic locking checks. Portable + applications must manually update the value of the version + column, if desired, and/or manually validate + the value of the version column. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1682410 + The persistence context is not synchronized with the result of + the bulk update or delete. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:416411 + Comparison operations with a NULL value always yield an UNKNOWN + value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:415411 + Two NULL values are not considered to be equal, the comparison + yield an UNKNOWN value. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:417411 + Comparison operations with an UNKNOWN value always yield an + UNKNOWN value. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:418411 + Arithmetic operators with a NULL value always yield an UNKNOWN + value. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:419411 + Arithmetic operators with an UNKNOWN value always yield an + UNKNOWN value. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1683411 + The IS NULL operators convert a NULL state field into the + respective TRUE or FALSE value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1684411 + The IS NULL operators convert a NULL single-valued object field + into the respective TRUE or FALSE + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:422411 + The IS NOT NULL operators convert a NULL state field into the + respective TRUE or FALSE value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:423411 + The IS NOT NULL operators convert a NULL single-valued object + field into the respective TRUE or FALSE + value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:424411 + Boolean operators use three valued logic: Table 1: Definition of + the AND Operator + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:425411 + Boolean operators use three valued logic: Table 2: Definition of + the OR Operator + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:426411 + Boolean operators use three valued logic: Table 3: Definition of + the NOT Operator + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:430412 + Only the values of like types are permitted to be compared. A + type is like another type if they + correspond + to the same Java language type, or if one is a primitive Java + language type and the other is the + wrappered Java class type equivalent (e.g., int and Integer are + like types in this sense). + There is one exception to this rule: it is valid to compare + numeric values for which the rules of + numeric promotion apply. Conditional expressions attempting to + compare non-like type values are + disallowed except for + this numeric case. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1685412 + Note that the arithmetic operators and comparison operators are + permitted to be applied to + state fields and input parameters of the wrappered Java class + equivalents to the primitive + numeric Java types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:427412 + Two entities of the same abstract schema type are equal if and + only if they have the same primary key + value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:428412 + Only equality/inequality comparisons over enums are required to + be supported. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:168662.1.1 + For each managed class X in package p, a metamodel class X_ in + package p is created. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:168762.1.1 + The name of the metamodel class is derived from the name of the + managed class by appending "_" to the + name of the managed class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:168862.1.1 + The metamodel class X_ must be annotated with the + jakarta.persistence.StaticMetamodel annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:168962.1.1 + If the class was generated, the jakarta.annotation.Generated + annotation should be used to annotate the + class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:169062.1.1 + If class X extends another class S, where S is the most derived + managed class (i.e., entity or + mapped superclass) extended by X, then class X_ must extend + class S_, where S_ is the metamodel + class created for S. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:169162.1.1 + For every persistent non-collection-valued attribute y declared + by class X, where the type of y + is Y, the metamodel class must contain a declaration as follows: + public static volatile SingularAttribute<X, Y> y; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:169262.1.1 + For every persistent collection-valued attribute z declared by + class X, where the element type + of z is Z, the metamodel class must contain a declaration as + follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1692.162.1.1 + if the collection type of z is java.util.Collection, + then + public static volatile CollectionAttribute<X, Z> + z; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1692.262.1.1 + if the collection type of z is java.util.Set, then + public static volatile SetAttribute<X, Z> z; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1692.362.1.1 + if the collection type of z is java.util.List, then + public static volatile ListAttribute<X, Z> z; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1692.462.1.1 + if the collection type of z is java.util.Map, then + public static volatile MapAttribute<X, K, Z> z; + where K is the type of the key of the map in class X + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:169362.1.1 + Import statements must be included for the needed + jakarta.persistence.metamodel types as + appropriate + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1693.162.1.1 + jakarta.persistence.metamodel.SingularAttribute + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1693.262.1.1 + jakarta.persistence.metamodel.CollectionAttribute + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1693.362.1.1 + jakarta.persistence.metamodel.SetAttribute + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1693.462.1.1 + jakarta.persistence.metamodel.ListAttribute + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1693.562.1.1 + jakarta.persistence.metamodel.MapAttribute + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1693.662.1.1 + all classes X, Y, Z, and K. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:169462.1.1 + Implementations of this specification are not required to + support the use of non-canonical + metamodel classes. Applications that use non-canonical metamodel + classes will not be portable. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:169562.2 + When the entity manager factory for a persistence unit is + created, it is the responsibility of the + persistence + provider to initialize the state of the metamodel classes of the + persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:169662.2Persistence providers must support the use of canonical + metamodel classes. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:169762.2Persistence providers may, but are not required to, + support the use of non-canonical metamodel + classes. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:169864Strings may be used as an alternative to metamodel + objects, whereby joins and navigation are + specified by use of strings that correspond to attribute names. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:170065 + A criteria query is constructed through the creation and + modification of a jakarta.persistence. + criteria.CriteriaQuery object. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:170165 + The CriteriaBuilder interface is used to construct + CriteriaQuery, CriteriaUpdate, and CriteriaDelete + objects. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:170265 + The CriteriaBuilder implementation is accessed through the + getCriteriaBuilder method of the + EntityManager or EntityManagerFactory interface. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:170365.1 + A CriteriaQuery object is created by means of one of the + createQuery methods or the createTupleQuery + method of the CriteriaBuilder interface. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:170465.1 + A CriteriaQuery object is typed according to its expected result + type when the CriteriaQuery object is + created. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:170565.1 + A TypedQuery instance created from the CriteriaQuery object by + means of the EntityManager createQuery + method will result in instances of this type when the resulting + query is executed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:170665.1 + The effect of the createTupleQuery method is semantically + equivalent to invoking the createQuery method + with the Tuple.class argument. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:170765.1 + The CriteriaQuery + <Object> + createQuery() method supports both the case where the select or + multiselect method specifies only a + single selection item and where the multiselect method specifies + multiple selection items. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:170865.1 + If only a single item is specified, an instance of type Object + will be returned for each result of the + query execution. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:170965.1 + If multiple selection items are specified, an instance of type + Object[] will be instantiated and + returned for each result of the execution + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:171165.2 + A CriteriaQuery object may have more than one root. The addition + of a query root has the semantic effect + of creating a + cartesian product between the entity type referenced by the + added root and those of the other roots. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:171265.3 + Joins can be chained, + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:171365.3By default, the join method defines an inner join. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:171465.3Outer joins are defined by specifying a JoinType + argument. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:171565.3Only left outer joins and left outer fetch joins are + required to be supported + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:171665.3 + Applications that make use of right outer joins or right outer + fetch joins will not be portable. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:171765.3On-conditions can be specified for joins.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:171865.4 + An association or attribute referenced by the fetch method must + be referenced from an entity or + embeddable that is returned as the result of the query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:172065.4 + The fetch method must not be used in a subquery. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:172165.4 + Multiple levels of fetch joins are not required to be supported + by an implementation of this + specification. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:172265.5A Path instance can betrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1722.165.5a Root instancetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1722.265.5a Join instancetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1722.365.5a Path instance that has been derived from + another Path instance by means of the + get + navigation method + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1722.465.5a Path instance derived from a map-valued + association by use of the key or value + method + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1722.565.5a Path instance derived from a element + collection by use of the key or value + method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:172365.5 + if the value of a non-terminal Path + instance is null, the path is considered to have no value, and + does not participate in the determination + of + the query result. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:172465.5 + The get method is used for path navigation. The argument to the + get method is specified by the + corresponding + SingularAttribute or collection-valued attribute + (CollectionAttribute, + SetAttribute, ListAttribute, or MapAttribute) of the + corresponding metamodel class. Attribute names + serve this role for string-based queries. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:172565.6 + The result of a query can be restricted by specifying one or + more predicate conditions. Restriction + predicates + are applied to the CriteriaQuery object by means of the where + method. Invocation of the + where method results in the modification of the CriteriaQuery + object with the specified restriction( + s). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:172665.6 + The argument to the where method can be either an Expression + <Boolean> + instance or zero or more Predicate instances. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:172765.6A predicate can be either simple or compound. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:172865.6 + A simple predicate is created by invoking + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1728.165.6one of the conditional methods of the + CriteriaBuilder interface + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1728.265.6isNull method of the Expression interface + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1728.365.6isNotNull method of the Expression interface + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1728.465.6in method of the Expression interface + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:172965.6 + Compound predicates are constructed by means of the and, or, and + not methods of the CriteriaBuilder + interface. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:173065.6The restrictions upon the types to which conditional + operations are permitted to be applied are + the same + as the respective operators of the Jakarta Persistence query + language as described in subsections 4.6.7 + through 4.6.17. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:173165.6The same null value semantics as described in section + 4.11 + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:173265.6the subsections of section 4.6 applytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:173365.6The equality and comparison semantics described in + section 4.12 + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:173465.7 + Downcasting by means of the treat method is supported + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1734.165.7in joinstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1734.265.7in the construction of where conditions + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:173565.8An Expression or one of its subtypes can be used in the + construction of the query’s + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1735.165.8select listtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1735.265.8in the construction of where method + conditions + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1735.365.8in the construction of having method + conditions + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:173665.8Path predicates are expressions.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:173765.8boolean predicates are expressions.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:173865.8The type method can only be applied to a path + expression. Its result denotes the type navigated + to by the path. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:173965.8The index method can be applied to a ListJoin object + that corresponds to a list for which an + order column has been specified. Its result denotes the position + of the item in the list. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:174065.8The aggregation methods avg, max, min, sum, count can + only be used in the construction of the + select list + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:174165.8The aggregation methods avg, max, min, sum, count can + only be used in having method + conditions. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:174265.8 + The size method can be applied to a path expression that + corresponds to an association collection. + Its result denotes the number of elements in the association + collection. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:174465.8Both simple and general case expressions are + supported. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:174565.8.1 + For non-numerical operands, the implementation must return the + most specific common superclass of the + types of the operands used to form the result. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:174665.8.1 + In the case of the two-argument sum, prod, diff, quot, coalesce, + and nullif methods, and the + In, Case, SimpleCase, and Coalesce builder methods, the runtime + result types will differ from + the Expression type when the latter is Number. The following + rules must be observed by the + implementation + when materializing the results of numeric expressions involving + these methods. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1746.165.8.1If there is an operand of type Double, the + result of the operation is of type + Double; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1746.265.8.1otherwise, if there is an operand of type + Float, the result of the operation is of + type + Float; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1746.365.8.1otherwise, if there is an operand of type + BigDecimal, the result of the operation + is of + type BigDecimal; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1746.465.8.1otherwise, if there is an operand of type + BigInteger, the result of the operation + is of + type BigInteger, unless the method is quot, in which + case the numeric result type is not + further + defined; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1746.565.8.1otherwise, if there is an operand of type Long, + the result of the operation is of + type + Long, unless the method is quot, in which case the + numeric result type is not further + defined; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1746.665.8.1otherwise, if there is an operand of integral + type, the result of the operation is + of + type Integer, unless the method is quot, in which case + the numeric result type is not + further + defined. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:174765.8.1 + In particular, when both operands are of integral types, the + result of the division + operation will be an integral type in some databases, and an + non-integral type in others. Portable + applications should not assume a particular result type. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:174865.9 + An Expression literal instance is obtained by passing a value to + the literal method of the + CriteriaBuilder + interface. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:174965.9 + An Expression instance representing a null is created by the + nullLiteral method of the CriteriaBuilder + interface. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:175065.10 + A ParameterExpression instance is an expression that corresponds + to a parameter whose value + will be supplied before the query is executed. Parameter + expressions can only be used in the + construction + of conditional predicates. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:175165.11 + The select list of a query is specified by use of the select or + multiselect methods of the CriteriaQuery + interface. The arguments to the select and multiselect methods + are Selection + instances. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:175265.11 + The select method takes a single Selection argument, which can + be either an Expression + instance or a CompoundSelection instance. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:175365.11 + The type of the Selection item must be assignable to the defined + CriteriaQuery result type, + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:175465.11 + The construct, tuple and array methods of the CriteriaBuilder + interface are used to aggregate multiple + selection items into a CompoundSelection instance. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:175565.11 + The multiselect method also supports the specification and + aggregation of multiple selection + items. When the multiselect method is used, the aggregation of + the selection items is determined + by the result type of the CriteriaQuery object + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:175665.11 + A Selection instance passed to the construct method can be one + of the following: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1756.165.11An Expression instance.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1756.265.11A Selection instance obtained as the result of + the invocation of the + CriteriaBuilder + construct method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:175765.11 + A Selection instance passed to the tuple method can be one of + the following: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1757.165.11An Expression instance.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1757.265.11A Selection instance obtained as the result of + the invocation of the + CriteriaBuilder + construct method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:175865.11 + A Selection instance passed to the array method can be one of + the following: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1758.165.11An Expression instance.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1758.265.11A Selection instance obtained as the result of + the invocation of the + CriteriaBuilder + construct method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:175965.11 + A Selection instance passed to the multiselect method can be one + of the following: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1759.165.11An Expression instance.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1759.265.11A Selection instance obtained as the result of + the invocation of the + CriteriaBuilder + construct method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:176065.11The distinct method of the CriteriaQuery interface is + used to specify that duplicate values + must be eliminated from the query result. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:176165.11If the distinct method is not used or distinct( + false) is invoked on the criteria query object, duplicate values + are not eliminated. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:176265.11 + When distinct(true) is used, and the select items include + embeddable objects or map entry results, the + elimination of duplicates is undefined. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:176365.11.1 + The alias method of the Selection interface can be used to + assign an alias to a selection item. The + alias may then later be used to extract the corresponding item + from the query result when the query is + executed. The alias method assigns the given alias to the + Selection item. Once assigned, the alias + cannot be changed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:176465.12Both correlated and non-correlated subqueries can be + used in restriction predicates. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:176565.12A subquery is constructed through the creation and + modification of a Subquery object. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:176665.12A Subquery instance can be passed as an argument to + the + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1766.165.12alltrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1766.265.12anytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1766.365.12sometrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:176765.12A Subquery instance can be passed to the + CriteriaBuilder exists method to create a conditional + predicate. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:176965.12 + Note that joins involving the derived subquery root do not + affect the join conditions of the containing + query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:177065.13 + The groupBy method of the CriteriaQuery interface is used to + define a partitioning of the query results + into groups. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:177165.13 + The having method of the CriteriaQuery interface can be used to + filter over the groups. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:177265.13The arguments to the groupBy method are Expression + instances. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:177365.13 + When the groupBy method is used, each selection item that is not + the result of applying an aggregate + method must correspond to a path expression that is used for + defining the grouping. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:177465.14 + An Order instance is created by means of the asc and desc + methods of the CriteriaBuilder interface. An + argument to either of these methods must be one of the + following: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1774.165.14 + Any Expression instance that corresponds to an orderable + state field of an entity or + embeddable class abstract schema type that is specified + as an argument to the select or + multiselect method or that is an argument to a tuple or + array constructor that is passed as + an argument to the select method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1774.265.14 + Any Expression instance that corresponds to the same + state field of the same entity or + embeddable abstract schema type as an Expression + instance that is specified as an argument + to the select or multiselect method or that is an + argument to a tuple or array constructor + that is passed as an argument to the select method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1774.365.14 + An Expression instance that is specified as an argument + to the select or multiselect + method or that is an argument to a tuple or array + constructor that is passed as an argument + to + the select method or that is semantically equivalent to + such an Expression instance. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:177565.14 + If more than one Order instance is specified, the order in which + they appear in the argument list of the + orderBy method determines the precedence, whereby the first item + has highest precedence. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:177665.14SQL rules for the ordering of null values apply, + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:177765.15 + A bulk update query is constructed through the creation and + modification of a + jakarta.persistence.criteria.CriteriaUpdate object. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:177865.15 + A CriteriaUpdate object is typed according to the entity type + that is the target of the update. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:177965.15 + A CriteriaUpdate object has a single root, the entity that is + being updated. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:178065.15 + A bulk delete query is constructed through the creation and + modification of a + jakarta.persistence.criteria.CriteriaDelete object. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:178165.15 + A CriteriaDelete object is typed according to the entity type + that is the target of the delete. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:178265.15 + A CriteriaDelete object has a single root, the entity that is + being deleted. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:178365.15 + Like bulk update and delete operations made through the Java + Persistence query language, criteria API + bulk update and delete operations map directly to database + operations, bypassing any optimistic locking + checks. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:178465.15 + The persistence context is not synchronized with the result of + the bulk update or delete. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:178667 + The Criteria API provides the option of specifying the attribute + references used in joins and navigation + by attribute names used as arguments to the various methods. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1786.167jointrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1786.267fetchtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1786.367gettrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:178768 + A CriteriaQuery object may be modified, either before or after Query or + TypedQuery objects have been created and + executed from it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:178868 + A CriteriaUpdate object may be modified, either before or after Query or + TypedQuery objects have been created and + executed from it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:178968 + A CriteriaDelete object may be modified, either before or after Query or + TypedQuery objects have been created and + executed from it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:179068 + modification may entail replacement of the where predicate or + the select list. Modifications may thus + result in the same query object “base” being reused for several + query instances. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:179269 + A criteria query is executed by passing the CriteriaQuery object + to the createQuery method of the + EntityManager interface to create a TypedQuery object, which can + then be passed to one of the query + execution methods of the TypedQuery interface. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:179369 + A criteria query is executed by passing the CriteriaUpdate + object to the createQuery method of the + EntityManager interface to create a an executable + Query object, which can then be passed to one of the query + execution methods of the Query interface. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:179469 + A criteria query is executed by passing the CriteriaDelete + object to the createQuery method of the + EntityManager interface to create a Query object, which can then + be passed to one of the query + execution methods of the Query interface. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:179569 + A CriteriaQuery object may be further modified after an + executable query object has been created from it. The + modification of the CriteriaQuery object does not have any + impact on the already created executable query + object. If the modified CriteriaQuery object is passed to the + createQuery method, the persistence + provider must insure that a new executable query object is + created and returned that reflects the semantics of + the changed query definition. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:179669 + A CriteriaUpdate object may be further modified after an + executable query object has been created from it. The + modification of the CriteriaUpdate object does not have any + impact on the already created executable query + object. If the modified CriteriaQuery object is passed to the + createQuery method, the persistence + provider must insure that a new executable query object is + created and returned that reflects the semantics of + the changed query definition. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:179769 + A CriteriaDelete object may be further modified after an + executable query object has been created from it. The + modification of the CriteriaDelete object does not have any + impact on the already created executable query + object. If the modified CriteriaDelete object is passed to the + createQuery method, the persistence + provider must insure that a new executable query object is + created and returned that reflects the semantics of + the changed query definition. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:179869CriteriaQuery, CriteriaUpdate, and CriteriaDelete + objects must be serializable. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:179969CriteriaQuery, CriteriaUpdate, and CriteriaDelete + objects are not required to be interoperable + across vendors. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:84271Both container-managed entity managers and + application-managed entity managers and their + persistence contexts are required to be supported in JavaEE web + containers and EJB containers. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:84371In Java SE environments and in Jakarta EE application + client containers, only application-managed + entity managers are required to be supported. NOTE the use of + JTA is not required to be supported in + application client containers. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:84472When container-managed entity managers are used (in + Jakarta EE environments), the application does + not interact with the entity manager factory. The entity + managers are obtained directly through + dependency + injection or from JNDI + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:180072 + An entity manager must not be shared among multiple concurrently + executing threads, as the entity + manager and persistence context are not required to be + threadsafe. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:180172.1A container-managed entity manager is obtained by the + application through dependency injection + or through direct lookup of the entity manager in the JNDI + namespace. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:84572.1The PersistenceContext annotation is used for entity + manager injection. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:84672.1The unitName element may optionally be specified to + designate the persistence unit whose + entity manager factory is used by the container. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:84772.1The type element specifies whether a transaction-scoped + or extended persistence context is to + be used. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:180272.1The synchronization element specifies whether the + persistence context is always automatically + joined to the current transaction (the default) or is not joined + to the current transaction unless + the joinTransaction method is invoked by the application. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:180372.2An application-managed entity manager is obtained by + the application from an entity manager + factory. + The EntityManagerFactory API used to obtain an + application-managed entity manager is the + same independent of whether this API is used in Jakarta EE or Java + SE environments. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:84873The EntityManagerFactory interface is used by the + application to create an application-managed + entity manager. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:84973More than one entity manager factory instance may be + available simultaneously in the JVM. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:85073.1Within a JavaEE environment, an entity manager factory + may be injected using the + PersistenceUnit annotation or obtained through JNDI lookup. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:180473.1The unitName element may optionally be specified to + designate the persistence unit whose entity + manager factory is used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:85173.2Outside the JavaEE container environment, the + jakarta.persistence.Persistence class is the + bootstrap class that provides access to an entity manager + factory. The application creates an entity + manager factory by called the createEntityManagerFactory method + of the jakarta.persistence.Persistence + class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:85274The EntityManagerFactory interface is used by the + application to obtain an application-managed + entity manager. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:85374When the application has finished using the entity + manager factory, and/or at application + shutdown, the application should close the entity manager + factory. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:180574Once an entity manager factory + has been closed, all its entity managers are considered to be in + the closed state. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:85474Any number of vendor-specific properties may be + included in the map passed to + createEntityManager method. Properties that are not recognized + by a vendor must be ignored. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:250774Note that the policies of the installation environment may restrict some information from being made available through the EntityManagerFactory getProperties method + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:250374 + Vendors should use vendor namespaces for properties (e.g., com.acme.persistence.logging). + Entries that make use of the namespace jakarta.persistence and its subnamespaces must not be + used for vendor-specific information. The namespace jakarta.persistence is reserved for use by this specification. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:85875A container-managed entity manager must be a JTA entity + manager. JTA entity managers are only + specified for use in Jakarta EE containers + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:85975An application-managed entity manager may be either a + JTA entity manager or a resource-local + entity manager. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:180674Entries that make use of the namespace + jakarta.persistence and its subnamespaces must not be + used for vendor-specific information. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:85575An entity manager is defined to be of a given + transaction type - JTA or resource-local - at the + time its underlying entity manager factory is configured and + created. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:85675Both JTA entity managers and resource-local entity + managers are required to be supported in + JavaEE web and EJB containers. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:85775In general, in JavaSE environments, only resource-local + entity managers are supported. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:180775 + A resource-local entity manager transaction is mapped to a + resource transaction over the resource by the + persistence provider. Resource-local entity managers may use + server resources to connect to the database + and are unaware of the presence of JTA transactions that may or + may not be active. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:180875 + A resource-local entity manager transaction is mapped to a + resource transaction over the resource by the + persistence provider. Resource-local entity managers may use + local resources to connect to the database + and are unaware of the presence of JTA transactions that may or + may not be active. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:86075.3The EntityTransaction interface is used to control + resource transactions on resource-local + entity + managers. The EntityManager.getTransaction() method returns an + instance of the EntityTransaction + interface. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:180975.3 + When a resource-local entity manager is used, and the + persistence provider runtime throws an exception + defined to cause transaction rollback, the persistence provider + must mark the transaction for rollback. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:181075.3 + If the EntityTransaction.commit operation fails, the persistence + provider must roll back the + transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:86176When a container-managed entity manager is used, the + lifecycle of the persistence context is + always managed automatically, transparently to the application, + and the persistence context is + propagated with the JTA transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:181176 + A container-managed persistence context may be defined to have + either a lifetime that is scoped to a + single + transaction or an extended lifetime that spans multiple + transactions, depending on the + PersistenceContextType + that is specified when its entity manager is created. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:181276 + The lifetime of the persistence context is declared using the + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1812.176PersistenceContext annotationtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1812.276persistence-context-ref deployment descriptor + element + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:181376By default, a transaction-scoped persistence context is + used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:181476.1By default, a container-managed persistence context is + of type + SynchronizationType.SYNCHRONIZED. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:181576.1Such a persistence context is automatically joined to + the current JTA transaction, and + updates made to the persistence context are propagated to the + underlying resource manager. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:181676.1A container-managed persistence context may be + specified to be of type Synchronization- + Type.UNSYNCHRONIZED. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:181776.1A persistence context of type + SynchronizationType.UNSYNCHRONIZED is not enlisted in any JTA + transaction unless explicitly joined to that transaction by the + application. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:181876.1The persistence context remains joined to the + transaction until the transaction commits or + rolls back. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:181976.1After the transaction commits or rolls back, the + persistence context will not be joined to any + subsequent transaction unless the joinTransaction method is + invoked in the scope of that subsequent + transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:182076.1A persistence context of type + SynchronizationType.UNSYNCHRONIZED must not be flushed to the + database unless it is joined to a transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:182176.1The application's use of queries with pessimistic + locks, bulk update or delete queries, etc. + result in the provider throwing the + TransactionRequiredException. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:182276.1After the persistence context has been joined to the + JTA transaction, these operations are + again allowed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:182376.1The application is permitted to invoke the persist, + merge, remove, and refresh entity lifecycle + operations on an entity manager of type + SynchronizationType.UNSYNCHRONIZED independent of whether the + persistence context is joined to the current transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:182476.1After the persistence context has been joined to a + transaction, changes in a persistence + context can be flushed to the database either explicitly by the + application or by the provider. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:182576.1If the flush method is not explicitly invoked, the + persistence provider may defer flushing + until commit time depending on the operations invoked and the + flush mode setting in effect. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:182676.1If a persistence context of type + SynchronizationType.UNSYNCHRONIZED has not been joined to the + current JTA transaction, rollback of the JTA transaction will + have no effect upon the persistence + context. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:182776.1If an extended persistence context of type + SynchronizationType.UNSYNCHRONIZED has been joined to the JTA + transaction, transaction rollback will cause the persistence + context + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1827.176.1to be clearedtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1827.276.1and all pre-existing managed instances to + become detached. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1827.376.1and all removed instances to become detached. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:182876.1When a JTA transaction exists, a persistence context of + type SynchronizationType.UNSYNCHRONIZED + is propagated with that transaction regardless of whether the + persistence context has been joined to + that transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:182976.2The application can obtain a container-managed entity + manager with transaction-scoped + persistence context by + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1829.176.2injectiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1829.276.2direct lookup in the JNDI namespace + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:183076.2The persistence context type for the entity manager is + defaulted or defined as + PersistenceContextType.TRANSACTION. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:86276.2A new persistence context begins when the + container-managed entity manager is invoked in the + scope of an active JTA transaction, and there is no current + persistence context already associated with + the JTA transaction. The persistence context is created and then + associated with the JTA transaction + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:86376.2The persistence context ends when the associated JTA + transaction commits or rolls back, and all + entities that were managed by the EntityManager become detached. + Note that this applies to a + transaction-scoped persistence context of type + SynchronizationType.UNSYNCHRONIZED that has not been + joined to the transaction as well. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:86476.2If the entity manager is invoked outside the scope of a + transaction, any entities loaded from + the database will immediately become detached at the end of the + method call. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:86576.3A container-managed extended persistence context can + only be initiated within the scope of a + stateful session bean. It exists from the point at which the + stateful session bean that declares a + dependency on an + entity manager of type PersistenceContextType.EXTENDED is + created, and is said to be bound to the + stateful session bean. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:86676.3The dependency on the extended persistence context is + declared by means of the + PersistenceContext annotation or persistence-context-ref + deployment descriptor element + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:86776.3A container-managed extended persistence context can + only be initiated within the scope of a + stateful session bean. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:183176.3The persistence context is closed by the container when + the + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1831.176.3@Remove method of the stateful session bean + completes + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1831.276.3the stateful session bean instance is otherwise + destroyed + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:86876.3.1If a stateful session bean instantiates a stateful + session bean (executing in the same EJB + container instance) which also has such an extended persistence + context with the same synchronization + type, the + extended persistence context of the first stateful session bean + is inherited by the second stateful + session + bean and bound to it, and this rule recursively + applies—independently of whether transactions are active + or not at the point of the creation of the stateful session + beans. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:183276.3.1If the stateful session beans differ in declared + synchronization type, the EJBException is + thrown by the container. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:86976.3.1If the persistence context has been inherited by any + stateful session beans, the container does + not close the persistence context until all such stateful + session beans have been removed or otherwise + destroyed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:183376.4a single persistence context may correspond to one or + more JTA entity manager + instances (all associated with the same entity manager factory) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:183476.4Entity manager instances obtained from different entity + manager factories never share the same + persistence context. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:87076.4The persistence context is propagated across the entity + manager instances as the JTA + transaction is propagated. Propagation of persistence contexts + only applies within a local environment. + Persistence contexts are not propagated to remote tiers. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:183576.4A persistence context of type + SynchronizationType.UNSYNCHRONIZED is propagated with the JTA + transaction regardless of whether it has been joined to the + transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:87176.4.1If a component is called and there is no JTA + transaction or the JTA transaction is not + propagated, the persistence context is not propagated. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:87276.4.1If an entity manager is invoked from within the + component: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:87376.4.1Invocation of an entity manager defined with + PersistenceContextType.TRANSACTION + will + result in use of a new persistence context. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:87476.4.1Invocation of an entity manager defined with + the PersistenceContextType.EXTENDED + will + result in the use of the existing extended persistence + context bound to that component. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:87576.4.1If the entity manager is invoked within a JTA + transaction the persistence context + will + be associated to the JTA transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:87676.4.1If a component is called and the JTA transaction is + propagated into that component: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:87776.4.1If the component is a stateful session bean to + which an extended persistence + context + has been bound and there is a different persistence + context bound to the JTA transaction, an + EJBException is thrown by the container. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:876.176.4.1If there is a persistence context of type + SynchronizationType.UNSYNCHRONIZED + associated with the JTA transaction and the target + component specifies a persistence context + of + type SynchronizationType.SYNCHRONIZED, the IllegalStateException + is thrown by the container. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:87876.4.1Otherwise, if there is a persistence context + associated to the JTA transaction, + that + persistence context is propagated and used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:87977When an application-managed entity manager is used, the + application interacts directly with the + persistence provider's entity manager factory to manage the + entity manager lifecycle and to obtain and + destroy persistence contexts. + All such application-managed persistence contexts are extended + in scope, and can span multiple + transactions. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:88077The EntityManagerFactory.createEntityManager method and + the EntityManager + close and isOpen methods are used to manage the lifecycle of an + application-managed entity manager + and its associated persistence context. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:88577The extended persistence context exists from the point + at which the entity manager has been + created using EntityManagerFactory.createEntityManager until the + entity manager is closed by means of + EntityManager.close. An extended persistence context obtained + from the application-managed entity + manager is a stand-alone persistence context—it is not + propagated with the transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:183677When a JTA application-managed entity manager is used, + an application-managed persistence + context + may be specified to be of type + SynchronizationType.UNSYNCHRONIZED. A persistence context + of type SynchronizationType.UNSYNCHRONIZED is not enlisted in + any JTA transaction + unless explicitly joined to that transaction by the application. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:183777A persistence context of type + SynchronizationType.UNSYNCHRONIZED is enlisted in a JTA + transaction and registered for subsequent transaction + notifications against that transaction by the + invocation of the EntityManager join Transaction method. The + persistence context remains joined to the + transaction until the transaction + commits or rolls back. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:183877After the transaction commits or rolls back, the + persistence context will not be joined to any + subsequent transaction unless the joinTransaction method is + invoked in the scope of that subsequent + transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:88677When a JTA application-managed entity manager is used, + if the entity manager is created outside + the scope of the current JTA transaction, it is the + responsibility of the application to join the entity + manager to the transaction (if desired) by calling + EntityManager.joinTransaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:183977If the entity manager is created outside the scope of a + JTA transaction, it is not joined to + the transaction unless EntityManager.joinTransaction is called. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:88177The EntityManager.close() closes the entity manager to + release its persistence context and any + other resources. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:88277After calling close, the application must not invoke + any further methods on the EntityManager + instance except for getTransaction and IsOpen or the + IllegalStateException will be thrown. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:88377If the close method is invoked when a transaction is + active, the persistence context remains + managed until the transaction completes. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:88477The EntityManager.isOpen method indicates whether the + entity manager is open. The isOpen + method returns true until the entity manager has been closed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:88778Requirements on the Containertrue +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:88878.1Application Managed Persistence Contexts + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:88978.2Container Managed Persistence Contexts + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:184078.1When application-managed persistence contexts are used, + the container must instantiate the + entity manager factory and expose it to the application via + JNDI. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:184178.1However, the container is required to support + third-party persistence + providers, and in this case the container must use the + PersistenceProvider.createContainerEntityManagerFactory method + to create the + entity manager factory and the EntityManagerFactory.close method + to destroy the entity + manager factory prior to shutdown (if it has not been previously + closed by the application). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:184278.2The container is responsible for managing the lifecycle + of container-managed persistence + contexts, for injecting EntityManager references into + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1842.178.2web componentstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1842.278.2session beantrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1842.378.2message-driven bean componentstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1842.478.2and for making EntityManager references + available to direct lookups in JNDI. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:184378.2When operating with a third-party persistence provider, + the container uses the contracts to + create and destroy container-managed persistence contexts. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:184478.2It is undefined whether a new entity manager instance + is created for every persistence context, + or whether entity manager instances are sometimes reused. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:184578.2Exactly how the container maintains the association + between persistence context and JTA + transaction is not defined. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:184678.2If a persistence context is already associated with a + JTA transaction, the container uses that + persistence context for subsequent invocations within the scope + of that transaction + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:89079 + Runtime Contracts between the Container and Persistence Provider + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:89179.1Container Responsibilitiestrue +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:89279.2Provider Responsibilitiestrue +
+
truetechnologyremovedtrue
PERSISTENCE:SPEC:184779.1 + For the management of a transaction-scoped persistence context, + if there is no EntityManager already + associated with the JTA transaction: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1847.179.1 + The container creates a new entity manager by calling + EntityManagerFactory.createEntityManager + when the first invocation of an entity manager with + PersistenceContextType.TRANSACTION + occurs + within the scope of a business method executing in the + JTA transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1847.279.1 + After the JTA transaction has completed (either by + transaction commit or rollback), the + container closes the entity manager by calling + EntityManager.close. Note that the JTA + transaction may rollback in a background thread (e.g., as a result of transaction timeout), in + which case the container should arrange for the entity manager to be closed but the Entity- + Manager.close method should not be concurrently invoked while the application is in an + EntityManager invocation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:184879.1 + The container must throw the TransactionRequiredException if a + transaction-scoped persistence context is + used and + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1848.179.1and the EntityManager persist method is invoked + when no transaction is active. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1848.279.1and the EntityManager remove method is invoked + when no transaction is active. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1848.379.1and the EntityManager merge method is invoked + when no transaction is active. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1848.479.1and the EntityManager refresh method is invoked + when no transaction is active. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:184979.1For stateful session beans with extended persistence + contexts: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1849.179.1 + The container creates an entity manager by calling + EntityManagerFactory.createEntityManager + when + a stateful session bean is created that declares a + dependency on an entity manager with + PersistenceContextType.EXTENDED. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1849.279.1The container closes the entity manager by + calling EntityManager.close after the + stateful session bean and all other stateful session + beans that have inherited the same + persistence context as the entity manager have been + removed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1849.379.1When a business method of the stateful session + bean is invoked, if the stateful + session + bean uses container managed transaction demarcation, and + the entity manager is not already + associated with the current JTA transaction, the + container associates the entity manager + with + the current JTA transaction and, if the persistence + context is of type + SynchronizationType.SYNCHRONIZED, the container calls + EntityManager. joinTransaction. If + there + is a different persistence context already associated + with the JTA transaction, the + container + throws the EJBException. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1849.479.1When a business method of the stateful session + bean is invoked, if the stateful + session + bean uses bean managed transaction demarcation and a + UserTransaction is begun within the + method, + the container associates the persistence context with + the JTA transaction and, if the + persistence context is of type + SynchronizationType.SYNCHRONIZED, the container calls + EntityManager.joinTransaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:185079.1The container must throw the IllegalStateException if + the application calls EntityManager. + close on a container-managed entity manager. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:185179.1 + When the container creates an entity manager, it may pass a map + of properties to the persistence + provider by using the + EntityManagerFactory.createEntityManager(Map map) method. If + properties have been + specified in the PersistenceContext annotation or the + persistence-context-ref deployment descriptor + element, this method must be used and the map must include the + specified properties. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:185279.1If the application invokes EntityManager.unwrap(Class + <T> + cls), and the container cannot + satisfy the request, the container must delegate the unwrap + invocation to the provider’s entity manager + instance. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:185379.2When EntityManagerFactory.createEntityManager is + invoked, the provider must create and return a + new entity manager. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:185479.2If a JTA transaction is active and the persistence + context is of type + SynchronizationType.SYNCHRONIZED, the provider must register for + synchronization notifications against + the JTA transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:185579.2When EntityManager.joinTransaction is invoked, the + provider must register for synchronization + notifications against the current JTA transaction if a previous + joinTransaction invocation for the + transaction has not already been processed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:185679.2When the JTA transaction commits, if the persistence + context is of type SynchronizationType. + SYNCHRONIZED or has otherwise been joined to the transaction, + the provider must flush all modified + entity state to the database. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:185779.2When the JTA transaction rolls back, the provider must + detach all managed entities if the + persistence context is of type SynchronizationType.SYNCHRONIZED + or has otherwise been joined to the + transaction. Note that the JTA transaction may rollback in a background + thread (e.g., as a result of transaction timeout), in which case the provider should arrange for + the managed entities to be detached from the persistence context but not concurrently while the + application is in an EntityManager invocation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:185879.2When the provider throws an exception defined to cause + transaction rollback, the provider must + mark the transaction for rollback if the persistence context is + of type SynchronizationType.SYNCHRONIZED + or has otherwise been joined to the transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:185979.2When EntityManager.close is invoked, the provider + should release all resources that it may have + allocated after any outstanding transactions involving the + entity manager have completed. If the entity + manager was already in a closed state, the provider must throw + the IllegalStateException. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:186079.2When EntityManager.clear is invoked, the provider must + detach all managed entities. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:89382Within Jakarta EE environments, an EJB-JAR, WAR, EAR, or + application client JAR can define a + persistence unit. Any number of persistence units may be defined + within these scopes. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:89482A persistence unit may be packaged:true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:89582within one or more jar files contained within a + WAR + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:89682one or more jar files contained within an EAR + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:89782as a set of classes within an EJB-JAR file + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:89882a set of classes in the WAR classes directory + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:89982as a combination of thesetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:90082A persistence unit is defined by a persistence.xml + file. The jar file or directory whose + META-INF directory contains the persistence.xml file is termed + the root of the persistence unit. + In Jakarta EE environments, the root of a persistence unit may be + one of the following: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:90182an EJB-JAR filetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:90282the WEB-INF classes directory of a WAR file + [the root of the persistence unit - in + this + case - is the WEB-INF/classes directory; the + persistence.xml file is therefore contained in + the + WEB-INF/classes/META-INF directory. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:90382a jar file in the WEB-INF/lib directory of a + WAR file + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:90482a jar file in the root of the EARtrue +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:90582a jar file in the EAR library directory + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:90682an application client jar filetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:90782It is not required that an EJB-JAR or WAR file + containing a persistence unit be packaged in an + EAR unless the persistence unit contains persistence classes in + addition to those contained in the + EJB-JAR or WAR. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:90882A persistence unit must have a name.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:90982Only one persistence unit of any given name may be + defined: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:91082within a single EJB-JAR filetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:91182within a single WAR filetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:91282within a single application client jar + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:91382within an EARtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:91482within an EAR in the lib directory + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:91582The persistence.xml file may be used to designate more + than one persistence unit within the + same scope. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:91682All persistence classes defined at the level of the + Jakarta EE EAR must be accessible to other + J2EE components in the application—i.e. loaded by the + application classloader—such + that if the same entity class is referenced by two different + Jakarta EE components (which may be using + different persistence units), the referenced class is the same + identifical class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:91782In Java SE environments, the metadata mapping files, + jar files, and classes described in the + following sections can be used. + To insure portability of a Java SE application, it is necessary + to explicitly list the managed + persistence classes that are included in the persistence unit + using the class element of the + persistence.xml file. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:91882.1A persistence.xml file defines a persistence unit. The + persistence.xml file is located in the + META-INF directory of the root of the persistence unit. It may + be used to specify managed persistence + classes included in the persistence unit, object/relational + mapping information for those classes, + scripts + for use in schema generation and the bulk loading of data, and + other configuration information for the persistence unit and for + the entity manager(s) and entity + manager + factory for the persistence unit. This information may be + defined by containment or by reference, + as described below. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:91982.1The object/relational mapping information can take the + form of: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:92082.1annotations on the managed persistence classes + included in the persistence unit + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:919.182.1an orm.xml file contained in the META-INF + directory of the root of the persistence + unit + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:92182.1one or more XML files contained in the root of + the persistence unit + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:92282.1one or more XML files on the classpath and + referenced from the persistence.xml + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:92382.1a combination of abovetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:92482.1The managed persistence classes may either be: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:92582.1contained within the root of the persistence + archive + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:92682.1specified by reference—i.e., by naming the + classes, class archives, or XML mapping + files + (which in turn reference classes) that are accessible on + the application classpath + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:92782.1specified by some combination of these means. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:92882.1The persistence element consists of one or more + persistence-unit elements. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:92982.1The persistence-unit element consists of the name and + transaction-type attributes and the + following sub-elements: description, provider, jta-data-source, + non-jta-data-source, mapping-file, + jar-file, class, exclude-unlisted-classes, shared-cache-mode, + validation-mode, and properties. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:93082.1The name attribute is required; the other attributes + and elements are optional. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:93282.1.1The name attribute defines the name for the persistence + unit. This name is used to identify the + persistence unit referred to by the PersistenceContext and + PersistenceUnit annotations and + the programmatic API for creating EntityManagers and + EntityManager Factories. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:186182.1.1The name attribute defines the name for the persistence + unit. This name is used to identify the + persistence unit referred to by the PersistenceContext and + PersistenceUnit annotations and + the programmatic API for creating an entity manager factory. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:93682.1.2The transaction-type attribute is used to specify + whether the entity managers provided by the + entity + manager factory for the persistence unit must be JTA entity + managers or resource-local entity managers. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:93782.1.2The value of this element is JTA or RESOURCE_LOCAL. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:186282.1.2A transaction-type of JTA assumes that a JTA data + source will be provided—either as specified + by the jta-data-source element or provided by the container. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:186382.1.2in Jakarta EE environments, a transaction-type of + RESOURCE_LOCAL assumes that a non-JTA datasource + will be provided. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:93882.1.2In a Jakarta EE environment, if this element is not + specified, the default is JTA. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:186482.1.2In a Java SE environment, if this element is not + specified,the default is RESOURCE_LOCAL. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:93182.1.3The description element provides optional descriptive + information about the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:93382.1.4The provider element specifies the name of the + persistence provider's + jakarta.persistence.spi.PersistenceProvider class. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:93482.1.4The provider element is optional, but should be + specified if the application is dependent upon + a particular persistence provider being used. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:93982.1.5In Jakarta EE environments, the jta-data-source and + non-jta-data-source elements is used to + specify the JNDI name of the JTA and/or non-JTA data source to + be used by the persistence + provider. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:94082.1.5If neither is specified, the deployer must specify a + JTA data source at deployment or the default JTA + data source must be provided by the container and a JTA + EntityManagerFactory will be created to + correspond to it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:94182.1.5These elements name the data source in the local + environment; the format of these names and the + ability to specify the names are product specific. + true +
+
truetechnologyremovedfalse
PERSISTENCE:SPEC:94282.1.5In Java SE environments, these elements may be used or + the data source information may be + specified by other means - depending upon the requirements of + the provider. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:94382.1.6The following classes must be implicitly or explicitly + denoted as managed persistence classes + to be included within a persistence unit: + entity classes; embeddadble classes; mapped superclasses; + converter classes + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:94482.1.6The set of managed persistence classes that are managed + by a persistence unit is defined by + using one or more of the following: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:94882.1.6Annotated managed persistence classes contained + in the root of the persistence unit + (unless the exclude-unlisted-classes element is + specified) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:94582.1.6One or more object/relational mapping XML + files + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:94682.1.6One or more jar files that will be searched for + classes + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:94782.1.6An explicit list of classestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:96482.1.6The set of entities managed by the persistence unit is + the union of these sources, with the + mapping metadata annotations (or annotation defaults) for any + given class being overridden by the XML + mapping information file if there are both annotations as well + as XML mappings for that class + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:186582.1.6 + The minimum portable level of overriding is at the level of the + persistent field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:96682.1.6The classes and/or jars that are named as part of a + persistence unit must be on the classpath; + referencing them from the persistence.xml file does not cause + them to be placed on the classpath. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:96782.1.6All classes must be on the classpath to ensure that + entity managers from different persistence + units that map the same class will be accessing the same + identical class. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:96182.1.6.1All classes contained in the root of the persistence + unit are searched for annotated managed + persistence classes—classes with the Entity, Embeddable, + MappedSuperclass, or Converter annotation—and + any mapping + metadata annotations found on these classes will be processed, + or they will be mapped using the mapping + annotation defaults + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:96282.1.6.1If it is not intended that the annotated persistence + classes contained in the root of the + persistence unit be included in the persistence unit, the + exclude-unlisted-classes element must be + specified as true. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:96382.1.6.1The exclude-unlisted-classes element is not intended + for use in Java SE environments. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:94982.1.6.2A object/relational mapping XML file named orm.xml + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:95082.1.6.2may be specified in the META-INF directory in + the root of the persistence unit + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:95182.1.6.2or in the META-INF directory of any jar file + referenced by the persistence.xml + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:95282.1.6.2Alternatively, or in addition, one or more + mapping files may be referenced by the + mapping-file elements of the persistence-unit element + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:949.182.1.6.2These mapping files may be present anywhere on + the class path. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:95382.1.6.2If a mapping file is specified, the classes and mapping + information specified in the mapping + file will be used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:95482.1.6.2If multiple mapping files are specified (possibly + including an orm.xml file), the resulting + mappings are obtained by combining the mappings from all the + files + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:95582.1.6.2The result is undefined if multiple mapping files + (including any orm.xml file) referenced + within a single persistence unit contain overlapping mapping + information for any given class. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:95682.1.6.2The object/relational mapping information contained in + any mapping file referenced within the + persistence unit must be disjoint at the class-level from + object/relational mapping information + contained in any other such mapping file. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:95782.1.6.3One or more jar files may be specified using the + jar-file elements instead of, or in addition + to the mapping files specified in the mapping-files elements. + If specified, these JAR files will be searched for managed + persistence classes and any mapping + metadata annotations found on them will be processed or they + will be mapped using the mapping annotation + defaults defined by this specification. + Such JAR files are specified relative to the directory or jar + file that contains the root of the + persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:95882.1.6.4A list of named managed persistence entity classes, + embeddable classes, mapped + superclasses, and converter classes may be specified instead of, + or in addition to, the + JAR files and mapping files. Any mapping metadata annotations + found on these classes will be processed, + or they will be mapped using the mapping annotation defaults. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:95982.1.6.4The class element is used to list a managed persistence + class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:96082.1.6.4A list of all named managed persistence classes must be + specified in Java SE environments to + insure portability. Portable + JavaSE applications should not rely on the other mechanisms + described here to specify the managed + persistence classes of a + persistence unit. Persistence providers may require that the set + of entity classes and classes that + are to be managed + must be fully enumerated in each of the persistence.xml files in + Java SE environments. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:186682.1.7The shared-cache-mode element determines whether + second-level caching is in effect for the + persistence + unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:186782.1.8The validation-mode element determines whether + automatic lifecycle event time validation is in + effect. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:96882.1.9The properties element is used to specify both standard + and vendor-specific properties and + hints + that apply to the persistence unit and its entity manager + factory configuration. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:186882.1.9The following properties and hints defined by this + specification are intended for use in both + Jakarta EE and Java SE environments: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1868.182.1.9jakarta.persistence.lock.timeout — value in + milliseconds for pessimistic lock + timeout. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1868.282.1.9jakarta.persistence.query.timeout — value in + milliseconds for query timeout. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1868.382.1.9jakarta.persistence.validation.group.pre-persist— + groups that are targeted + for validation upon the pre-persist event (overrides the + default behavior). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1868.482.1.9jakarta.persistence.validation.group.pre-update— + groups that are targeted + for validation upon the pre-update event (overrides the + default behavior). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1868.582.1.9jakarta.persistence.validation.group.pre-remove— + groups that are targeted + for validation upon the pre-remove event (overrides the + default behavior). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:186982.1.9The following properties defined by this specification + are intended for use in Java SE + environments. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1869.182.1.9jakarta.persistence.jdbc.driver — fully qualified + name of the driver class + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1869.282.1.9jakarta.persistence.jdbc.url — driver-specific + URL + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1869.382.1.9jakarta.persistence.jdbc.user — username used by + database connection + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1869.482.1.9jakarta.persistence.jdbc.password — password for + database connection validation + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:245282.1.9Scripts for use in schema generation may be specified + using the + jakarta.persistence.schema-generation.create-script-source and + jakarta.persistence.schema-generation.drop-script-source + properties. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:245382.1.9A script to specify SQL for the bulk loading of data + may be specified by the jakarta.persistence.sql-load-script-source + property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:187082.1.9These properties are intended for use in both Jakarta EE + and Java SE environments: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1870.182.1.9 + jakarta.persistence.schema-generation.create-script-source + — name of a script packaged as part of the persistence + application or a string corresponding to a file URL + string that designates a script. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1870.282.1.9 + jakarta.persistence.schema-generation.drop-script-source — + name of a script packaged as part of the persistence + application or a string corresponding to a file URL + string that designates a script. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1870.382.1.9jakarta.persistence.sql-load-script-source —name + of a script packaged as part of the persistence unit or + a string corresponding to a file URL string that + designates a script. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:248182.1.9When scripts are packaged as part of the persistence + application, these properties must specify locations + relative to the root of the persistence unit. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:248282.1.9When scripts are provided externally (or when schema + generation + is to occur into script files, as described below), strings + corresponding to file URLs must be specified. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:248382.1.9In Jakarta EE environments, such file URL specifications + must be absolute paths (not relative). + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:248482.1.9In + Jakarta EE environments, all source and target file locations must + be accessible to the application server + deploying the persistence unit. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:248582.1.9schema generation actions may also be specified by + means of the following properties + used in the persistence.xml file. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2485.182.1.9The + jakarta.persistence.schema-generation.database.action + property + specifies the action to be taken by the persistence + provider with regard to the database artifacts. + The values for this property are none, create, + drop-and-create, drop. If this property + is not specified, it is assumed that schema generation + is not needed or will be initiated by + other means, and, by default, no schema generation + actions will be taken on the database. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2485.282.1.9The + jakarta.persistence.schema-generation.scripts.action + property specifies + which scripts are to be generated by the persistence + provider. The values for this property + are none, create, drop-and-create, drop. Scripts will + only be generated if script targets + are specified. If this property is not specified, it is + assumed that script generation is not + needed or will be initiated by other means, and, by + default, no scripts will be generated. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2485.382.1.9The + jakarta.persistence.schema-generation.create-source + property specifies + whether the creation of database artifacts is to occur + on the basis of the object/relational + mapping metadata, DDL script, or a combination of the + two. The values for this property are + metadata, script, metadata-then-script, + script-then-metadata. If this + property is not specified, and a script is specified by + the jakarta.persistence. + schema-generation.create-script-source property, the + script (only) + will be used for schema generation; otherwise if this + property is not specified, schema generation + will occur on the basis of the object/relational mapping + metadata (only). The metadata- + then-script and script-then-metadata values specify that + a combination + of metadata and script is to be used and the order in + which this use is to occur. If either of these + values is specified and the resulting database actions + are not disjoint, the results are undefined + and schema generation may fail. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2485.482.1.9The + jakarta.persistence.schema-generation.drop-source property + specifies + whether the dropping of database artifacts is to occur + on the basis of the object/relational mapping + metadata, DDL script, or a combination of the two. The + values for this property are metadata, script, + metadata-then-script, script-then-metadata. If this + property is not specified, and a script is specified by + the jakarta.persistence. + schema-generation.drop-script-source property, the + script (only) will + be used for the dropping of database artifacts; + otherwise if this property is not specified, the + dropping of database artifacts will occur on the basis + of the object/relational mapping metadata + (only). The metadata-then-script and + script-then-metadata values specify + that a combination of metadata and script is to be used + and the order in which this use is to + occur. If either of these values is specified and the + resulting database actions are not disjoint, + the results are undefined and the dropping of database + artifacts may fail. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2485.582.1.9 + jakarta.persistence.schema-generation.scripts.drop-target + If scripts are to be generated, the target locations for + the writing of these scripts must be specified. + These targets are specified as strings corresponding to + file URLs. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:96982.1.9If a persistence provider does not recognize properties + (other than those defined by this + specification), the provider must ignore it. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:96982.1.9If a persistence provider does not recognize properties + (other than those defined by this + specification), the provider must ignore it. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:97082.2An EJB-JAR, WAR, application client jar or EAR can + define a persistence unit. When referencing + a persistence unit using the unitName annotation element or + persistence-unit-name deployment descriptor + element, the visibility scope of the persistence unit is + determined by its point of definition: + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:97182.2A persistence unit that is defined at the level + of an EJB-JAR, WAR, or application + client jar + is + scoped to that EJB-JAR, WAR, or application jar + respectively and is visible to the + components + defined in that jar or war. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:97382.2A persistence unit is defined at the level of + the EAR is generally visible to all + components of + the application. However, if a persistence unit of the + same name is defined by an EJB-JAR, + WAR + or + application jar file within the EAR, the persistence + unit of that name defined at the EAR + level + will not be visible to the components defined by that + EJB-JAR, WAR, or application jar file + unless the + persistence unit reference uses the persistence unit + name # syntax to specify a path name to + disambiguate the reference. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:970.182.2When the # syntax is used, the path name is + relative + to the referencing application component jar file. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:970.282.2The # syntax may be used with both the unitName + annotation element or + persistence-unit-name deployment descriptor element to + reference a persistence unit defined + at + EAR level. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:97491Each persistence unit deployed into a Jakarta EE container + consists of a single persistence.xml + file, any number of mapping files and any number of classes. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:97591At deployment time the container is responsible for + scanning locations specified in 8.2 and + discovering the persistence.xml files and processing them. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:97691When the container finds a persistence.xml file, it + must processes the persistence unit + definitions that it contains. The container must validate the + persistence.xml file against the + persistence_2_1.xsd, persistence_2_0.xsd or persistence_1_0.xsd + schema in accordance with the version + specified by the persistence.xml file and report any validation + errors. Provider or data source + information not specified in the persistence.xml file must be + provided at deployment time or + defaulted by the container. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:97791The container may optionally add any container-specific + properties to be passed to the + provider when creating the entity manager factory for the + persistence unit. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:187191Once the container has read the persistence metadata, + it determines the jakarta.persistence. + spi.PersistenceProvider implementation class for each deployed + named persistence + unit. The container then creates an instance of the + PersistenceProvider implementation class for + each deployed named persistence unit and invokes the + createContainerEntityManagerFactory + method on that instance. + false +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:187291 + The container must implement the PersistenceUnitInfo interface + and pass the metadata—in the form of a + PersistenceUnitInfo instance—to the persistence provider as part + of this call. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:187391 + If a Bean Validation provider exists in the container + environment and the validation- mode NONE is not + specified, a ValidatorFactory instance must be made available by + the container. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:187491 + The container is responsible for passing this ValidatorFactory + instance via the map that is passed as an + argument to the createContainerEntityManagerFactory call. The + map key used must be the standard property + name jakarta.persistence.validation.factory. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:187591 + If CDI is enabled, a BeanManager instance must be made + available by the container. The container is responsible for + passing this BeanManager instance via the + map that is passed as an argument to the + createContainerEntityManagerFactory call. The map key used must + be the standard property name jakarta.persistence.bean.manager. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:187691 + The EntityManagerFactory instance obtained as a result will be + used by the container to create + container-managed entity managers. Only one EntityManagerFactory + is permitted to be created for each + deployed persistence unit configuration. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:187791Any number of EntityManager instances may be created + from a given factory. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:187891In a Jakarta EE environment, the classes of the + persistence unit should not be loaded by the + application class loader or any of its parent class loaders + until after the entity manager factory for + the persistence unit has been created. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:97891When a persistence unit is redeployed, the container + should call the close method on the + previous + EntityManagerFactory instance and call the + createContainerEntityManagerFactory + method again, with the required PersistenceUnitInfo metadata, to + achieve the redeployment. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:106091.4Columns in the overrides apply to the current primary + table for the class that contains the + annotation. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:106191.10The AttributeOverride annotation may be used on an + entity that extends a mapped superclass or + on an embeddable class. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:99292BootStrapping in Java SE Environmentstrue +
+
truetechnologyremovedtrue
PERSISTENCE:SPEC:187992 + In Java SE environments, the + Persistence.createEntityManagerFactory method is used by the + application to + create an entity manager factory + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:188092 + The provider supplies the provider configuration file by + creating a text file named + jakarta.persistence.spi.PersistenceProvider and placing it in the + META-INF/services directory of one of + its JAR files. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:188192 + The contents of the file should be the name of the provider + implementation class of the + jakarta.persistence.spi.PersistenceProvider interface + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:188292 + The Persistence bootstrap class must locate all of the + persistence providers using the + PersistenceProviderResolver mechanism and call + createEntityManagerFactory on them in turn until an + appropriate backing provider returns an EntityManagerFactory + instance. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:188392 + A provider may deem itself as appropriate for the persistence + unit if any of the following are true: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1883.192 + Its implementation class has been specified in the + provider element for that persistence + unit in + the persistence.xml file and has not been overridden by + a different + jakarta.persistence.provider + property value included in the Map passed to the + createEntity ManagerFactory method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1883.292 + The jakarta.persistence.provider property was included in + the Map passed to + createEntityManagerFactory and the value of the property + is the provider’s implementation + class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1883.392 + No provider was specified for the persistence unit in + either the persistence.xml or the + property + map. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:188492 + If a provider does not qualify as the provider for the named + persistence unit it must return null when + createEntityManagerFactory is invoked on it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:247492.1In Java SE environments, the Persistence.generateSchema + method may be used by the application to cause schema generation + to occur as a separate phase from entity manager factory + creation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:247592.1In this case, the Persistence bootstrap class must + locate all of the persistence providers using the + PersistenceProviderResolver mechanism and call generateSchema on + them in turn until an appropriate backing provider returns true. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:247692.1A provider may deem + itself as appropriate for the persistence unit if any of the + following are true: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:247792.1Its implementation class has been specified in + the provider element for that persistence unit in the + persistence.xml file and has not been overridden by a + different jakarta.persistence. + provider property value included in the Map passed to + the generateSchema method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:247892.1The jakarta.persistence.provider property was + included in the Map passed to generateSchema and the + value of the property is the provider's implementation + class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:247992.1No provider was specified for the persistence + unit in either the persistence.xml or the property map. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:248092.1If a provider does not qualify as the provider for the + named persistence unit, it must return false when generateSchema + is invoked on it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:188593 + The PersistenceProviderResolver instance is responsible for + returning the list of providers available in + the environment. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:188693 + The PersistenceProviderResolverHolder class holds the + PersistenceProviderResolver instance that is in + use. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:188793 + The container is allowed to implement and set a specific + PersistenceProviderResolver provided + that it respects the PersistenceProviderResolver contract. The + PersistenceProviderResolver + instance to be used is set by the container using the + PersistenceProviderResolverHolder.setPersistenceProviderResolver + method. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:188893 + If no PersistenceProviderResolver is set, the + PersistenceProviderResolver- + Holder must return a PersistenceProviderResolver that returns + the providers whose persistence + provider jars have been installed or made available as service + providers or extensions. This default + PersistenceProviderResolver instance does not guarantee the + order in which persistence providers + are returned. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:188993 + the following methods must use the + PersistenceProviderResolver instance returned by the + PersistenceProviderResolverHolder. + getPersistenceProviderResolver method to determine the list of + available + providers: Persistence.createEntityManagerFactory(String), + Persistence.createEntityManagerFactory(String, Map), + PersistenceUtil.isLoaded(Object), + PersistenceUtil.isLoaded(Object, String) + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:189093 + These methods must not cache the list of providers and must not + cache the PersistenceProviderResolver + instance. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:189193 + Note that only a single PersistenceProviderResolver instance can + be defined in a given classloader + hierarchy at a given time. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:189294In Jakarta EE environments + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1892.194 + the container may call the PersistenceProvider + generateSchema method separately from and/or + prior to the creation of the entity manager factory for + the persistence unit, + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1892.294 + or the container may pass additional information to the + createContainerEntityManagerFactory + call to cause schema generation to happen as part of the + entity manager factory creation and + application initialization process. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1892.394The information passed to these methods + controls whether the generation occurs + directly + in the target database, whether DDL scripts for schema + generation are created, or both. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:189394In Java SE environments + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1893.194the application may call the Persistence + generateSchema method separately from + and/or + prior to the creation of the entity manager factory + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1893.294or may pass information to the + createEntityManagerFactory method to cause schema + generation + to occur as part of the entity manager factory creation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:189494The application may provide DDL scripts to be used for + schema generation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1894.194The application developer may package these + scripts as part of the persistence unit + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1894.294or may specify strings corresponding to file + URLs for the location of such scripts. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:189594In Jakarta EE environments, such scripts may be executed + by the container, or the + container may direct the persistence provider to execute the + scripts + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:189694In Java SE environments, the execution of the scripts + is the responsibility of the persistence + provider. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:189794In the absence of the specification of + scripts, schema generation, if requested, will be determined by + the object/relational metadata of the + persistence + unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:189894The following standard properties are defined for + configuring the schema generation process. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.194In Jakarta EE environments, any strings + corresponding to file URLs for script sources or targets + must specify absolute paths (not relative). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.294In Jakarta EE environments, all source and target + file locations must be accessible to the application + server deploying the persistence unit + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.394The + jakarta.persistence.schema-generation.database.action + property specifies the action to be taken by the + persistence provider with regard to the database + artifacts. The + values for this property are "none", "create", + "drop-and-create", "drop". If the jakarta.persistence. + schema-generation.database.action property is not + specified, no schema generation actions must be taken on + the database. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.494The + jakarta.persistence.schema-generation.scripts.action + property specifies which scripts are to be generated by + the persistence provider. The values for this property + are "none", "create", "drop-and-create", "drop". Scripts + will only be generated if script targets are specified. + If this property is not specified, no scripts will be + generated. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.594The + jakarta.persistence.schema-generation.create-source + property specifies whether the creation of database + artifacts is to occur on the basis of the + object/relational mapping metadata, DDL script, or a + combination of the two. The values for this property are + "metadata", "script", "metadata-then-script", + "script-then-metadata". If this property is not + specified, and a script is specified by the + jakarta.persistence. + schema-generation.create-script-source property, the + script (only) will be used for schema generation; + otherwise if this property is not specified, schema + generation will occur on the basis of the + object/relational mapping metadata (only). The + "metadata-then-script" and "script-then-metadata" values + specify that a combination of metadata and script is to + be used and the order in which this use is to occur. If + either of these values is specified and the resulting + database actions are not disjoint, the results are + undefined and schema generation may fail. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.694The + jakarta.persistence.schema-generation.drop-source property + specifies whether the dropping of database artifacts is + to occur on the basis of the object/relational mapping + metadata, DDL script, or a combination of the two. The + values for this property are "metadata", "script", + "metadata-then-script", "script-then-metadata". If this + property is not specified, and a script is specified by + the jakarta.persistence. + schema-generation.drop-script-source property, the + script (only) will be used for the dropping of database + artifacts; otherwise if this property is not specified, + the dropping of database artifacts will occur on the + basis of the object/relational mapping metadata (only). + The "metadata-then-script" and "script-then-metadata" + values specify that a combination of metadata and script + is to be used and the order in which this use is to + occur. If either of these values is specified and the + resulting database actions are not disjoint, the results + are undefined and the dropping of database artifacts may + fail. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.794 + jakarta.persistence.schema-generation.create-database-schemas + In Jakarta EE environments, it is anticipated that the Java + EE platform provider may wish to control the creation of + database schemas rather than delegate this task to the + persistence provider. The + jakarta.persistence.schema-generation.create-database-schemas + property specifies whether the persistence provider is + to create the database schema(s) in addition to creating + database objects such as tables, sequences, constraints, + etc. The value of this boolean property should be set to + true if the persistence provider is to create schemas in + the database or to generate DDL that contains “CREATE + SCHEMA” commands. If this property is not supplied, the + provider should not attempt to create database schemas. + This property may also be specified in Java SE + environments. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.894The + jakarta.persistence.schema-generation.scripts.create-target + property specifies a java.IO.Writer + configured for use by the persistence provider for + output of the DDL script or a string specifying + the file + URL for the DDL script. This property should only be + specified if scripts are to be + generated. If scripts are to be generated, the target + locations for the writing of these scripts must be + specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.994The + jakarta.persistence.schema-generation.drop-target + property specifies a java.IO.Writer + configured for use by the persistence provider for + output of the DDL script or a string specifying + the file + URL for the DDL script. This property should only be + specified if scripts are to be + generated. If scripts are to be generated, the target + locations for the writing of these scripts must be + specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.1094jakarta.persistence.database-product-name, + jakarta.persistence.database-major-version, + jakarta.persistence.database-minor-version + - If scripts are to be generated by the + persistence provider and a connection to the + target database + is not supplied, the + jakarta.persistence.database-product-name property must + be specified. The value of this property should be the + value returned for the target + database by + the JDBC DatabaseMetaData method getDatabaseProductName. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.1194jakarta.persistence.database-product-name, + jakarta.persistence.database-major-version, + jakarta.persistence.database-minor-version - If sufficient + database version information is not included in the + result of this method, the + jakarta.persistence. + database-major-version and jakarta.persistence.database- + minor-version properties should be specified as needed. + These should contain the + values returned by the JDBC getDatabaseMajorVersion and + getDatabaseMinor- + Version methods respectively. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.1294The + jakarta.persistence.schema-generation.create-script-source + and jakarta.persistence.schema-generation.drop-script-source properties are used + for script + execution. In Jakarta EE + container environments, it is generally expected that + the container will be responsible for + executing + DDL scripts, although the container is permitted to + delegate this task to the persistence + provider. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.1394 + jakarta.persistence.schema-generation.create-script-source, + jakarta.persistence.schema-generation.drop-script-source + If DDL scripts are to be used in Java SE + environments + or if the Jakarta EE container + delegates the execution of scripts to the persistence + provider, these properties must be + specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.1494The + jakarta.persistence.schema-generation.create-script-source + property specifies a + java.IO.Reader configured for reading of the DDL script + or a + string designating a file URL for the DDL + script. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.1594The + jakarta.persistence.schema-generation.drop-script-source + property specifies a java.IO.Reader + configured for reading of the DDL script or a string + designating a file URL for the DDL script. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1898.1694jakarta.persistence.schema-generation.connection + The jakarta.persistence.schema-generation.connection + property specifies + the JDBC connection to be used for schema generation. + This is intended for use in Jakarta EE + environments, where the platform provider may want to + control the database privileges that are + available to the persistence provider. This connection + is provided by the container, and should + be closed by the container when the schema generation + request or entity manager factory creation + completes. The connection provided must have credentials + sufficient for the persistence + provider to carry out the requested actions. If this + property is not specified, the persistence + provider should use the DataSource that has otherwise + been provided. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:189994.1jakarta.persistence.sql-load-script-source + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1899.194If a + load script is to be used in Java SE environments or if + the Jakarta EE container delegates the + execution + of the load script to the persistence provider, this + property must be specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1899.294The jakarta.persistence.sql-load-script-source + property specifies a java.IO.Reader + configured for reading of the SQL load script for + database initialization or a string + designating a file URL for the script. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:97995In Jakarta EE environments, the persistence provider must + process the metadata that is passed to + it at the time createContainerEntityManagerFactory method is + called + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:98095 + and create an instance of EntityManagerFactory using the + PersistenceUnitInfo metadata for the factory. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:190095The factory is then returned to the container. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:190195In Java SE environments, the persistence provider must + validate the persistence.xml file + against + the persistence schema that corresponds to the version specified + by the persistence.xml file and report + any validation + errors. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:190295 + When the entity manager factory for a persistence unit is + created, it is the responsibility of the + persistence provider to initialize the state of the metamodel + classes of the persistence unit. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:190395 + When the persistence provider obtains an object/relational + mapping file, it processes the definitions + that + it contains. The persistence provider must validate any + object/relational mapping files against the + object/relational mapping schema version specified by the + object/relational mapping file and report any + validation errors. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:190495 + The object relational mapping file must specify the + object/relational mapping schema + that it is written against by indicating the version element. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:190595 + In Java SE environments, the application can pass the + ValidatorFactory instance via the map that + is passed as an argument to the + Persistence.createEntityManagerFactory call. The map + key used must be the standard property name + jakarta.persistence.validation.factory. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:190695 + If no ValidatorFactory instance is provided by the application, + and if a Bean Validation provider is + present in the classpath, the persistence provider must + instantiate the ValidatorFactory using the + default bootstrapping approach as defined by the Bean Validation + specification, namely Validation. + buildDefaultValidatorFactory(). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:98195.1The interface jakarta.persistence.spi.PersistenceProvider + is implemented by the persistence + provider. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:98295.1It is invoked by the container in Jakarta EE + environments. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:98395.1and by the jakarta.persistence.Persistence class + in Java SE environments. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:98495.1The jakarta.persistence.spi.PersistenceProvider + implementation is not intended to be + used + by the application. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:98595.1The PersistenceProvider implementation class must have + a public no-arg constructor. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:98595.2 + The ProviderUtil interface is invoked by the PersistenceUtil + implementation to determine the load status + of an entity or entity attribute. It is not intended to be + invoked by the application. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:98695.3Persistence unit properties and hints may be passed to + persistence providers in the Map + parameter of the createEntityManagerFactory(String, Map) method. + These properties correspond to the + elements in the persistence.xml file. When any of these + properties are specified in the Map + parameter, their values override the values of the corresponding + elements in the persistence.xml + file for the named persistence unit. They also override any + defaults that the provider might have + applied + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:98795.3The properties listed below are defined by this + specification. + true +
+
falsetechnologyremovedfalse
PERSISTENCE:SPEC:987.195.3jakarta.persistence.lock.timeout — integer value + in milliseconds for pessimistic + lock timeout or string corresponding to integer value. + This is a hint only. + true +
+
falsetechnologyremovedfalse
PERSISTENCE:SPEC:987.295.3jakarta.persistence.query.timeout — integer value + in milliseconds for query timeout + or string corresponding to integer value. This is a hint + only. + true +
+
falsetechnologyremovedfalse
PERSISTENCE:SPEC:98895.3jakarta.persistence.provider — string + corresponding to the provider element in + the persistence.xml. + true +
+
falsetechnologyremovedfalse
PERSISTENCE:SPEC:98995.3jakarta.persistence.transactionType — string + corresponding to the transaction-type + attribute in the persistence.xml. + true +
+
falsetechnologyremovedfalse
PERSISTENCE:SPEC:99095.3jakarta.persistence.jtaDataSource — string + corresponding to the jta-data-source + element + in the persistence.xml. + true +
+
falsetechnologyremovedfalse
PERSISTENCE:SPEC:987.395.3jakarta.persistence.sharedCache.mode — string + corresponding to the + shared-cache-mode element in the persistence.xml. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:987.495.3jakarta.persistence.validation.mode — string + corresponding to the validation-mode + element + in the persistence.xml. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:987.595.3jakarta.persistence.validation.group.pre-persist + — string corresponding to the + jakarta.persistence.validation.group.pre-persist property + in the persistence.xml. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:987.695.3jakarta.persistence.validation.group.pre-update — + string corresponding to the + jakarta.persistence.validation.group.pre-update property + in the persistence.xml. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:987.795.3jakarta.persistence.validation.group.pre-remove — + string corresponding to the + jakarta.persistence.validation.group.pre-remove property + in the persistence.xml. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:190795.3Any number of vendor-specific properties may also be + included in the map. Properties that are + not recognized by a vendor must be ignored. + true +
+
falsetechnologyremovedfalse
PERSISTENCE:SPEC:190895.3Entries that make use of the namespace + jakarta.persistence and its subnamespaces must not be used + for vendor-specific information. The namespace jakarta.persistence + is reserved for use by this + specification. + true +
+
falsetechnologyremovedfalse
PERSISTENCE:SPEC:190996 + The enum jakarta.persistence.spi.PersistenceUnitTransactionType + defines whether the entity managers + created by the factory will be JTA or resource-local entity + managers. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:191096 + The enum jakarta.persistence.SharedCacheMode defines the use of + caching. The persistence. xml + shared-cache-mode element has no default value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:191196 + The getSharedCacheMode method must return UNSPECIFIED if the + shared-cache-mode element has not been + specified for the persistence unit. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:191296The enum jakarta.persistence.ValidationMode defines the + validation mode. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:191396.1The jakarta.persistence.spi.ClassTransformer interface is + implemented by a persistence provider + that wants to transform entities and managed classes at class + load time or at class redefinition time. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:191497 + The Persistence class is used to obtain an EntityManagerFactory + instance in Java SE environments. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:191597 + It may also be used for schema generation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:191697 + The Persistence class is available in a Jakarta EE container + environment as well; however, support for the + Java SE bootstrapping APIs is not required in container + environments. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:191797 + The Persistence class is used to obtain a PersistenceUtil + instance in both Jakarta EE and Java SE + environments. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:191897 + The properties argument passed to the createEntityManagerFactory + method is used to specify both standard + and vendor-specific properties and hints intended for use in + creating the entity manager factory. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:191997 + The following properties correspond to the elements and + properties in the persistence.xml file. When any + of + these properties are specified in the Map parameter passed to + the createEntityManagerFactory + method, their values override the values of the corresponding + elements and properties in the + persistence. + xml file for the named persistence unit. They also override any + defaults that the persistence + provider might have applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.197 + jakarta.persistence.lock.timeout — integer value in + milliseconds for pessimistic lock timeout + or + string corresponding to integer value. This corresponds + to the property of the + same name in the persistence.xml, and is a hint only. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1919.297 + jakarta.persistence.query.timeout — integer value in + milliseconds for query timeout or string + corresponding to integer value. This corresponds to the + property of the same name in the persistence.xml, and is + a hint only. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1919.397 + jakarta.persistence.provider — string corresponding to the + provider element in the + persistence.xml + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.497 + jakarta.persistence.transactionType — string corresponding + to the transaction type attribute + in + the persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.597 + jakarta.persistence.jtaDataSource — string corresponding + to the jta-data-source element in the + persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.697 + jakarta.persistence.nonJtaDataSource — string + corresponding to the non-jta-data-source element + in + the persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.797 + jakarta.persistence.sharedCache.mode — string + corresponding to the shared-cache-mode element + in + the persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.897 + jakarta.persistence.validation.mode — string corresponding + to the validation mode element in + the + persistence.xml. The value is "auto", "callback", or + "none". + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.997 + jakarta.persistence.validation.group.pre-persist — string + corresponding to the + jakarta.persistence.validation.group.pre-persist property + in the persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.1097 + jakarta.persistence.validation.group.pre-update — string + corresponding to the + jakarta.persistence.validation.group.pre-update property + in the persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.1197 + jakarta.persistence.validation.group.pre-remove — string + corresponding to the + jakarta.persistence.validation.group.pre-remove property + in the persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.1297 + jakarta.persistence.schema-generation.create-script-source + - string + corresponding to the + jakarta.persistence.ddl-create-script-source property in + the persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.1397 + jakarta.persistence.schema-generation.drop-script-source + —string corresponding to the + jakarta.persistence.ddl-drop-script-source property in the + persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.1497jakarta.persistence.sql-load-script-source + —string corresponding to the + jakarta.persistence.sql-load-script-source property in the + persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.2197 + jakarta.persistence.schema-generation.database.action — + string corresponding to the + jakarta.persistence.schema-generation.database.action + property in the persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.2297 + jakarta.persistence.schema-generation.scripts.action — + string corresponding to the + jakarta.persistence.schema-generation.scripts.action + property in the persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.2397 + jakarta.persistence.schema-generation.create-source — + string corresponding to the + jakarta.persistence.schema-generation.create-source + property in the persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.2497jakarta.persistence.schema-generation.drop-source + — string corresponding to the + jakarta.persistence.schema-generation.drop-source property + in the persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.2597 + jakarta.persistence.schema-generation.scripts.create-target + —string corresponding to the + jakarta.persistence.schema-generation.scripts.create-target + property in the persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.2197 + jakarta.persistence.schema-generation.scripts.drop-target + — string corresponding to the + jakarta.persistence.schema-generation.scripts.drop-target + property in the persistence.xml. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.1597 + jakarta.persistence.jdbc.driver — value is the fully + qualified name of the driver class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.1697 + jakarta.persistence.jdbc.url — string corresponding to the + driver-specific URL. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.1797 + jakarta.persistence.jdbc.user — value is the username used + by database connection. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.1897 + jakarta.persistence.jdbc.password — value is the password + for database connection validation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.1997 + jakarta.persistence.dataSource — value is instance of + javax.sql.DataSource to be used for the + specified persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1919.2097 + jakarta.persistence.validation.factory — value is instance + of + jakarta.validation.ValidatorFactory + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:192097 + Any number of vendor-specific properties may also be included in + the map. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:192197 + If a persistence provider does not recognize a property (other + than a property defined by this + specification), the provider must ignore it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:192297 + Vendors should use vendor namespaces for properties (e.g., + com.acme.persistence.logging). + Entries that make use of the namespace jakarta.persistence and its + subnamespaces must not be + used for vendor-specific information. The namespace + jakarta.persistence is reserved for use by + this specification. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:192398.1 + The implementation of the PersistenceUtil.isLoaded(Object) + method must determine the + list of persistence providers available in the runtime + environment and call the ProviderUtil. + isLoaded(Object) method on each of them until either: + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1923.198.1 + one provider returns LoadState.LOADED. In this case + PersistenceUtil.isLoaded returns true. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1923.298.1 + one provider returns LoadState.NOT_LOADED. In this case + PersistenceUtil.isLoaded returns + false. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1923.398.1 + all providers return LoadState.UNKNOWN. In this case + PersistenceUtil.isLoaded returns true. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1923.498.1 + If the PersistenceUtil implementation determines that + only a single provider is available in + the + environment, it is permitted to use provider-specific + methods to determine the result of + isLoaded(Object) as long as the semantics defined in + section 3.2.9 are observed. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:192498.1 + The implementation of the + PersistenceUtil.isLoaded(Object,String) method must + determine the list of persistence providers available in the + environment and call the ProviderUtil. + isLoadedWithoutReference method on each of them until either: + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1924.198.1 + one provider returns LoadState.LOADED. In this case + PersistenceUtil.isLoaded returns true. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1924.298.1 + one provider returns LoadState.NOT_LOADED. In this case + PersistenceUtil.isLoaded returns + false. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1924.398.1 + all providers return LoadState.UNKNOWN. In this case, + the PersistenceUtil.isLoaded method + then + calls ProviderUtil.isLoadedWithReference on each of the + providers until: + • one provider returns LoadState.LOADED. In this case + PersistenceUtil.isLoaded return true. + • one provider returns LoadState.NOT_LOADED. In this + case, PersistenceUtil.isLoaded returns + false. + • all providers return LoadState.UNKNOWN. In this case, + PersistenceUtil.isLoaded returns + true. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1924.498.1 + If the PersistenceUtil implementation determines that + only a single provider is available in + the + environment, it is permitted to use provider-specific + methods to determine the result of + isLoaded(Object, String) as long as the semantics + defined in section 3.2.9 are observed. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:993101Entity Annotationtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:994101The name annotation element specifies the + entity name. If the name element is not + specified, the entity name defaults to the unqualified + name of the entity class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:995101This name is used to refer to the entity in + queries. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:997102Callback Annotationstrue +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:998102The EntityListeners annotation specifies the callback + listener classes to be used for + an entity or mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1925102 + The ExcludeSuperclassListeners annotation specifies that the + invocation of superclass listeners + is to be excluded for the entity class (or mapped superclass) + and its subclasses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1926102 + The ExcludeDefaultListeners annotation specifies that the + invocation of default listeners is to + be excluded for the entity class (or mapped superclass) and its + subclasses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:999102The following annotations are used to specify callback + methods for the corresponding + lifecycle events. These annotations may be applied to methods of + an entity class, of a mapped + superclass, or of an entity listener class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:999.1102PrePersist + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:999.2102PostPersist + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:999.3102PreRemove + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:999.4102PostRemove, + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:999.5102PreUpdate + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:999.6102PostUpdate + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:999.7102PostLoad + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2454103.1The NamedEntityGraph annotation is used to define a + named entity graph. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2455103.1The entity graph may be retrieved by name using the + EntityManagerFactory interface. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2456103.1The entity graph may be used to specify the path and + boundaries for find operations or queries. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2457103.1The NamedEntityGraph annotation must be applied to the + entity class that forms the root of the corresponding graph of + entities. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2458103.1The name element is used to refer to the entity graph. + It defaults to the entity name of the root entity to which the + annotation is applied. Entity graph names must be unique within + the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2459103.1The attributeNodes element lists attributes of the + annotated entity class that are to be included in the entity + graph. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2460103.1The includeAllAttributes element specifies that all + attributes of the annotated entity class are + to be included in the entity graph. An attributeNode element may + still be used in conjunction with + this element to specify a subgraph for the attribute. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2461103.1The subgraphs element specifies a list of subgraphs, + further specifying attributes that are managed + types. These subgraphs are referenced by name from + NamedAttributeNode definitions. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2462103.1The subclassSubgraphs element specifies a list of + subgraphs that add additional attributes for subclasses of the + root entity to which the annotation is applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2463103.1The NamedEntityGraphs annotation is used to specify + multiple named entity graphs for the entity to which it is + applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2464103.2The NamedAttributeNode annotation is used to specify an + attribute node of within an entity graph + or subgraph. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2465103.2The value element specifies the name of the + corresponding attribute. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2466103.2The subgraph element is used to refer to a + NamedSubgraph specification that further characterizes + an attribute node corresponding to a managed type (entity or + embeddable). The value of the subgraph + element must correspond to the name used for the subgraph in the + NamedSubgraph element. + If the referenced attribute is an entity which has entity + subclasses, there may be more than one Named- + Subgraph element with this name, and the subgraph element is + considered to refer to all of these. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2467103.2The keySubgraph element is used to refer to a + NamedSubgraph specification that further characterizes + an attribute node corresponding to the key of a Map-valued + attribute. The value of the the key- + Subgraph element must correspond to the name used for the + subgraph in the NamedSubgraph + element. If the referenced attribute is an entity which has + entity subclasses, there may be more than one + NamedSubgraph element with this name, and the keySubgraph + element is considered to refer to + all of these. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2468103.3The NamedSubgraph annotation is used to further define + an attribute node. It is referenced by its + name from the subgraph or keySubgraph element of a + NamedAttributeNode element. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2469103.3The name element is the name used to reference the + subgraph from a NamedAttributeNode definition. + In the case of entity inheritance, multiple subgraph elements + have the same name. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2470103.3The type element must be specified when the subgraph + corresponds to a subclass of the entity type + corresponding to the referencing attribute node. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2471103.3The attributeNodes element lists attributes of the + class that must be included. If the subgraph corresponds + to a subclass of the class referenced by the corresponding + attribute node, only subclass-specific + attributes are listed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1004104.1The NamedQuery annotation is used to specify a named + query in the Java Persistent query + language. The name element is used to refer to the query when + using the EntityManager methods that + create query objects. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1238104.1The query element must specify a query string in the + Jakarta Persistence query language. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1927104.1 + The lockMode element specifies a lock mode for the results + returned by the query. If a lock mode + other than NONE is specified, the query must be executed within + a transaction and the persistence + context + joined to the transaction. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1928104.1 + The hints elements may be used to specify query properties and + hints. Properties defined by this + specification + must be observed by the provider; hints defined by this + specification should be observed by the + provider when possible. Vendor-specific hints that are not + recognized by a provider must be ignored. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1929104.1 + The NamedQuery and NamedQueries annotations can be applied to an + entity or mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1005104.2The NamedNativeQuery annotation is used to specify a + native SQL named query. The name element + is used to refer to the query when using the EntityManager + methods that create query objects. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1930104.2The query element specifies the native query. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1006104.2The resultClass element refers to the class of the + result. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1007104.2the value of the resultSetMapping element is the name + of a SQLResultSetMapping as defined in + the metadata. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1931104.2 + The hints elements may be used to specify query properties and + hints. Hints defined by this + specification + should be observed by the provider when possible. + Vendor-specific hints that are not recognized by + a provider must be ignored. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1932104.2The NamedNativeQuery and NamedNativeQueries annotations + can be applied to an entity or + mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1933104.3 + The NamedStoredProcedureQuery annotation is used to specify a + stored procedure, its parameters, and its + result type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1934104.3 + The name element is the name that is passed as an argument to + the createNamedStoredProcedureQuery method + to create an executable StoredProcedureQuery object. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1935104.3 + The procedureName element is the name of the stored procedure in + the database. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1936104.3 + The parameters of the stored procedure are specified by the + parameters element. All parameters must be + specified in the order in which they occur in the parameter list + of the stored procedure. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1937104.3 + The resultClasses element refers to the class (or classes) that + are used to map the results. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1938104.3 + The resultSetMappings element names one or more result set + mappings, as defined by the + SqlResultSetMapping annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1939104.3 + If there are multiple result sets, it is assumed that they will + be mapped using the same mechanism + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1940104.3 + The order of the specification of these mappings must be the + same as the order in which the result sets + will be returned by the stored procedure invocation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1941104.3 + If the stored procedure returns one or more result sets and no + resultClasses or resultSetMappings + element is specified, any result set will be returned as a list + of type Object[]. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1942104.3 + The combining of different strategies for the mapping of stored + procedure result sets is undefined. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1943104.3 + The hints element may be used to specify query properties and + hints. Properties defined by this + specification + must be observed by the provider. Vendor-specific hints that are + not recognized by a provider + must be ignored. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1944104.3 + The NamedStoredProcedureQuery and NamedStoredProcedureQueries + annotations can be applied to an entity or + mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1945104.3 + All parameters of a named stored procedure query must be + specified using the StoredProcedureParameter + annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1946104.3 + The name element refers to the name of the parameter as defined + by the stored procedure in the database. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1947104.3 + If a parameter name is not specified, it is assumed that the + stored procedure uses positional + parameters. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1948104.3 + The mode element specifies whether the parameter is an IN, + INOUT, OUT, or REF_CURSOR parameter. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1949104.3REF_CURSOR parameters are used by some databases to + return result sets from stored procedures. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1950104.3The type element refers to the JDBC type for the + parameter. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1008104.4Annotations for SQL Query Result Set Mappings + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1009104.4The SqlResultSetMapping annotation is used to specify + the mapping of the result of a + native SQL query or stored procedure. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1010104.4The name element is the name given to the result set + mapping and is used to refer to it in + the methods of the Query and StoredProcedureQuery APIs. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1011104.4The entities, classes, and columns elements are used to + specify the mapping to + entities, constructors, and to scalar values respectively. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1012104.4The entityClass element specified the class of the + result. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1014104.4The fields element is used to map the columns specified + in the SELECT list of the query + to the properies or fields of the entity class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1013104.4The discriminatorColumn element is used to specify the + column name (or alias) of the + column in the SELECT list that is used to determine the type of + the entity instance. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1015104.4The name element is the name of the persistent field or + property of the class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1016104.4The column element specifies the name of the + corresponding column in the SELECT list + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1951104.4The targetClass element specifies the class whose + constructor is to be invoked. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1952104.4The columns element specifies the mapping of columns in + the SELECT list to the arguments of the + intended constructor. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1953104.4The name element specifies the name of the column in + the SELECT list. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1954104.4The type element specifies the Java type to which the + column type is to be mapped. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1955104.4If the type element is not specified, the default JDBC + type mapping for the column will be + used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1018105References to EntityManager and EntityManagerFactory + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1019105.1The PersistenceContext annotation is used to + express a dependency on a + container-managed + entity manager and its associated persistence context. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1020105.1The name element refers to the name by which + the entity manager is to be accessed + in + the environment referencing context, and is not needed + when dependency injection is used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1021105.1The optional unitName element refers to the + name of the persistence unit. If the + unitName element is specified, the persistence unit for + the entity manager that is + accessible in + JNDI must have the same name. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1022105.1The type element specifies whether a + transaction-scoped or extended persistence + context + is to be used. If the type element is not specified, a + transaction-scoped persistence + context is + used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1018.1105.1The synchronizationType element specifies + whether the persistence context is always + automatically synchronized with the current transaction + or whether the persistence context + must + be explicitly joined to the current transaction by means + of the EntityManager + joinTransaction + method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1018.2105.1The optional properties element may be used to + specify properties for the container + or + persistence provider. Properties defined by this + specification must be observed by the + provider. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1018.3105.1The optional properties element may be used to + specify properties for the container + or + persistence provider. Properties defined by this + specification must be observed by the + provider. + Vendor specific + properties may be included in the set of properties, and + are passed to the persistence + provider + by the + container when the entity manager is created. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1018.4105.1Properties that are not recognized by a vendor + must be ignored. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1018.5105.1The PersistenceContexts annotation declares one + or more PersistenceContext annotations. + It is used to express a dependency on multiple + persistence contexts. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1023105.2The PersistenceUnit annotation is used to express a + dependency on an entity manager + factory and its associated persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1024105.2The name element refers to the name by which the entity + manager factory is to be + accessed in the environment referencing context, and is not + needed when dependency injection + is + used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1025105.2The optional unitName element refers to the name of the + persistence unit as defined + in + the persistence.xml file. If the unitName element is specified, + the persistence unit for the + entity manager factory that is accessible in JNDI must have the + same name. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2420105.2The PersistenceUnits annotation declares one or more + PersistenceUnit annotations. It is + used to express a dependency on multiple persistence units + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1956106A converter class must betrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1956.1106annotated with the Converter annotation + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1956.2106defined in the XML descriptor as a converter + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1957106 + If the autoApply element is specified as true, the persistence + provider must automatically apply the + converter to all mapped attributes of the specified target type + for all entities in the persistence unit + except for attributes for which conversion is overridden by + means of the Convert annotation (or XML + equivalent). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1958106In determining whether a converter is applicable to an + attribute, the provider must treat + primitive types and wrapper types as equivalent. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1959106Note that Id attributes, version attributes, + relationship attributes, and attributes explicitly + annotated as Enumerated or Temporal (or designated as such via + XML) will not be converted. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1960106 + If autoApply is false, only those attributes of the target type + for which the Convert annotation (or + corresponding XML element) has been specified will be converted. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1961106 + Note that if autoApply is true, the Convert annotation may be + used to override or disable auto-apply + conversion on a per-attribute basis. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1962106 + If there is more than one converter defined for the same target + ype, the Convert annotation should be + used to explicitly specify which converter to use. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1026110The implementation of this + specification must assume this application dependency upon the + object/relational mapping metadata + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1027110It is permitted, but not required, that DDL generation + be supported by an implementation of + this specification. Portable applications should not rely upon + the use of DDL generation. + false +
+
truetechnologyremovedtrue
PERSISTENCE:SPEC:1963111XML metadata may be used as an alternative to these + annotations, or to override or augment + annotations + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1239111.1The Access annotation is used to specify an access type + to be applied to an entity class, + mapped superclass, or embeddable class, or to a specific + attribute of such a class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1964111.2 + The AssociationOverride annotation may be applied to an entity + that extends a mapped superclass to + override a relationship mapping defined by the mapped + superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1062.1111.2If the AssociationOverride annotation is not specified, + the association is mapped the same as + in the original mapping. The joinColumns element refers to the + table for the class that contains the + annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1965111.2 + When used to override a mapping defined by a mapped superclass, + the AssociationOverride annotation is + applied to the entity class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1241111.2The AssociationOverride annotation may be used to + override a relationship mapping from an + embeddable within an entity to another entity when the + embeddable is on the owning side of the + relationship. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1966111.2 + When used to override a relationship mapping defined by an + embeddable class (including an embeddable + class embedded within another embeddable class), the + AssociationOverride annotation is applied to the + field or property containing the embeddable. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1967111.2 + When the AssociationOverride annotation is used to override a + relationship mapping from an embeddable + class, the name element specifies the referencing relationship + field or property within the embeddable + class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1968111.2 + To override mappings at multiple levels of embedding, a dot + (".") notation syntax must be used in the + name element to indicate an attribute within an embedded + attribute. The value of each identifier used + with the dot notation is the name of the respective embedded + field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1242111.2 + When the AssociationOverride annotation is applied to override + the mappings of an embeddable class used + as a map value, "value." must be used to prefix the name of the + attribute within the embeddable class + that is being overridden in order to specify it as part of the + map value. The use of map keys that + contain embeddables that reference entities is not permitted. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1969111.2 + If the relationship mapping is a foreign key mapping, the + joinColumns element of the AssociationOverride annotation is + used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1243111.2 + If the relationship mapping uses a join table, the joinTable + element of the AssociationOverride element + must be specified to override the mapping of the join table + and/or its join columns. Note that either + the joinColumns element or the joinTable element of the + AssociationOverride annotation is specified + for overriding a given relationship (but never both). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2488111.2The foreignKey element is used to specify or control + the generation of a foreign key constraint for the columns + corresponding to the joinColumns element when table generation + is in effect. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2489111.2If both + this element and the foreignKey element of any of the + joinColumns elements are specified, the + behavior is undefined. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1240111.2The AssociationOverride annotation may be applied to an + entity that extends a mapped superclass + to override a many-to-one or one-to-one mapping defined by the + mapped superclass. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1970111.3 + The mappings of multiple relationship properties or fields may + be overridden. The AssociationOverrides + annotation is used for this purpose. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1059111.4The AttributeOverride annotation is used to override + the mapping of a Basic (whether explicit + or default) property or field or Id property or field. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1244111.4The AttributeOverride annotation may be applied to an + entity that extends a mapped superclass + or to an embedded field or property to override a Basic mapping + or Id mapping defined by the mapped + superclass or embeddable class (or embeddable class of one of + its attributes). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1971111.4The AttributeOverride annotation may be applied to an + element collection containing instances + of an embeddable class + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1972111.4The AttributeOverride annotation may be applied to a + map collection whose key and/or value is + an embeddable class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1245111.4When the AttributeOverride annotation is applied to a + map, "key." or "value." must be used to + prefix the name of the attribute that is being overridden in + order to specify it as part of the map key + or map value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1973111.4To override mappings at multiple levels of embedding, a + dot (".") notation form must be used in + the name element to indicate an attribute within an embedded + attribute. The value of each identifier + used + with the dot notation is the name of the respective embedded + field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1974111.4If the AttributeOverride annotation is not specified, + the column is mapped the same as in the + original mapping. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1975111.4The column element refers to the table for the class + that contains the annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1062111.5The mappings of multiple properties or fields may be + overridden. The AttributesOverrides + annotation is used for this purpose. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1062.091.5The AssociationOverride annotation is used to override + a many-to-one or one-to-one mapping of + property or field for an entity relationship. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1069111.6The Basic annotation is the simplest type of mapping to + a database column. The Basic annotation + can be applied to a persistent property or instance variable of + any of the following types + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1070111.6Java primitive types + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1072111.6wrappers of the primitive types + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1071111.6java.lang.String + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1077111.6java.math.BigInteger + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1078111.6java.math.BigDecimal + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1079111.6java.util.Date + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1080111.6java.util.Calendar + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1081111.6java.sql.Date + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1082111.6java.sql.Time + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1083111.6java.sql.TimeStamp + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1073111.6byte[] + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1074111.6Byte[] + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1075111.6char[] + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1076111.6Character[] + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1069.1111.6enums + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1069.2111.6any other type that implements Serializable + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1976111.6the use of + the Basic annotation is optional for persistent fields and + properties of these types. If the Basic + annotation + is not specified for such a field or property, the default + values of the Basic annotation will apply. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1977111.6The EAGER strategy is a requirement on the persistence + provider runtime that data must be + eagerly fetched. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1084111.6The LAZY strategy is a hint to the persistence provider + runtime that data should be + fetched lazily when it is first accessed. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1085111.6The implementation is permitted to eagerly fetch data + for which the LAZY strategy hint hasd + been specified. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1086111.6In particular, lazy fetching might only be available + for Basic mappings for which + property-based access is used. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1087111.6The optional element is a hint as to whether the value + of the field or property may + be null. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1088111.6It is disregarded for primitive types.true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1978111.7The Cacheable annotation specifies whether an entity + should be cached if caching is enabled + when the value of the persistence.xml shared-cache-mode element + is ENABLE_SELECTIVE or + DISABLE_SELECTIVE. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1979111.7The value of the Cacheable annotation is inherited by + subclasses; it can be overridden by + specifying Cacheable on a subclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1980111.7Cacheable(false) means that the entity and its state + must not be cached by the provider. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1981111.7If the shared-cache-mode element is not specified in + the persistence.xml file and the + jakarta.persistence.sharedCache.mode property is not specified + when the entity manager + factory for the persistence unit is created, the semantics of + the Cacheable annotation are undefined. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1982111.8The CollectionTable annotation is used in the mapping + of collections of + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1982.1111.8basic typestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1982.2111.8embeddable typestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1246111.8The CollectionTable annotation specifies the table that + is used for the mapping of the + collection and is specified on the collection valued field or + property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1983111.8 + By default, the columns of the collection table that correspond + to the embeddable class are derived from + the attributes of the embeddable class according to the default + values of the Column annotation, + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1984111.8 + By default, the columns of the collection table that correspond + to the basic type are derived from the + attributes from the basic type according to the default values + of the Column annotation, + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1985111.8 + In the case of a basic type, the column name is derived from the + name of the collection-valued field or + property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1986111.8 + In the case of an embeddable class, the column names are derived + from the field or property names of the + embeddable class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1247111.8To override the default properties of the column used + for a basic type, the Column annotation + is used on the collection-valued attribute in addition to the + ElementCollection annotation. The value of + the table element of the Column annotation defaults to the name + of the collection table. To override + these defaults for an embeddable class, the AttributeOverride + and/or AttributeOverrides annotations must + be used in addition to the ElementCollection annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1987111.8 + The value of the table element of the Column annotation used in + the AttributeOverride annotation + defaults to the name of the collection table. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1988111.8 + If the embeddable class contains references to other entities, + the default values for the columns + corresponding to those references may be overridden by means of + the AssociationOverride and/or + AssociationOverrides annotations + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2504111.8 + The foreignKey element is used to specify or control the generation of a foreign key constraint for + the columns corresponding to the joinColumns element when table generation is in effect. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2504.1111.8 + If both this element and the foreignKey element of any of the joinColumns elements are specified, the behavior is undefined. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2504.2111.8 + If no foreignKey annotation element is specified in either location, the persistence provider's default foreign key strategy will apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1989111.8 + If the CollectionTable annotation is missing, the default values + of the CollectionTable annotation + elements apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1037111.9The Column annotation is used to specify a mapped + column for a persistent property or field. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1990111.9If no Column annotation is specified, the default + values apply + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1991111.10The Convert annotation is applied directly to an + attribute of an entity, mapped superclass, or + embeddable class to specify conversion of a Basic attribute or + to override the use of a converter that + has + been specified as autoApply=true. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2421111.10When persistent properties are used, the Convert + annotation is applied to the getter method. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1992111.10The Convert annotation may be applied to an entity that + extends a mapped superclass to specify + or + override the conversion mapping for an inherited basic + attribute. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2422111.10The converter element is used to specify the converter + that is to be applied. If an autoApply + converter + is applicable to the given field or property, the converter + specified by the converter element + will be applied instead. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2423111.10The disableConversion element specifies that any + applicable autoApply converter must not be + applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2424111.10The behavior is undefined if neither the converter + element nor the disableConversion element + has been specified. + false +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1993111.10The Convert annotation should not be used to specify + conversion of the following: + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1993.1111.10Id attributes(including the attributes of + embedded ids and derived identities) + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1993.2111.10version attributestrue +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1993.3111.10relationship attributestrue +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1993.4111.10attributes explicitly annotated (or designated + via XML) as Enumerated + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1993.5111.10attributes explicitly annotated (or designated + via XML) as Temporal. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1994111.10The Convert annotation may be applied to a basic + attribute or to an element collection of basic + type (in which case the converter is applied to the elements of + the collection). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1995111.10In these cases, the attributeName element must not be + specified. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1996111.10The Convert annotation may be applied to an embedded + attribute or to a map collection attribute + whose key or value is of embeddable type (in which case the + converter is applied to the specified + attribute of the embeddable instances contained in the + collection). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1997111.10In these cases, the attributeName element must be + specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1998111.10To override conversion mappings at multiple levels of + embedding, a dot (".") notation form must + be used in the attributeName element to indicate an attribute + within an embedded attribute. The value of + each identifier used with the dot notation is the name of the + respective embedded field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1999111.10When the Convert annotation is applied to a map + containing instances of embeddable classes, the + attributeName element must be specified, and "key." or "value." + must be used to prefix the name of the + attribute that is to be converted in order to specify it as part + of the map key or map value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2000111.10When the Convert annotation is applied to a map to + specify conversion of a map key of basic + type, "key" must be used as the value of the attributeName + element to specify that it is the map key + that is to be converted. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2001111.10The Convert annotation may be applied to an entity + class that extends a mapped superclass to + specify or override a conversion mapping for an inherited basic + or embedded attribute. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2002111.11The Converts annotation is used to group Convert + annotations. Multiple converters must not be + applied + to the same basic attribute. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1116111.12For the SINGLE_TABLE mapping strategy, and typically + also for the JOINED strategy, the + persistence provider will use a type discriminator column. The + supported discriminator types are defined + by the DiscriminatorType enum: STRING, CHAR, INTEGER. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1126111.12The DiscriminatorColumn annotation is used to define + the discriminator column for the + SINGLE_TABLE and JOINED inheritance mapping strategies. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2003111.12 + The strategy and the discriminator column are only specified in + the root of an entity class hierarchy or + subhierarchy in which a different inheritance strategy is + applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2004111.12 + The combination of inheritance strategies within a single entity + inheritance hierarchy is not defined by + this specification. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1126.1111.12The DiscriminatorColumn annotation can be specified on + an entity class (including on an + abstract entity class). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1126.2111.12If the DiscriminatorColumn annotation is missing, and a + discriminator column is required, the + name of the discriminator column defaults to "DTYPE" and the + discriminator type to STRING. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1126.2111.12The type of the discriminator column, if specified in + the optional columnDefinition element, + must be consistent with the discriminator type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1126.3111.13The DiscriminatorValue annotation is used to specify + the value of the discriminator column for + entities of the given type. The DiscriminatorValue annotation + can only be specified on a concrete entity + class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1126.4111.13If the DiscriminatorValue annotation is not specified + and a discriminator column is used, a + provider-specific function will be used to generate a value + representing the entity type. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1118111.13 + The inheritance strategy and the discriminator column are only + specified in the root of an entity class + hierarchy or subhierarchy in which a different inheritance + strategy is applied. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2005111.13 + The discriminator value, if not defaulted, should be specified + for each entity class in the hierarchy. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2006111.13 + The discriminator value must be consistent in type with the + discriminator type of the specified or + defaulted discriminator column. If the discriminator type is an + integer, the value specified must be + able to be converted to an integer value + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2513111.13If the DiscriminatorType is STRING, the discriminator value default is the entity name. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2007111.14 + The ElementCollection annotation defines a collection of + instances of a basic type or embeddable class. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2008111.14 + The ElementCollection annotation (or equivalent XML element) + must be specified if the collection is to + be mapped by means of a collection table + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1248111.14The basic or embeddable class that is the element type + of the collection. Optional only if the + collection field or property is defined using Java generics. + Must be specified otherwise. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1249111.14The EAGER strategy is a requirement on the persistence + provider runtime that the collection + elements must be eagerly fetched. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1127111.15The Embeddable annotation is used to specify a class + whose instances are stored as an intrinsic + part of an owning entity and share the identity of the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2009111.16The Embedded annotation is used to specify + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2009.1111.16a persistent fieldtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2009.2111.16property of an entitytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2009.3111.16embeddable class whose value is an instance of + an embeddable class. If the + embeddable + class is used as a primary key, the EmbeddedId rather + than the Embedded annotation is used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1129111.16The Embedded annotation may be used in an entity class + when it is using a shared embeddable + class. The entity may override the column mappings declared + within the embeddable class to apply to its + own entity table. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1128111.16Each of the persistent properties or fields of the + embedded object is mapped to the database + table. Only Basic, Column, Serialized, and Lob mapping + annotations may be used to map embedded object. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2010111.16Each of the persistent properties or fields of the + embedded object is mapped to the database + table for the entity or embeddable class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2011111.16The embeddable class must be annotated as Embeddable. + Use of the Embedded annotation is not + required + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2012111.16 + Implementations are not required to support embedded objects + that are mapped across more than one table + (e.g., split across primary and secondary tables or multiple + secondary tables). + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1063111.17The EmbeddedId annotation is applied to a persistent + field or property of an entity class or + mapped superclass to denote a composite primary key that is an + embeddable class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2013111.17 + The embeddable class must be annotated as Embeddable. Note that + theId annotation is not used in the + embeddable class + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2014111.17 + Relationship mappings defined within an embedded id class are + not supported. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1064111.17There must be only one EmbeddedId annotation and no Id + annotation when the EmbeddedId + annotation is used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1251111.17The AttributeOverride annotation may be used to + override the column mappings declared within + the embeddable class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2015111.17The MapsId annotation may be used in conjunction with + the EmbeddedId annotation to specify a + derived primary key. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2016111.17 + If the entity has a derived primary key, the AttributeOverride + annotation may only be used to override + those attributes of the embedded id that do not correspond to + the relationship to the parent entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1090.1111.18The Enumerated annotation specifies that a persistent + property or field should be persisted as + enumerated type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2017111.18The Enumerated annotation may be used in conjunction + with the Basic annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2018111.18The Enumerated annotation may be used in conjunction + with the ElementCollection annotation when + the element collection value is of basic type. If the element + collection is a Map, this applies to the + map value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1090.2111.18An enum can be mapped as either string or integer. The + EnumType enum defines the mapping for + enumerated types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2019111.18Mapping of enum values that contain state is not + supported. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1090.3111.18If the enumerated type is not specified or the + Enumerated annotation is not used, the + enumerated type is assumed to be ORDINAL unless a converter is + being applied.. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2020111.19 + The ForeignKey annotation is used to specify the handling of + foreign key constraints when schema generation is in effect. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2490111.19If this annotation is not specified, the persistence + provider’s default foreign key strategy + will be used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2491111.19The enum values have the following semantics: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2491.1111.19A value of CONSTRAINT will cause the + persistence provider to generate a foreign key + constraint. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2491.2111.19A value of NO_CONSTRAINT will result in no + constraint being generated. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2491.3111.19A value of PROVIDER_DEFAULT will result in the + provider's default behavior (which may or may not result + in the generation of a constraint for any given join + column or set of join columns). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2021111.19The syntax used in the foreignKeyDefinition element + should follow the SQL syntax used by the + target database for foreign key constraints + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2492111.19If the ForeignKey annotation is specified with a + ConstraintMode value of CONSTRAINT, but the foreignKeyDefinition + element is not specified, the provider will generate a foreign + key constraint whose update and delete actions it determines + most appropriate for the join column(s) to which the foreign key + constraint is applied + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1057111.20The GeneratedValue annotation provides for the + specification of generation strategies + for the value of primary keys. The GeneratedValue annotation may + be applied + to a primary key property or mapped superclass in conjunction + with the Id annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2023111.20The use of the GeneratedValue annotation is only + required to be supported for simple primary + keys. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2024111.20Use of the GeneratedValue annotation is not supported + for derived primary keys. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1051111.20The types of the primary key generation are defined by + the GenerationType enum. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1052111.20The TABLE generator type value indicates that + the persistence provider must assign + primary keys for the entity using an underlying database + table to ensure uniqueness. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1053111.20The SEQUENCE and IDENTITY values specify the + use of a database sequence or identity + column, respectively. Note that SEQUENCE and IDENTITY + are not portable across all databases. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1055111.20The AUTO value indicates that the persistence + provider should pick an appropriate + strategy for the particular database. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1253111.20The primary key generation strategy is that the + persistence provider must generate the + annotated entity primary key. + The name of the primary key generator to be used as specified in + the + SequenceGenerator or TableGenerator annotation. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1066111.21The Id annotation may be applied in an entity or mapped + superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1049111.21The Id annotation specifies the primary key property or + field of an entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2025111.21The field or property to which the Id annotation is + applied should be one of the following + types + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2025.1111.21any Java primitive typetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2025.2111.21any primitive wrapper typetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2025.3111.21java.lang.Stringtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2025.4111.21java.util.Datetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2025.5111.21java.sql.Datetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2025.6111.21java.math.BigDecimaltrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2025.7111.21java.math.BigIntegertrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1050111.21The mapped column for the primary key of the entity is + assumed to be the primary + key of the primary table. If no Column annotation is specified, + the primary key column name is assumed + to be the name of the identifier property or field. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1065111.22The IdClass annotation is applied to an entity class or + a mapped superclass to specify a + composite primary key class that is mapped to multiple fields or + properties of the entity. The names of + the fields or properties in the primary key class and the + primary key fields or properties of the entity + must correspond and their types must match. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2026111.23The Index annotation is used in schema generation. Note + that it is not necessary to specify an + index + for a primary key, as the primary key index will be created + automatically, however, the Index annotation + may be used to specify the ordering of the columns in the index + for the primary key. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2027111.23The persistence provider must observe the specified + ordering of the columns. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2028111.23If ASC or DESC is not specified, ASC (ascending order) + is assumed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2029111.24 + The Inheritance annotation defines the inheritance strategy to + be used for an entity class hierarchy. It + is specified on the entity class that is the root of the entity + class hierarchy. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1119111.24if no inheritance type is specified for an entity class + hierarchy, the SINGLE_TABLE mapping + strategy is used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2030111.24Support for the combination of inheritance strategies + is not required by this specification. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1112111.24The three inheritance mapping strategies are: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1113111.24single table per class hierarchytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1115111.24joined subclasstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1114111.24table per concrete class strategies. Support + for the TABLE_PER_CLASS mapping + strategy + is optional in this release. + false +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1038111.25The JoinColumn annotation is used to specify a column + for joining an entity association + or element collection. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1042111.25If the JoinColumn annotation itself is defaulted, a + single join column is assumed and the + default values apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1039111.25The name annotation element defines the name of the + foreign key column. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2031111.25The remaining annotation elements (other than + referencedColumnName) refer to this column and + have the same semantics as for the Column annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1040111.25If the referencedColumnName element is missing, the + foreign key is assumed to refer to the + primary key of the referenced table. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1047111.25Support for referenced columns that are not the primary + key of the referenced table is + optional. Applications that use such mappings will not be + portable. + false +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2493111.25The foreignKey annotation element is used to specify or + control the generation of a foreign key constraint when schema + generation is in effect. If both this element and the foreignKey element of any + of the JoinColumn elements referenced by the value element are specified, the behavior is undefined. If no foreignKey annotation element is specified in either location, the persistence + provider’'s default foreign key strategy will apply. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2494111.25If there is more than one join column, a JoinColumn + annotation must be specified for each join column using the + JoinColumns annotation. Both the name and the + referencedColumnName elements must be specified in each such + JoinColumn annotation. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1041111.25If the name annotation element is missing, or if no + JoinColumn annotation is specified, the + join columns are assumed to have the same names as the primary + key columns of the referenced table. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1043111.25if a single join column is usedtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1044111.25 + name default - The concatenation of the following: the + name of the referencing relationship + property or field of the referencing entity; "_"; the + name of the referenced primary key + column. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1043.1111.25 + name default - The concatenation of the following: If + there is no such referencing + relationship + property or field in the entity, or if the join is for + an element collection, the join + column + name is formed as the concatenation of the following: + the name of the entity; "_"; the name + of + the referenced primary key column. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1045111.25 + referencedColumnName default - If the + referencedColumnName element is missing, The same name + as + the primary key column of the referenced table. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1046111.25If there is more than one join column, a JoinColumn + annotation must be specified for each join + column using the JoinColumns annotation. Both the name and + referencedColumnName elements must be + specified in each such JoinColumn annotation. + annotation. + false +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1048111.26Composite foreign keys are supported by means of the + JoinColumns annotation. The JoinColumns + annotation groups JoinColumn annotations for the same + relationship. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2032111.26When the JoinColumns annotation is used, both the name + and the referencedColumnName + elements must be specified in each of the grouped JoinColumn + annotations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2495111.26The foreignKey annotation element is used to specify or + control the generation of a foreign key constraint when schema + generation is in effect. If this element is not specified, the + persistence provider’s default foreign key strategy will apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1097111.27A JoinTable annotation is used in the mapping of + associations. A JoinTable annotation is + specified on the owning side of the association. If the + JoinTable annotation is not explicitly specified + for the mapping of a many-to-many or unidirectional one-to-many + relationship, the default values of the + annotation elements apply. The name of the JoinTable is assumed + to be the tables names of the associated + primary tables concatenated together (owning side first) using + an underscore. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2505111.27The foreignKey element is used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2505.1111.28 + If both this element and the foreignKey element of any of the joinColumns elements are specified, the behavior is undefined. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2505.2111.28 + If no foreignKey annotation element is specified in either location, the persistence provider's default foreign key strategy will apply. The inverseForeignKey element applies to the generation of a foreign key constraint for the columns corresponding to the inverseJoinColumns element, and similar rules apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1089111.28A Lob annotation specifies that a persistent property + or field should be persisted as a large + object to a database-supported large object type. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2033111.28The Lob annotation may be used in conjunction with the + Basic annotation or with the + ElementCollection annotation when the element collection value + is of basic type. If the element + collection is a Map, this applies to the map value. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2034111.28A Lob may be either a binary or character type. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2035111.28The Lob type is inferred from the type of the + persistent field or property and, except for + string and character types, defaults to Blob. + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:109291.25Multiple operations may be included in the [cascade] + set. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1098111.29A ManyToMany annotation defines a many-valued + association with many-to-many multiplicity. If + the collection is defined using generics to specify the element + type, the associated target entity + class does not need to be specified; otherwise it must be + specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1254111.29Every many-to-many association has two sides, the + owning side and the non-owning, or inverse, + side. If the association is bidirectional, either side may be + designated as the owning side. + The join table for the relationship, if not defaulted, is + specified on the owning side. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1099111.29Every many-to-many association has two sides, the + owning side and the non-owning or inverse + side. The join table for the relationship, if not defaulted, is + specified on the owning side. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1256111.29If the relationship is bidirectional, the non-owning + side must use the mappedBy element of the + ManyToMany annotation to specify the relationship field or + property of the owning side. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1255111.29The ManyToMany annotation may be used within an + embeddable class contained within an entity + class to specify a relationship to a collection of entities. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2036111.29 + The ManyToMany annotation must not be used within an embeddable + class used in an element collection + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2037111.29 + If the relationship is bidirectional and the entity + containing the embeddable class is the owner of the + relationship, the non-owning side must use the + mappedBy element of the ManyToMany annotation to specify the + relationship field or property of the + embeddable class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2037.1111.29 + The dot (".") notation syntax must be used in the + mappedBy element to indicate the + relationship + attribute within the embedded attribute. The value of + each identifier used with the dot + notation + is the name of the respective embedded + field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1093111.29The value cascade=ALL is equivalent to + cascade={PERSIST, MERGE, REMOVE, REFRESH, DETACH}. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2038111.29When the collection is a java.util.Map, the cascade + element applies to the map value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2039111.29The EAGER strategy is a requirement on the persistence + provider runtime that the associated + entity must be eagerly fetched. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2040111.29The LAZY strategy is a hint to the persistence provider + runtime that the associated entity + should be fetched lazily when it is first accessed. The + implementation is permitted to eagerly fetch + associations for which the LAZY strategy hint has been + specified. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1090111.30The ManyToOne annotation defines a single-valued + association to another entity class that has a + many-to-one multiplicity. It is not normally necessary to + specify the name of the associated target + entity explicitly since it can usually be inferred from the type + of the object being referenced. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1257111.30The ManyToOne annotation may be used within an + embeddable class to specify a relationship from + the embeddable class to an entity class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1258111.30 + If the relationship is bidirectional, the non-owning OneToMany + entity side must use the mappedBy element + of the OneToMany annotation to specify the relationship field or + property of the embeddable field or + property on the owning side of the relationship. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1259111.30 + The dot (".") notation syntax must be used in the mappedBy + element to indicate the relationship + attribute within the embedded attribute. The value of each + identifier used with the dot notation is the + name of the respective embedded field or + property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1091111.30The operations that can be cascaded are defined by the + CascadeType enum + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2041111.30The EAGER strategy is a requirement on the persistence + provider runtime that the associated + entity must be eagerly fetched. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2042111.30The LAZY strategy is a hint to the persistence provider + runtime that the associated entity + should be fetched lazily when it is first accessed. The + implementation is permitted to eagerly fetch + associations for which the LAZY strategy hint has been + specified. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:1100111.31The MapKey annotation is used to specify the map key + for associations of type java.util.Map. + When the mapkey is itself the primary key or a persistent field + or property of the entity that is the + value of the map. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1101111.31The name element designates the name of the persistent + field or + property of the associated entity that is used as the map key. + If name element is not specified,the primary key of the + associated entity is used as the map key. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1102111.31If the primary key is a composite primary key and is + mapped as IdClass, an instance of the + primary key class is used as the key. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2043111.31If a persistent field or property other than the + primary key is used as a map key, it is + expected to be unique within the context of the relationship. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2044111.31The MapKeyClass annotation is not used when MapKey is + specified and vice versa. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2045111.32The map key can betrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2045.1111.32a basic typetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2045.2111.32an embeddable classtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2045.3111.32an entitytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2046111.32If the map is specified using Java generics, the + MapKeyClass annotation and associated type + need not be specified; otherwise they must be specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2047111.32The MapKeyClass annotation is used in conjunction + with + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2047.1111.32ElementCollectiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2047.2111.32one of the collection- + valued relationship annotations (OneToMany). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2047.3111.32one of the collection- + valued relationship annotations (ManyToMany). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2048111.32The MapKey annotation is not used when MapKeyClass is + specified and vice versa. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1261111.33The MapKeyColumn annotation is used to specify the + mapping for the key column of a map whose + map key is a basic type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2049111.33If the name element is not specified, it defaults to + the concatenation of the following: + the name of the referencing relationship field or property; "_"; + "KEY". + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2050111.33If no MapKeyColumn annotation is specified, the default + values in Table apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2051111.34The MapKeyEnumerated annotation is used to specify the + enum type for a map key whose basic type + is an enumerated type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2052111.34The MapKeyEnumerated annotation can be applied to an + element collection or relationship of type + java.util.Map, in conjunction with the + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2052.1111.34ElementCollection annotation.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2052.2111.34OneToMany annotation.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2052.3111.34ManyToMany annotation.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2053111.34If the map is specified using Java generics, the + MapKeyClass annotation and associated + type need not be specified; otherwise they must be specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2054111.34If the enumerated type is not specified or the + MapKeyEnumerated annotation is not used, the + enumerated type is assumed to be ORDINAL. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2055111.35The MapKeyJoinColumn annotation is used to specify a + mapping to an entity that is a map key. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2056111.35The map key join column is in thetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2056.1111.35collection table of the target entity that is + used to represent + the map + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2056.2111.35join table of the target entity that is used to + represent the map + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2056.3111.35table of the target entity that is used to + represent the map + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2057111.35If no MapKeyJoinColumn annotation is specified, a + single join column is assumed and the default + values described below (and in Table 29) apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2058111.35The name annotation element defines the name of the + foreign key column. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2059111.35The remaining annotation elements (other than + referencedColumnName) refer to this column. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2060111.35If there is a single map key join column, and if the + name annotation member is missing, the map + key join column name is formed as the concatenation of the + following: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2060.1111.35the name of the referencing relationship + property or field of the referencing entity; "_"; "KEY". + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2060.2111.35the name of the referencing relationship + property or field of the referencing embeddable; "_"; + "KEY". + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2061111.35If the referencedColumnName element is missing, the + foreign key is assumed to refer to the + primary key of the referenced table. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2062111.35Support for referenced columns that are not primary key + columns of the referenced table is + optional. Applications that use such mappings will not be + portable. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2506111.35The foreignKey element is used to specify or control the generation of a foreign key constraint for the map key join column when table generation is in effect. If the foreignKey element is not specified, the persistence provider’s default foreign key strategy will be used. + false +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1262111.35If there is more than one map key join column, a + MapKeyJoinColumn annotation must be specified + for each join column using the MapKeyJoinColumns annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1263111.35Both the name and the referencedColumnName elements + must be specified in each such + MapKeyJoinColumn annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2063111.36Composite map keys referencing entities are supported + by means of the MapKeyJoinColumns + annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1264111.36When the MapKeyJoinColumns annotation is used, both the + name and the referencedColumnName + elements must be specified in each of the grouped + MapKeyJoinColumn annotations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2508111.36The foreignKey element is used to specify or control the generation of a foreign key constraint for the columns corresponding to the MapKeyJoinColumn elements referenced by the value element when table generation is in effect. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2508.1111.36If both this element and the foreignKey element of any of the MapKeyJoinColumn elements are specified, the behavior is undefined. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2508.2111.36If no foreignKey annotation element is specified in either location, the persistence provider's default foreign key strategy will apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2064111.37The MapKeyTemporal annotation is used to specify the + temporal type for a map key whose basic + type is a temporal type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2065111.37The MapKeyTemporal annotation can be applied to an + element collection or relationship of type + java.util.Map, in conjunction with the + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2065.1111.37ElementCollection annotation.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2065.2111.37OneToMany annotation.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2065.3111.37ManyToMany annotation.true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2066111.37If the map is specified using Java generics, the + MapKeyClass annotation and associated type + need not be specified; otherwise they must be specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1130111.38The MappedSuperclass annotation designates a class + whose mapping information is applied to the + entities that inherit from it. A mapped superclass has no + separate table defined for it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1131111.38A class designated with the MappedSuperclass annotation + can be mapped in the same way as an + entity except that the mappings will apply only to its + subclasses since no table exists for the mapped + superclass itself. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1132111.38When applied to the subclasses the inherited mappings + will apply in the context of the subclass + tables. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1133111.38Mapping information may be overridden in such + subclasses by using the Mapping information may + be overridden in such subclasses by using the AttributeOverride, + AttributeOverrides, + AssociationOverride,and AssociationOverrides annotations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2067111.39 + The MapsId annotation is used to designate a ManyToOne or + OneToOne relationship attribute that provides + the mapping for + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2067.1111.39an EmbeddedId primary keytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2067.2111.39an attribute within an EmbeddedId primary key + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2067.3111.39a simple primary key of the parent entity + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2068111.39The value element specifies the attribute within a + composite key to which the relationship + attribute corresponds. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2069111.39If the entity’s primary key is of the same Java type as + the primary key of the entity + referenced by the relationship, the value attribute is not + specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1250111.39The Embedded annotation may be used to specify a + persistent field or property of an entity or + embeddable class whose value is an instance of an embedable + class. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1095111.40The OneToMany annotation defines a many-valued + association with one-to-many multiplicity. If + the Collection is defined using generics to specify the element + type then the associated target entity + class need not be specified; Otherwise it must be specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1096111.40Unidirectional one-to-many relationships may be + implemented using one-to-many foreign key + mappings. + true +
+
truetechnologyremovedtrue
PERSISTENCE:SPEC:1265111.40The OneToMany annotation may be used within an + embeddable class contained within an entity + class to specify a relationship to a collection of entities. If + the relationship is bidirectional, the + mappedBy element must be used to specify the relationship field + or property of the entity that is the + owner of the relationship. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2070111.40The OneToMany annotation must not be used within an + embeddable class used in an element + collection. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2071111.40When the collection is a java.util.Map, the cascade + element and the orphanRemoval element + apply to the map value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2072111.40 + If orphanRemoval is true and an entity that is the target of the + relationship is removed from the + relationship (either by removal from the collection or by + setting the relationship to null), the remove + operation will be applied to the entity being orphaned. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2073111.40If the entity being orphaned is a detached, new, or + removed entity, the semantics of + orphanRemoval do not apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2074111.40 + If orphanRemoval is true and the remove operation is applied to + the source entity, the remove + operation will be cascaded to the relationship target in + accordance with the rules of section 3.2.3, + (and + hence it is not necessary to specify cascade=REMOVE for the + relationship)[ + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2075111.40 + If the parent is detached or new or was previously removed + before the orphan was associated with it, the + remove operation is not applied to the entity being orphaned. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2076111.40The remove operation is applied at the time of the + flush operation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1266111.40 + Portable applications must otherwise not depend upon a specific + order of removal, and must not reassign + an entity that has been orphaned to another relationship or + otherwise attempt to persist it. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2077111.40The default mapping for unidirectional one-to-many + relationships uses a join table, + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2078111.40Unidirectional one-to-many relationships may be + implemented using one-to-many foreign + key mappings, using the JoinColumn and JoinColumns annotations. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1094111.41The OneToOne annotation defines a single-valued + association to another entity class that has a + one-to-one multiplicity. It is not normally necessary to specify + the name of the associated target + entity explicitly since it can usually be inferred from the type + of the object being referenced. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2079111.41 + If the relationship is bidirectional, the mappedBy element must + be used to specify the relationship + field or property of the entity that is the owner of the + relationship. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1267111.41The OneToOne annotation may be used within an + embeddable class to specify a relationship from + the embeddable class to an entity class. If the relationship is + bidirectional and the entity containing + the embeddable class is on the owning side of the relationship, + the non-owning side must use the + mappedBy element of the OneToOne annotation to specify the + relationship field or property of the + embeddable class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2080111.41 + The dot (".") notation syntax must be used in the mappedBy + element to indicate the relationship + attribute within the embedded attribute. The value of each + identifier used with the dot notation is the + name of the respective embedded field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2081111.41 + If orphanRemoval is true and an entity that is the target of the + relationship is removed from the + relationship (by setting the relationship to null), the remove + operation will be applied to the entity + being orphaned. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2082111.41If the entity being orphaned is a detached, new, or + removed entity, the semantics of + orphanRemoval do not apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2083111.41If orphanRemoval is true and the remove operation is + applied to the source entity, the remove + operation will be cascaded to the relationship target in + accordance with the rules of section 3.2.3, + (and + hence it is not necessary to specify cascade=REMOVE for the + relationship) + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2084111.41If the parent is detached or new or was previously + removed before the orphan was associated + with it, the remove operation is not applied to the entity being + orphaned. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2085111.41The remove operation is applied at the time of the + flush operation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2086111.41Portable applications must otherwise not depend upon a + specific order of removal, and must not + reassign an entity that has been orphaned to another + relationship or otherwise attempt to persist it. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:1103111.42The OrderBy annotation specifies the ordering the + elements of a collection-valued association + or element collection are to have when the association or + collection is retrieved. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1104111.42The syntax of the value ordering element is an + orderby_list, as follows: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1105111.42orderby_listtrue +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1106111.42orderby_list::=orderby_item[,orderby_item]* + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1107111.42 + orderby_item::=property_or_field_name[ASC|DESC] + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1108111.42If orderby_list is not specified or if ASC or DESC is + not specified, ASC (ascending order) is + assumed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2087111.42If the ordering element is not specified for an entity + association, ordering by the primary key + of the associated entity is assumed. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2088111.42 + If the primary key is a composite primary key, the precedence of + ordering among the attributes within + the primary key is not futher defined. To assign such a + precedence within these attributes, each of the + individual attributes must be specified as an orderby_item. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1109111.42A property or field name specified as an orderby_item + must correspond to a basic persistent + property or field of the associated class or embedded class + within it. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1110111.42The properties or fields used in the ordering must + correspond to columns for which comparison + operators are supported. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2089111.42The dot (".") notation is used to refer to an attribute + within an embedded attribute. The value + of each identifier used with the dot notation is the name of the + respective embedded field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1111111.42The OrderyBy annnotation specifies the ordering of the + elements of a collection-valued + association or element collection at the point when the + association is retrieved. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1268111.42The OrderBy annotation may be applied to an element + collection. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2090111.42When OrderBy is applied to an element collection of + basic type, the ordering will be by value + of the basic objects and the property_or_field_name is not used + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2091111.42In all other cases when OrderBy is applied to an + element collection, the property_or_field_name + must be specified. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2092111.42 + When specifying an ordering over an element collection of + embeddable type, the dot notation must be used + to specify the attribute or attributes that determine the + ordering. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2093111.42The OrderBy annotation is not used when an order column + is specified. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2094111.43The persistence provider is responsible for maintaining + the order upon retrieval and in the + database. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2095111.43The persistence provider is responsible for updating + the ordering upon flushing to the database + to reflect any + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2095.1111.43insertion affecting the listtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2095.2111.43deletion affecting the listtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2095.3111.43reordering affecting the listtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2096111.43The OrderColumn annotation may be specified on a + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2096.1111.43one-to-many relationshiptrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2096.2111.43many-to-many relationshiptrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2096.3111.43on an element collectiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2097111.43The OrderColumn annotation is specified on the side of + the relationship that references the + collection that is to be ordered. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2098111.43The + order column is not visible as part of the state of the entity + or embeddable class. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2099111.43The OrderBy annotation should be used for ordering that + is visible as persistent state and + maintained by the application + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2100111.43The OrderBy annotation is not used when OrderColumn is + specified. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2101111.43If name is not specified, the column name is the + concatenation of the following: the name of + the referencing relationship property or field of the + referencing entity or embeddable class; "_"; + "ORDER". + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2102111.43The order column must be of integral type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2103111.43The persistence provider must maintain a contiguous + (non-sparse) ordering of the values of the + order column when updating the association or element + collection. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2104111.43The order column value for the first element of the + list must be 0. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1120111.44The PrimaryKeyJoinColumn annotation specifies the + primary key columns that are used as a + foreign key to join to another table. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1121111.44The PrimaryKeyJoinColumn annotated is used: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1122111.44to join the primary table of an entity subclass + in the JOINED mapping strategy to + the + primary table of its superclass + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1121.1111.44it is used within a SecondaryTable annotation + to join a secondary table to a + primary + table; + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1123111.44in a OneToOne mapping in which the primary key + of the referencing entity is used as + a + foreign key to the referenced entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2509111.44The foreignKey element is used to specify or control the generation of a foreign key constraint for the primary key join column when table generation is in effect. If the foreignKey element is not specified, the persistence provider’s default foreign key strategy will be used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1124111.44If no PrimaryKeyJoinColumn annotation is specified for + a subclass in the JOINED mapping + strategy, + the foreign key columns are assumed to have the same names as + the primary key columns of the + primary table of the superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1125111.45Composite foreign keys are supported by means of the + PrimaryKeyJoinColumns annotation + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2510111.45The foreignKey element is used to specify or control the generation of a foreign key constraint for the columns corresponding to the PrimaryKeyJoinColumn elements referenced by the value element when table generation is in effect. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2510.1111.45If both this element and the foreignKey element of any of the PrimaryKeyJoinColumn elements are specified, the behavior is undefined. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2510.2111.45If no foreignKey annotation element is specified in either location, the persistence provider's default foreign key strategy will apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1272111.46The SecondaryTable annotation is used to specify a + secondary table for the annotated entity + class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1273111.46If no SecondaryTable annotation is specified, it is + assumed that all persistent fields or + properties of the entity are mapped to the primary table. + Specifying one or more secondary tables + indicates that the data for the entity class is stored across + multiple tables. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1031111.46If no primary key join columns are specified, the join + columns are assumed to reference the + primary key columns of the primary table, and have the same + names and types as the referenced primary + key columns of the primary table. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1274111.46If no primary key join columns are specified, the join + columns are assumed to reference the + primary key columns of the primary table, and have the same + names and types as the referenced primary + key columns of the primary table. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2511111.46The foreignKey element is used to specify or control the generation of a foreign key constraint for the columns corresponding to the pkJoinColumns element when table generation is in effect. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2511.1111.46If both this element and the foreignKey element of any of the pkJoinColumns elements are specified, + the behavior is undefined. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2511.2111.46If no foreignKey annotation element is specified in either location, the persistence provider's default foreign key strategy will apply. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2105111.47The SecondaryTables annotation is used to specify + multiple secondary tables for an entity. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1137111.47A generator may be defined at either the package, + class, method, or field level. The level + at which it is defined will depend upon the desired visibility + and sharing of the generator. No scoping + or visibility rules are actually enforce + d. However, it is good practice to define the generator at the + level for which it will be used. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2106111.48The SequenceGenerator annotation defines a primary key + generator that may be referenced by + name when a generator element is specified for the + GeneratedValue annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2107111.48A sequence generator may be specified on the + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2107.1111.48entity classtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2107.2111.48on the primary key fieldtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2107.3111.48on the primary key propertytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2108111.48The scope of the generator name is global to the + persistence unit (across all generator types). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:113491.44The SequenceGenerator annotation defines a primary key + or id generator which may be referenced + by name when annotation the id attribute. + true +
+
truetechnologyremovedfalse
PERSISTENCE:SPEC:1135111.48A generator may be defined at either the package, + class, method, or field level. The level at + which it is defined will depend upon the desired visibility and + sharing of the generator. No scoping or + visibility rules are actually enforced. However, it is good + practice to define the generator at the + level for which it will be used. + true +
+
truetechnologyremovedfalse
PERSISTENCE:SPEC:1028111.49The Table annotation specifies the primary table for + the annotated entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2109111.49Additional tables may be specified by using the + SecondaryTable or SecondaryTables annotation + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2110111.49When a joined inheritance strategy is used, the Table + annotation is used to specify a primary + table for the subclass-specific state if the default is not + used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1028.1111.49If no Table annotation is specified for an entity + class, the default values defined in Table 42 + apply. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1136111.50The TableGenerator annotation defines a primary key or + id generator which may be referenced by + name when when a generator element is specified for the + GeneratedValue annotation. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2111111.50 + A table generator may be specified on the + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2111.1111.50entity class + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2111.2111.50primary key field + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2111.3111.50property + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2112111.50The scope of the generator name is global to the + persistence unit (across all generator types). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2113111.50The table element specifies the name of the table that + is used by the persistence provider to + store generated primary key values for entities. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1090.0111.51The Temporal annotation must be specified for + persistent fields or properties of type + java.util.Date and java.util.Calendar unless a converter is + being applied. It may only be specified for + fields or properties of those types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2114111.51The Temporal annotation may be used in conjunction with + the + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2114.1111.51Basic annotationtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2114.2111.51Id annotationtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2114.3111.51ElementCollection annotation (when the element + collection value is of such a + temporal + type). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2114.4111.51If the element collection is a Map, this + applies to the map value. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1067111.52The Transient annotation is used to annotate a property + or field of an entity class, mapped + superclass, or embeddable class. It specifies that the property + or field is not persistent. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1036111.53The UniqueConstraint annotation is used to specify that + a unique constraint should be included + in the generated DDL for a primary or secondary table. + false +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:1068111.54The Version annotation specifies the version field or + property of an entity class that serves a + its optimistic lock value. The version is used to ensure + integrity when performing the merge operation + and for optimistic concurrency control. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2115111.54Only a single Version property or field should be used + per class; applications that use more + than one Version property or field will not be portable. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2116111.54The Version property should be mapped to the primary + table for the entity class; applications + that map the Version property to a table other than the primary + table will not be portable. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2117111.54The following types are supported for version + properties: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2117.1111.54inttrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2117.2111.54Integertrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2117.3111.54shorttrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2117.4111.54Shorttrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2117.5111.54longtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2117.6111.54Longtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2117.7111.54Timestamptrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118112If + schema generation is in effect, the persistence provider must + observe the mapping information specified + by these annotations and their corresponding XML elements. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.1112DiscriminatorColumn + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.2112EmbeddedId + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.3112Enumerated + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.4112MapKeyEnumerated + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.24112ForeignKey + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.5112GeneratedValue + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.6112Id + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.7112Index + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.8112Inheritance + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.9112JoinColumn + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.10112JoinTable + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.11112Lob + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.12112MapKeyColumn + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.13112MapKeyJoinColumn + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.14112OrderColumn + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.15112PrimaryKeyJoinColumn + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.16112SecondaryTable + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.17112SequenceGenerator + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.18112Table + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.19112TableGenerator + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.20112Temporal + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.21112MapKeyTemporal + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.22112UniqueConstraint + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2118.23112Version + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2119112.1.1By default, a table is created for every top-level + entity and, by default, includes columns + corresponding to the basic and embedded attributes of the entity + and the foreign keys to the tables of + related entities. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2120112.1.1These columns include columns that result from the use + of mapped superclasses, if any. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2121112.1.1The SecondaryTable + annotation, in conjunction with the use of the table element of + the Column and Join- + Column annotations, is used to override this mapping to + partition the state of an entity across multiple + tables + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2122112.1.1The mapping of the columns of a table is controlled by + the Column and JoinColumn annotations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2123112.1.1When entity state in inherited from a mapped + superclass, the AttributeOverride and + AssociationOverride + annotations may be used to further control the column-level + mapping of inherited + state. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2124112.1.2The Inheritance annotation defines the inheritance + strategy for an entity hierarchy. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2124.1112.1.2The inheritance + strategy determines whether the table for a top-level + entity includes columns for entities + that + inherit + from the entity + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2124.2112.1.2and whether it includes a discriminator + column + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2124.3112.1.2or whether separate tables are created for each + entity type that inherits from the + top-level entity + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2125112.1.3A secondary table is created to partition the mapping + of entity state across multiple tables. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2126112.1.4A collection table is created for the mapping of an + element collection. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2127112.1.4The Column, AttributeOverride, and AssociationOverride + annotations may be used to override + CollectionTable mappings + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2128112.1.5By default, join tables are created for the mapping of + many-to-many relationships and + unidirectional + one-to-many relationships. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2129112.1.5Join tables may also be used to map bidirectional + many-to-one/one-to-many associations, + unidirectional + many-to-one relationships, and one-to-one relationships (both + bidirectional and unidirectional). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2130112.1.5The AssociationOverride annotation may be used to + override join table mappings. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2131112.2In general, however, an implementation of this + specification should conform to the “Standard Mapping from Java + Types to JDBC Types” as defined by + the JDBC specification + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2132112.2Unless otherwise explicitly specified, however, VARCHAR + and VARBINARY + mappings should be used in preference to CHAR and BINARY + mappings. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2133112.2Applications that are + sensitive to the exact database mappings that are generated + should use the columnDefinition element + of the Column annotation or include DDL files that specify how + the database schema is to be generated. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2134112.2.1The following elements of the Column annotation are + used in schema generation: + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2134.1112.2.1nametrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2134.2112.2.1uniquetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2134.3112.2.1nullabletrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2134.4112.2.1columnDefinitiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2134.5112.2.1tabletrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2134.6112.2.1lengthtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2134.7112.2.1precisiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2134.8112.2.1scaletrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2135112.2.1The AttributeOverride annotation may be used to + override column mappings. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2136112.2.2The MapKeyColumn annotation specifies the mapping for a + key column of a map when the key is of + basic type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2136.1112.2.2nametrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2136.2112.2.2uniquetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2136.3112.2.2nullabletrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2136.4112.2.2columnDefinitiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2136.5112.2.2tabletrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2136.6112.2.2lengthtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2136.7112.2.2precisiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2136.8112.2.2scaletrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2137112.2.2The AttributeOverride annotation may be used to + override column mappings. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2138112.2.3The Enumerated annotations control whether string- or + integer-valued + columns are generated for basic attributes of enumerated types + and therefore impact the default column + mappings for these types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2138.1112.2.3The Column annotations + may be used to further control the column mappings for + attributes of enumerated types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2138.2112.2.3The MapKeyColumn annotations + may be used to further control the column mappings for + attributes of enumerated types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2139112.2.3The MapKeyEnumerated annotations control whether + string- or integer-valued + columns are generated for basic attributes of enumerated types + and therefore impact the default column + mappings for these types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2139.1112.2.3The Column annotations + may be used to further control the column mappings for + attributes of enumerated types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2139.2112.2.3The MapKeyColumn annotations + may be used to further control the column mappings for + attributes of enumerated types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2140112.2.4The Temporal annotations control whether date-, time-, + or timestamp-value + columns are generated for basic attributes of temporal types, + and therefore impact the default column + mappings for these types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2140.1112.2.3The Column annotations + may be used to further control the column mappings for + attributes of temporal types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2140.2112.2.3The MapKeyColumn annotations + may be used to further control the column mappings for + attributes of temporal types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2141112.2.4The MapKeyTemporal annotations control whether date-, + time-, or timestamp-value + columns are generated for basic attributes of temporal types, + and therefore impact the default column + mappings for these types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2141.1112.2.4The Column annotations + may be used to further control the column mappings for + attributes of temporal types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2141.2112.2.4The MapKeyColumn annotations + may be used to further control the column mappings for + attributes of temporal types. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2142112.2.6The OrderColumn annotation specifies the generation of + a column that is used to maintain the + persistent + ordering of a list that is represented in an + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2142.1112.2.6element collectiontrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2142.2112.2.6one-to-many relationshiptrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2142.3112.2.6many-to-many relationshiptrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2142.4112.2.6nametrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2142.5112.2.6nullabletrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2142.6112.2.6columnDefinitiontrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2143112.2.7The DiscriminatorColumn annotation may be used to + control the mapping of the discriminator + column + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2144112.2.7A discriminator column is generated for the + SINGLE_TABLE mapping strategy + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2145112.2.7and may optionally be generated by the provider + for use with the JOINED inheritance + strategy + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2146112.2.8The Version annotation specifies the generation of a + column to serve as an entity's optimistic + lock. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2147112.2.8The Column annotation may be used to further + control the column mapping for a version + attribute. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2148112.3.1Use of the Id annotation results in the creation of a + primary key consisting of the + corresponding column or columns. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2149112.3.1The Column annotation may be used to further + control the column mapping for an Id + attribute that is applied to a basic type. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2150112.3.1If the Id column was defined in a mapped + superclass, the AttributeOverride + annotation may be used to control the column mapping. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2151112.3.1The JoinColumn annotation may be used to + further control the column mappings for an Id + attribute that is applied to a relationship that + corresponds to a foreign key. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2152112.3.1If the Id attribute was defined in a + mapped superclass, the AssociationOverride annotation + may be used to control the column + mapping. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2153112.3.2Use of the EmbeddedId annotation results in the + creation of a primary + key consisting of the corresponding columns + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2154112.3.2Use of the EmbeddedId annotation results in the + creation of a primary + key consisting of the corresponding columns + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2155112.3.2The Column annotation may be used to control + the column mapping for an embeddable + class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2156112.3.2If the + EmbeddedId attribute is defined in a mapped superclass, + the AttributeOverride annotation + may be used to control the column mappings. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2157112.3.2If an EmbeddedId attribute corresponds to a + relationship attribute, the MapsId + annotation must be + used, and the column mapping is determined by the join + column for the relationship. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2158112.3.3The GeneratedValue annotation indicates a primary key + whose value is to be generated by the + provider. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2159112.3.2If a strategy is indicated, the provider must + use it if it is supported by the target + database. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2160112.3.2specification of the AUTO strategy may result + in the provider creating a database + object for Id generation + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2161112.3.2The GeneratedValue annotation may only be + portably used for simple (i.e., + non-composite) + primary keys. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2162112.4.1The JoinColumn annotation is typically used in + specifying a foreign key mapping. In general, + the foreign + key definitions created will be provider-dependent and + database-dependent. Applications that are + sensitive to the exact mapping that is used should use the + foreignKey element of the JoinColumn + annotation or include DDL files that specify how the database + schemas are to be generated. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2163112.4.1nametrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2164112.4.1referencedColumnNametrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2165112.4.1uniquetrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2166112.4.1nullabletrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2167112.4.1columnDefinitiontrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2168112.4.1tabletrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2169112.4.1foreignKeytrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2170112.4.1The AssociationOverride annotation may be used + to override relationship mappings. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2171112.4.1The PrimaryKeyJoinColumn annotation is used to + join secondary tables and may be used + in the mapping of one-to-one relationships + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2172112.4.2The MapKeyJoinColumn annotation is to specify foreign + key mappings to entities that are map + keys + in map-valued element collections or relationships. In general, + the foreign key definitions created + should be expected to be provider-dependent and + database-dependent. Applications that are sensitive to + the exact mapping that is used should use the foreignKey element + of the MapKeyJoinColumn + annotation or include DDL files that specify how the database + schemas are to be generated. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2173112.4.2nametrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2174112.4.2referencedColumnNametrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2175112.4.2uniquetrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2176112.4.2nullabletrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2177112.4.2columnDefinitiontrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2178112.4.2tabletrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2179112.4.2foreignKeytrue +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2180112.4.2The AssociationOverride annotation may be used + to override such mappings. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2181112.4.3The PrimaryKeyJoinColumn annotation specifies that a + primary key column is to be used as a + foreign + key. This annotation is used in the specification of the JOINED + mapping strategy and for joining a + secondary table to a primary table in a OneToOne relationship + mapping. In general, the foreign key + definitions + created should be expected to be provider-dependent and + database-dependent. Applications + that are sensitive to the exact mapping that is used should use + the foreignKey element of the + PrimaryKeyJoinColumn + annotation or include DDL files that specify how the database + schemas are to + be generated. + true +
+
truetechnologyactivefalse
PERSISTENCE:SPEC:2182112.4.4The ForeignKey annotation may be used within the + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2182.1112.4.4JoinColumntrue +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2182.2112.4.4JoinColumnstrue +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2182.3112.4.4MapKeyJoinColumntrue +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2182.4112.4.4MapKeyJoinColumnstrue +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2182.5112.4.4PrimaryKeyJoinColumntrue +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2182.6112.4.4PrimaryKeyJoinColumnstrue +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2182.7112.4.4CollectionTabletrue +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2182.8112.4.4JoinTabletrue +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2182.9112.4.4SecondaryTable, + AssociationOverride + true +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2182.10112.4.4AssociationOverridetrue +
+
truetechnologyactivetrue
PERSISTENCE:SPEC:2189112.5.1The SequenceGenerator annotation creates a database + sequence to be used for Id generation. The + use of generators is limited to those databases that support + them. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2190112.5.2The Index annotation generates an index consisting of + the specified columns. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2191112.5.2The ordering of thenames in the columnList + element specified in the Index annotation + must be observed by the provider when creating the + index. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2192112.5.3The ordering of the column- + Names specified in the UniqueConstraint annotation must be + observed by the provider when creating + the constraint. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2193112.5.3The unique element is equivalent to the use of the + UniqueConstraint annotation when only one + column is to be included in the constraint + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2194112.5.3Columntrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2195112.5.3JoinColumntrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2196112.5.3MapKeyColumntrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2197112.5.3MapKeyJoinColumntrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2198121 + If the xml-mapping-metadata-complete subelement is specified, + the complete set of mapping + metadata for the persistence unit is contained in the XML + mapping files for the persistence unit, and + any + persistence annotations on the classes are ignored. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2199121 + If xml-mapping-metadata-complete is specified and XML elements + are omitted, the default + values apply. These default values are the same as the + corresponding defaults when annotations are + used, except in the cases specified in Section 12.2 below. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2200121 + When the xml-mapping-metadata-complete element is specified, any + metadata-complete attributes specified + within the entity, mapped-superclass, and embeddable elements + are ignored. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2201121 + If the xml-mapping-metadata-complete subelement is not + specified, the XML descriptor overrides the + values set or defaulted by the use of annotations, as described + below. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2202121 + The Jakarta Persistence 3.0 persistence provider must support use + of the object/relational mapping schema + defined in Jakarta Enterprise Beans, v. 4.0. Jakarta Persistence API. + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2203121 + The Jakarta Persistence persistence provider must support use of + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2203.1121 + older versions of the object/relational mapping schema + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2203.2121 + as well as the object/relational mapping schema defined + in Section 12.3 + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2203.3121whether singlytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2203.4121 + in combination when multiple mapping files are used. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1138122XML Overriding Rulestrue +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1139122.1persistent-unit-defaults Subelementstrue +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:2204122.1.1The schema subelement applies to all ... in the + persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2204.1122.1.1entitiestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2204.2122.1.1tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2204.3122.1.1secondary tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2204.4122.1.1join tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2204.5122.1.1collection tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2204.6122.1.1table generatorstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2204.7122.1.1sequence generatorstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2205122.1.1The schema subelement is overridden bytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2205.1122.1.1any schema subelement of the entity-mappings + element + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2205.2122.1.1any schema element explicitly specified in the + Table or SecondaryTable annotation + on an + entity + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2205.3122.1.1any schema attribute on any table or + secondary-table subelement defined within an + entity element + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2205.4122.1.1any schema element explicitly specified in a + TableGenerator annotation or + table-generator subelement + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2205.5122.1.1any schema element explicitly specified in a + SequenceGenerator annotation or + sequence-generator subelement + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2205.6122.1.1any schema element explicitly specified in a + JoinTable annotation or join-table + subelement + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2205.7122.1.1and any schema element explicitly specified in + a CollectionTable annotation or + collection-table subelement. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2206122.1.2The catalog subelement applies to all ... in the + persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2206.1122.1.2entitiestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2206.2122.1.2tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2206.3122.1.2secondary tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2206.4122.1.2join tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2206.5122.1.2collection tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2206.6122.1.2table generatorstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2206.7122.1.2sequence generatorstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2207122.1.2The catalog subelement is overridden bytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2207.1122.1.2any catalog subelement of the entity-mappings + element + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2207.2122.1.2any catalog element explicitly specified in the + Table or SecondaryTable annotation + on + an entity + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2207.3122.1.2any catalog attribute on any table or + secondary-table subelement defined within an + entity XML element + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2207.4122.1.2any catalog element explicitly specified in a + TableGenerator annotation or + table-generator subelement + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2207.5122.1.2any catalog element explicitly specified in a + SequenceGenerator annotation or + sequence-generator subelement + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2207.6122.1.2any catalog element explicitly specified in a + JoinTable annotation or join-table + subelement + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2207.7122.1.2and any catalog element explicitly specified in + a CollectionTable annotation or + collection-table subelement + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2208122.1.3It specifies that all database table-, schema-, and + column-level identifiers in use for the + persistence unit be treated as delimited identifiers. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2209122.1.4The access subelement applies to all managed classes in + the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2210122.1.4The access subelement is overriddentrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2210.1122.1.4by the use of any annotations specifying + mapping information on the fields or + properties of the entity class + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2210.2122.1.4by any Access annotation on the entity class, + mapped superclass, or embeddable + class + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2210.3122.1.4by any access subelement of the entity-mappings + element + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2210.4122.1.4by any Access annotation on a field or property + of an entity class, mapped + superclass, + or embeddable class + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2210.5122.1.4by any access attribute defined within an + entity, mapped-superclass, or embeddable + XML + element + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2210.6122.1.4by any access attribute defined within an id, + embedded-id, version, basic, + embedded, + many-to-one, one-to-one, one-to-many, many-to-many or + element-collection element. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2211122.1.5The cascade-persist subelement applies to all + relationships in the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2212122.1.5 + Specifying this subelement adds the cascade persist option to + all relationships in addition to any + settings specified in annotations or XML. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2213122.1.6 + The entity-listeners subelement defines default entity listeners + for the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2214122.1.6 + These entity listeners are called before any other entity + listeners for an entity unless the entity + listener order is overridden within a + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2214.1122.1.6mapped-superclasstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2214.2122.1.6entity elementtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2214.3122.1.6 + the ExcludeDefaultListeners annotation is present on the + entity or mapped superclass + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2214.4122.1.6 + the exclude-default-listeners subelement is specified + within the corresponding entity or + mapped-superclass XML element. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2215122.2.1The package subelement specifies the package of the + classes listed within the subelements and + attributes of the same mapping file only. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2216122.2.1The package subelement is overridden if the fully + qualified class name is specified for a class + and the two disagree. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2217122.2.2The schema subelement applies to all ... listed within + the same mapping file. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2217.1122.2.2entitiestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2217.2122.2.2tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2217.3122.2.2secondary tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2217.4122.2.2join tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2217.5122.2.2collection tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2217.6122.2.2table generatorstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2217.7122.2.2sequence generatorstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2218122.2.2The schema subelement is overridden bytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2218.1122.2.2 + any schema element explicitly specified in the Table, + SecondaryTable, JoinTable, or + CollectionTable annotation on an entity listed within + the mapping file + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2218.2122.2.2 + any schema attribute on any table or secondary-table + subelement defined within the entity + element for such an entity + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2218.3122.2.2 + any schema attribute on any join-table or + collection-table subelement of an attribute + defined + within the attributes subelement of the entity element + for such an entity + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2218.4122.2.2 + by the schema attribute of any table-generator or + sequence-generator element within the + mapping + file. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2219122.2.3The catalog subelement applies to all ... listed within + the same mapping file. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2219.1122.2.3entitiestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2219.2122.2.3tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2219.3122.2.3secondary tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2219.4122.2.3join tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2219.5122.2.3collection tablestrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2219.6122.2.3table generatorstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2219.7122.2.3sequence generatorstrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2220122.2.3The catalog subelement is overridden bytrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2220.1122.2.3any catalog element explicitly specified in the + Table, SecondaryTable, JoinTable, + or + CollectionTable annotation on an entity listed within + the mapping file + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2220.2122.2.3 + any catalog attribute on any table or secondary-table + subelement defined within the entity + element for such an entity + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2220.3122.2.3 + by any catalog attribute on any join-table or + collection-table subelement of an attribute + defined within the attributes subelement of the entity + element for such an entity + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2220.4122.2.3 + by the catalog attribute of any table-generator or + sequence-generator element within the + mapping + file. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2221122.2.4 + The access subelement applies to the managed classes listed + within the same mapping file. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2222122.2.4The access subelement is overriddentrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2222.1122.2.4by the use of any annotations specifying + mapping information + on the fields or properties of the entity class + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2222.2122.2.4by any Access annotation on the entity class, + mapped + superclass, or embeddable class + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2222.3122.2.4by any Access annotation on a field or property + of an entity class, + mapped superclass, or embeddable class + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2222.4122.2.4by any access attribute defined within an + entity, + mapped-superclass, or embeddable XML element + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2222.5122.2.4by any access attribute defined within an id, + embedded-id, version, basic, + embedded, + many-to-one, one-to-one, one-to-many, many-to-many, or + element-collection element. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2223122.2.5 + The generator defined by the sequence-generator subelement + applies to the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2224122.2.5 + It is undefined if multiple mapping files for the persistence + unit contain generators of the same name. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2225122.2.5The generator defined is added to any generators + defined in annotations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2226122.2.5If a generator of the same name is defined in + annotations, the generator defined by this + subelement overrides that definition. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2227122.2.6 + The generator defined by the table-generator subelement applies + to the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2228122.2.6 + It is undefined if multiple mapping files for the persistence + unit contain generators of the same name. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2229122.2.6The generator defined is added to any generators + defined in annotations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2230122.2.6If a generator of the same name is defined in + annotations, the generator defined by this + subelement overrides that definition. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2231122.2.7 + The named query defined by the named-query subelement applies to + the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2232122.2.7 + It is undefined if multiple mapping files for the persistence + unit contain named queries of the same + name. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2233122.2.7 + The named query defined is added to the named queries defined in + annotations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2234122.2.7 + If a named query of the same name is defined in annotations, the + named query defined by this subelement + overrides that definition. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2235122.2.8 + The named native query defined by the named-native-query + subelement applies to the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2236122.2.8 + It is undefined if multiple mapping files for the persistence + unit contain named queries of the same + name. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2237122.2.8 + The named native query defined is added to the named native + queries defined in annotations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2238122.2.8 + If a named query of the same name is defined in annotations, the + named query defined by this subelement + overrides that definition. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2239122.2.9 + The named stored procedure query defined by the + named-stored-procedure-query subelement applies to the + persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2240122.2.9 + It is undefined if multiple mapping files for the persistence + unit contain named stored procedure + queries of the same name. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2241122.2.9 + The named stored procedure query defined is added to the named + stored procedure queries defined in + annotations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2242122.2.9 + If a named stored procedure query of the same name is defined in + annotations, the named stored procedure + query defined by this subelement overrides that definition. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2243122.2.10 + The SQL result set mapping defined by the sql-result-set-mapping + subelement applies to the persistence + unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2244122.2.10 + It is undefined if multiple mapping files for the persistence + unit contain SQL result set mappings of + the same name. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2245122.2.10 + The SQL result set mapping defined is added to the SQL result + set mappings defined in annotations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2246122.2.10 + If a SQL result set mapping of the same name is defined in + annotations, the SQL result set mapping + defined by this subelement overrides that definition. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2247122.2.11 + The entity subelement defines an entity of the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2248122.2.11 + It is undefined if multiple mapping files for the persistence + unit contain entries for the same entity. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2249122.2.11 + The entity class may or may not have been annotated as Entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2250122.2.11 + The subelements and attributes of the entity element override as + specified in section 12.2.3. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2251122.2.12 + The mapped-superclass subelement defines a mapped superclass of + the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2252122.2.12 + It is undefined if multiple mapping files for the persistence + unit contain entries for the same mapped + superclass. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2253122.2.12 + The mapped superclass may or may not have been annotated as + MappedSuperclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2254122.2.12 + The subelements and attributes of the mapped-superclass element + override as specified in section 12.2.4. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2255122.2.13 + The embeddable subelement defines an embeddable class of the + persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2256122.2.13 + It is undefined if multiple mapping files for the persistence + unit contain entries for the same + embeddable class. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2257122.2.13 + The embeddable class may or may not have been annotated as + Embeddable. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2258122.2.13 + The subelements and attributes of the embeddable element + override as specified in section 12.2.5. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2259122.2.14 + The converter defined by the converter subelement applies to the + persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2260122.2.14 + It is undefined if multiple mapping files for the persistence + unit contain converters for the same + target type. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2261122.2.14 + The converter defined is added to the converters defined in + annotations. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2262122.2.14 + If a converter for the same target type is defined in + annotations, the converter defined by this + subelement overrides that definition. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2263122.3.1 + If the metadata-complete attribute of the entity element is + specified as true, any annotations on the + entity class (and its fields and properties) are ignored. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2264122.3.1 + When metadata-complete is specified as true and XML attributes + or sub-elements of the entity element are + omitted, the default values for those attributes and elements + are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2265122.3.2 + The access attribute overrides any access type specified by the + persistence-unit-defaults element or + entity-mappings element for the given entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2266122.3.2 + The access type for a field or property of the entity may be + overridden by specifying by overriding the + mapping for that field or property using the appropriate XML + subelement, as described in Section + 12.2.3.23 below. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2267122.3.3 + If the Cacheable annotation was specified for the entity, its + value is overridden by this attribute. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2268122.3.3 + The value of the cacheable attribute is inherited by subclasses + (unless otherwise overridden for a + subclass by the Cacheable annotation or cacheable XML + attribute). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2269122.3.4 + The name attribute overrides the value of the entity name + defined by the name element of the Entity + annotation (whether explicitly specified or defaulted). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2270122.3.5 + The table subelement overrides any Table annotation (including + defaulted Table values) on the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2271122.3.5 + If a table subelement is present, and attributes or subelements + of that table subelement are not + explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2272122.3.6 + The secondary-table subelement overrides all SecondaryTable and + SecondaryTables annotations (including + defaulted SecondaryTable values) on the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2273122.3.6 + If a secondary-table subelement is present, and attributes or + subelements of that secondary-table + subelement are not explicitly specified, their default values + are applied + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2274122.3.7 + The primary-key-join-column subelement overrides all + PrimaryKeyJoinColumn and PrimaryKeyJoinColumns + annotations (including defaulted PrimaryKeyJoinColumn values) on + the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2275122.3.7 + If a primary-key-join-column subelement is present, and + attributes or subelements of that + primary-key-join-column subelement are not explicitly specified, + their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2276122.3.8The id-class subelement overrides any IdClass + annotation specified on the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2277122.3.9 + The inheritance subelement overrides any Inheritance annotation + (including defaulted Inheritance values) + on the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2278122.3.9 + If an inheritance subelement is present, and the strategy + attribute is not explicitly specified, its + default value is applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2279122.3.9 + This element applies to the entity and its subclasses (unless + otherwise overridden for a subclass by an + annotation or XML element). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2280122.3.9 + Support for the combination of inheritance strategies is not + required by this specification. Portable + applications should use only a single inheritance strategy + within an entity hierarchy. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2281122.3.10 + The discriminator-value subelement overrides any + DiscriminatorValue annotations (including defaulted + DiscriminatorValue values) on the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2282122.3.11 + The discriminator-column subelement overrides any + DiscriminatorColumn annotation (including defaulted + DiscriminatorColumn values) on the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2283122.3.11 + If a discriminator-column subelement is present, and attributes + of that discriminator-column subelement + are not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2284122.3.11 + This element applies to the entity and its subclasses (unless + otherwise overridden for a subclass by an + annotation or XML element). + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2285122.3.12 + The generator defined by the sequence-generator subelement is + added to any generators defined in + annotations and any other generators defined in XML. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2286122.3.12 + If a generator of the same name is defined in annotations, the + generator defined by this subelement + overrides that definition. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2287122.3.12 + If a sequence-generator subelement is present, and attributes or + subelements of that sequence-generator + subelement are not explicitly specified, their default values + are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2288122.3.12 + The generator defined by the sequence-generator subelement + applies to the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2289122.3.12 + It is undefined if multiple mapping files for the persistence + unit contain generators of the same name. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2290122.3.13 + The generator defined by the table-generator subelement is added + to any generators defined in + annotations and any other generators defined in XML. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2291122.3.13 + If a generator of the same name is defined in annotations, the + generator defined by this subelement + overrides that definition. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2292122.3.13 + If a table-generator subelement is present, and attributes or + subelements of that table-generator + subelement are not explicitly specified, their default values + are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2293122.3.13The generator defined by the table-generator subelement + applies to the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2294122.3.13 + It is undefined if multiple mapping files for the persistence + unit contain generators of the same name. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2295122.3.14 + The attribute-override subelement is additive to any + AttributeOverride or AttributeOverrides annotations + on the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2296122.3.14 + It overrides any AttributeOverride elements for the same + attribute name. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2297122.3.14 + If an attribute-override subelement is present, and attributes + or subelements of that attribute-override + subelement are not explicitly specified, their default values + are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2298122.3.15 + The association-override subelement is additive to any + AssociationOverride or AssociationOverrides + annotations on the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2299122.3.15 + It overrides any AssociationOverride elements for the same + attribute name. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2300122.3.15 + If an association-override subelement is present, and attributes + or subelements of that + association-override subelement are not explicitly specified, + their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2301122.3.16 + The convert subelement is additive to any Convert or Converts + annotations on the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2302122.3.16 + It overrides any Convert elements for the same attribute name. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2303122.3.16 + If a convert subelement is present, and attributes or + subelements of that convert subelement are not + explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2472122.3.17 + The named-entity-graph subelement is additive to any + NamedEntityGraph annotations on the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2473122.3.17 + It overrides any NamedEntityGraph annotation with the same name. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2304122.3.18 + The named query defined by the named-query subelement is added + to any named queries defined in + annotations, and any other named queries defined in XML. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2305122.3.18 + If a named query of the same name is defined in annotations, the + named query defined by this subelement + overrides that definition + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2306122.3.18 + If a named-query subelement is present, and attributes or + subelements of that named-query subelement are + not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2307122.3.18 + The named query defined by the named-query subelement applies to + the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2308122.3.18 + It is undefined if multiple mapping files for the persistence + unit contain named queries of the same + name. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2309122.3.19 + The named query defined by the named-native-query subelement is + added to any named queries defined in + annotations, and any other named queries defined in XML. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2310122.3.19 + If a named query of the same name is defined in annotations, the + named query defined by this subelement + overrides that definition + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2311122.3.19 + If a named-native-query subelement is present, and attributes or + subelements of that named-native-query + subelement are not explicitly specified, their default values + are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2312122.3.19 + The named native query defined by the named-native-query + subelement applies to the persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2313122.3.19 + It is undefined if multiple mapping files for the persistence + unit contain named queries of the same + name. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2314122.3.20 + The named stored procedure query defined by the + named-stored-procedure-query subelement is added to any + named stored procedure queries defined in annotations, and any + other named stored procedure queries + defined in XML. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2315122.3.20 + If a named stored procedure query of the same name is defined in + annotations, the named stored procedure + query defined by this subelement overrides that definition. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2316122.3.20 + If a named-stored-procedure-query subelement is present, and + attributes or subelements of that + named-stored-procedure-query subelement are not explicitly + specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2317122.3.20 + The named stored procedure query defined by the + named-stored-procedure-query subelement applies to the + persistence unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2318122.3.20 + It is undefined if multiple mapping files for the persistence + unit contain named stored procedure + queries of the same name. + true +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2319122.3.21 + The SQL result set mapping defined by the sql-result-set-mapping + is added to the SQL result set mappings + defined in annotations, and any other SQL result set mappings + defined in XML. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2320122.3.21 + If a SQL result set mapping of the same name is defined in + annotations, the SQL result set mapping + defined by this subelement overrides that definition. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2321122.3.21 + If a sql-result-set-mapping subelement is present, and + attributes or subelements of that + sql-result-set-mapping subelement are not explicitly specified, + their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2322122.3.21 + The SQL result set mapping defined by the sql-result-set-mapping + subelement applies to the persistence + unit. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2323122.3.21 + It is undefined if multiple mapping files for the persistence + unit contain SQL result set mappings of + the same name. + false +
+
falsetechnologyactivefalse
PERSISTENCE:SPEC:2324122.3.22The exclude-default-listeners subelement applies + whether or not the ExcludeDefault- + Listeners annotation was specified on the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2325122.3.22This element causes the default entity listeners to be + excluded for the entity and its + subclasses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2326122.3.23 + The exclude-superclass-listeners subelement applies whether or + not the ExcludeSuperclassListeners + annotation was specified on the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2327122.3.23This element causes any superclass listeners to be + excluded for the entity and its subclasses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2328122.3.24The entity-listeners subelement overrides any + EntityListeners annotation on the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2329122.3.24These listeners apply to the entity and its subclasses + unless otherwise excluded. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2330122.3.25 + These subelements override any lifecycle callback methods + defined by the corresponding annotations on + the entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2330.1122.3.25pre-persisttrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2330.2122.3.25post-persisttrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2330.3122.3.25pre-removetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2330.4122.3.25post-removetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2330.5122.3.25pre-updatetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2330.6122.3.25post-updatetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2330.7122.3.25post-loadtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2331122.3.26The attributes element groups the mapping subelements + for the fields and properties of the + entity. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2332122.3.26It may be sparsely populated to include only a subset + of the fields and properties. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2333122.3.26If the value of metadata-complete is true, the + remainder of the attributes will be defaulted + according to the default rules. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2334122.3.26 + If metadata-complete is not specified, or is false, the mappings + for only those properties and fields + that are explicitly specified will be overridden. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2335122.3.26.1 + The id subelement overrides the mapping for the specified field + or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2336122.3.26.1 + If an id subelement is present, and attributes or subelements of + that id subelement are not explicitly + specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2337122.3.26.2 + The embedded-id subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2338122.3.26.2 + If an embedded-id subelement is present, and attributes or + subelements of that embedded-id subelement + are not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2339122.3.26.3 + The basic subelement overrides the mapping for the specified + field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2340122.3.26.3 + If a basic subelement is present, and attributes or subelements + of that basic subelement are not + explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2341122.3.26.4 + The version subelement overrides the mapping for the specified + field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2342122.3.26.4 + If a version subelement is present, and attributes or + subelements of that version subelement are not + explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2343122.3.26.5 + The many-to-one subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2344122.3.26.5 + If a many-to-one subelement is present, and attributes or + subelements of that many-to-one subelement are + not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2345122.3.26.6 + The one-to-many subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2346122.3.26.6 + If a one-to-many subelement is present, and attributes or + subelements of that one-to-many subelement are + not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2347122.3.26.7 + The one-to-one subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2348122.3.26.7 + If a one-to-one subelement is present, and attributes or + subelements of that one-to-one subelement are + not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2349122.3.26.8 + The many-to-many subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2350122.3.26.8 + If a many-to-many subelement is present, and attributes or + subelements of that many-to-many subelement + are not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2351122.3.26.9 + The element-collection subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2352122.3.26.9 + If an element-collection subelement is present, and attributes + or subelements of that element-collection + subelement are not explicitly specified, their default values + are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2353122.3.26.10 + The embedded subelement overrides the mapping for the specified + field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2354122.3.26.10 + If an embedded subelement is present, and attributes or + subelements of that embedded subelement are not + explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2355122.3.26.11 + The transient subelement overrides the mapping for the specified + field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2356122.4 + These apply only to the mapped-superclass for which they are + subelements or attributes, unless otherwise + specified below. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2357122.4.1 + If the metadata-complete attribute of the mapped-superclass + element is specified as true, any + annotations on the mapped superclass (and its fields and + properties) are ignored. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2358122.4.1 + When metadata-complete is specified as true and attributes or + sub-elements of the mapped-superclass + element are omitted, the default values for those attributes and + elements are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2359122.4.2 + The access attribute defines the access type for the mapped + superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2360122.4.2 + The access attribute overrides any access type specified by the + persistence-unit-defaults element or + entity-mappings element for the given mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2361122.4.2 + The access type for a field or property of the mapped superclass + may be overridden by specifying by + overriding the mapping for that field or property using the + appropriate XML subelement + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2362122.4.3 + The id-class subelement overrides any IdClass annotation + specified on the mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2363122.4.4 + The exclude-default-listeners subelement applies whether or not + the ExcludeDefault-Listeners annotation + was specified on the mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2364122.4.4 + This element causes the default entity listeners to be excluded + for the mapped superclass and its + subclasses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2365122.4.5 + The exclude-superclass-listeners subelement applies whether or + not the ExcludeSuperclassListeners + annotation was specified on the mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2366122.4.5 + This element causes any superclass listeners to be excluded for + the mapped superclass and its + subclasses. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2367122.4.6 + The entity-listeners subelement overrides any EntityListeners + annotation on the mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2368122.4.6 + These listeners apply to the mapped superclass and its + subclasses unless otherwise excluded. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2369122.4.7 + These subelements override any lifecycle callback methods + defined by the corresponding annotations on + the mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2369.1122.4.7pre-persisttrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2369.2122.4.7post-persisttrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2369.3122.4.7pre-removetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2369.4122.4.7post-removetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2369.5122.4.7pre-updatetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2369.6122.4.7post-updatetrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2369.7122.4.7post-loadtrue +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2370122.4.8 + The attributes element groups the mapping subelements for the + fields and properties defined by the + mapped superclass. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2371122.4.8 + It may be sparsely populated to include only a subset of the + fields and properties. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2372122.4.8 + If the value of metadata-complete is true, the remainder of the + attributes will be defaulted according + to the default rules + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2373122.4.8 + If metadata-complete is not specified, or is false, the mappings + for only those properties and fields + that are explicitly specified will be overridden. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2374122.4.8.1 + The id subelement overrides the mapping for the specified field + or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2375122.4.8.1 + If an id subelement is present, and attributes or subelements of + that id subelement are not explicitly + specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2376122.4.8.2 + The embedded-id subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2377122.4.8.2 + If an embedded-id subelement is present, and attributes or + subelements of that embedded-id subelement + are not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2378122.4.8.3 + The basic subelement overrides the mapping for the specified + field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2379122.4.8.3 + If a basic subelement is present, and attributes or subelements + of that basic subelement are not + explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2380122.4.8.4 + The version subelement overrides the mapping for the specified + field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2381122.4.8.4 + If a version subelement is present, and attributes or + subelements of that version subelement are not + explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2382122.4.8.5 + The many-to-one subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2383122.4.8.5 + If a many-to-one subelement is present, and attributes or + subelements of that many-to-one subelement are + not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2384122.4.8.6 + The one-to-many subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2385122.4.8.6 + If a one-to-many subelement is present, and attributes or + subelements of that one-to-many subelement are + not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2386122.4.8.7 + The one-to-one subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2387122.4.8.7 + If a one-to-one subelement is present, and attributes or + subelements of that one-to-one subelement are + not explicitly specified, their default values are applied + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2388122.4.8.8 + The many-to-many subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2389122.4.8.8 + If a many-to-many subelement is present, and attributes or + subelements of that many-to-many subelement + are not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2390122.4.8.9 + The element-collection subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2391122.4.8.9 + If an element-collection subelement is present, and attributes + or subelements of that element-collection + subelement are not explicitly specified, their default values + are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2392122.4.8.10 + The embedded subelement overrides the mapping for the specified + field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2393122.4.8.10 + If an embedded subelement is present, and attributes or + subelements of that embedded subelement are not + explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2394122.4.8.11 + The transient subelement overrides the mapping for the specified + field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2395122.5 + These apply only to the embeddable for which they are + subelements or attributes + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2396122.5.1 + If the metadata-complete attribute of the embeddable element is + specified as true, any annotations on + the embeddable class (and its fields and properties) are + ignored. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2397122.5.1 + When metadata-complete is specified as true and attributes and + sub-elements of the embeddable element + are omitted, the default values for those attributes and + elements are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2398122.5.2 + The access attribute defines the access type for the embeddable + class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2399122.5.2 + The access attribute overrides any access type specified by the + persistence-unit-defaults element or + entity-mappings element for the given embeddable class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2400122.5.2 + The access type for a field or property of the embeddable class + may be overridden by specifying by + overriding the mapping for that field or property using the + appropriate XML subelement + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2401122.5.3 + The attributes element groups the mapping subelements for the + fields and properties defined by the + embeddable class. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2402122.5.3 + It may be sparsely populated to include only a subset of the + fields and properties + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2403122.5.3 + If the value of metadata-complete is true, the remainder of the + attributes will be defaulted according + to the default rules + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2404122.5.3 + If metadata-complete is not specified, or is false, the mappings + for only those properties and fields + that are explicitly specified will be overridden. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2405122.5.3.1 + The basic subelement overrides the mapping for the specified + field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2406122.5.3.1 + If a basic subelement is present, and attributes or subelements + of that basic subelement are not + explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2407122.5.3.2 + The many-to-one subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2408122.5.3.2 + If a many-to-one subelement is present, and attributes or + subelements of that many-to-one subelement are + not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2409122.5.3.3 + The one-to-many subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2410122.5.3.3 + If a one-to-many subelement is present, and attributes or + subelements of that one-to-many subelement are + not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2411122.5.3.4 + The one-to-one subelement overrides the mapping for the + specified field or property + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2412122.5.3.4 + If a one-to-one subelement is present, and attributes or + subelements of that one-to-one subelement are + not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2413122.5.3.5 + The many-to-many subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2414122.5.3.5 + If a many-to-many subelement is present, and attributes or + subelements of that many-to-many subelement + are not explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2415122.5.3.6 + The element-collection subelement overrides the mapping for the + specified field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2416122.5.3.6 + If an element-collection subelement is present, and attributes + or subelements of that element-collection + subelement are not explicitly specified, their default values + are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2417122.5.3.7 + The embedded subelement overrides the mapping for the specified + field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2418122.5.3.7 + If an embedded subelement is present, and attributes or + subelements of that embedded subelement are not + explicitly specified, their default values are applied. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:2419122.5.3.8 + The transient subelement overrides the mapping for the specified + field or property. + true +
+
falsetechnologyactivetrue
PERSISTENCE:SPEC:1140122.2Other Subelements of the entity-mappings element + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1141122.3entity Subelements and Attributestrue +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1142122.4mapped-superclass Subelements and Attributes + true +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1143122.5embeddable Subelements and Attributestrue +
+
falsetechnologyremovedtrue
PERSISTENCE:SPEC:1144123XML Schematrue +
+
falsetechnologyremovedtrue
+ + diff --git a/jpa/docs/index.html b/jpa/docs/index.html new file mode 100755 index 0000000000..70064c4867 --- /dev/null +++ b/jpa/docs/index.html @@ -0,0 +1,63 @@ + + + + + + + --> + Welcome to the Jakarta Persistence TCK +
+

Welcome to the Jakarta EE Persistence TCK, Version 3.1

+

Your Starting Point

+
+
+

Guide to Jakarta EE Persistence TCK 3.2 Documentation

+

The Jakarta EE Persistence TCK 3.2 documentation includes the following:

+ +

+

+
+
Copyright © 2017, 2024 Oracle and/or its affiliates. All + rights reserved.
+
+

+
+ + diff --git a/jpa/docs/jpatck-ReleaseNotes-3.2.html b/jpa/docs/jpatck-ReleaseNotes-3.2.html new file mode 100644 index 0000000000..3f5621336c --- /dev/null +++ b/jpa/docs/jpatck-ReleaseNotes-3.2.html @@ -0,0 +1,130 @@ + + + + + + Jakarta EE Persistence Release Notes + + + +
+

Jakarta EE Persistence Technology Compatibility Kit, Version 3.2

+

Release Notes, April, 2024

+
+

Kit Contents

+

The Jakarta EE Persistence, Version 3.2 Technology Compatibility Kit + (TCK) includes the following items:

+
    +
  • +

    Jakarta EE Persistence TCK tests signature, API, and + End-to-End tests:

    +
  • +
      +
    • A signature test that checks that all of the + public APIs are supported in the Jakarta EE Persistence Version 3.2 + implementation that is being tested
    • +
    • API tests to verify the functionality of all the + public APIs under +
        +
      • jakarta.persistence
      • +
      • jakarta.persistence.criteria
      • +
      • jakarta.persistence.metamodel
      • +
      • jakarta.persistence.spi
      • +
      +
    • +
    • End-To-End tests that demonstrate compliance with + Jakarta EE Persistence API 3.2
    • +
    +
+
+

Jakarta EE Persistence TCK Facts

+
+

The test suite bundle contains the following:

+
    +

    +
  • 2059 total tests:
  • +
+
+
+

Platform Notes

+

The Jakarta EE Persistence TCK tests have been built with JDK 17 and + tested with JavaTM Platform, Standard + Edition 17 and 21.

+

The Jakarta EE Persistence TCK tests have been run on the following + platforms:

+
    +
  • Debian Linux 10
  • +
+

The Jakarta EE Persistence TCK tests have been run against the following + databases and drivers:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DatabaseDriverDriver Class
Apache Derby Version: 10.15.2.0Apache Derby Network Client JDBC Driver Version: + 10.15.2.0org.apache.derby.jdbc.ClientDriver
MySQL Community ServerMySQL Connector/Jcom.mysql.jdbc.Driver

+

+

+

+
+

The Jakarta EE Persistence TCK tests have been run against a Jakarta EE + Persistence 3.2 Compatible Implementation

+
+

Installing, Setting Up, and Running the + Jakarta EE Persistence TCK

+

Refer to the Jakarta EE + Persistence TCK 3.2 User's Guide (or PDF) for + complete instructions on installing, setting up, and running the Jakarta + EE Persistence TCK.

+

+
+

Copyright © 2017, 2024 Oracle and/or its affiliates. All + rights reserved.

+ + diff --git a/jpa/docs/userguide/README.md b/jpa/docs/userguide/README.md new file mode 100644 index 0000000000..a3ec2b697b --- /dev/null +++ b/jpa/docs/userguide/README.md @@ -0,0 +1,77 @@ +# A JBake project template + +## About JBake + +JBake is a static site generator, it's inspired from jekyll and written +in java. The basic idea is to have templates for the structure of the +page, and the body generated from asciidoc content. + +## Pre requisites + +- Maven +- JDK8+ + +Deploying to Github will require password less authentication. + +This is done by exporting your SSH public key into your Github account. + +## Build the site locally + +The site is generated under target/staging. + +Open file:///PATH_TO_PROJECT_DIR/target/staging in a browser to view the site. + +``` +mvn generate-resources +``` + +Or you can invoke the JBake plugin directly. + +``` +mvn jbake:build +``` + +### Rebuild the site on changes + +``` +mvn jbake:watch +``` + +If you keep this command running, changes to the sources will be +detected and the site will be rendered incrementally. + +This is convenient when writing content. + +### Serve the site locally + +``` +mvn jbake:serve +``` + +If a webserver is required (e.g. absolute path are used), this command +will start a webserver (jetty) at http://localhost:8820. It will also +watch for changes and rebuild incrementally. + +## Deploy the site to Github Pages + +``` +mvn deploy +``` + +## Produce a zip file for download + +To produce a zip file containing the generated html files, use: + +``` +mvn package +``` + +When making a release on GitHub, this zip file should be added to the release. + +## Links + +- [JBake maven plugin documentation](https://github.com/Blazebit/jbake-maven-plugin) +- [JBake documentation](http://jbake.org/docs/2.5.1) +- [Freemarker documentation](http://freemarker.org/docs) +- [AsciiDoc User Guide](http://asciidoc.org/userguide.html) +- [Asciidoctor quick reference](http://asciidoctor.org/docs/asciidoc-syntax-quick-reference) diff --git a/jpa/docs/userguide/pom.xml b/jpa/docs/userguide/pom.xml new file mode 100644 index 0000000000..6a0a42fd3d --- /dev/null +++ b/jpa/docs/userguide/pom.xml @@ -0,0 +1,283 @@ + + + + 4.0.0 + + org.eclipse.ee4j + project + 1.0.7 + + org.glassfish + tck_jpa + 3.1.0 + pom + Eclipse Foundation Technology Compatibility Kit User's Guide for Jakarta Persistence for Jakarta EE, Release 3.1 + + + scm:git:git@github.com:eclipse-ee4j/jakartaee-tck.git + + + + 2.2.1 + 2.2.2 + 1.6.2 + 2.5.3 + Jakarta-Persistence-TCK-Users-Guide.pdf + 2.3.30 + 0.3.3 + true + true + UTF-8 + ${project.build.directory}/staging + + + + + package + + + + org.apache.maven.plugins + maven-clean-plugin + 3.1.0 + + + org.glassfish.doc + glassfish-doc-maven-plugin + 1.3 + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0 + + + org.apache.maven.plugins + maven-assembly-plugin + 3.3.0 + + + org.apache.maven.plugins + maven-scm-publish-plugin + 3.1.0 + + + org.jbake + jbake-maven-plugin + ${jbake.maven.plugin.version} + + + org.asciidoctor + asciidoctorj + ${asciidoctorj.version} + + + org.asciidoctor + asciidoctorj-diagram + ${asciidoctorj.diagram.version} + + + org.freemarker + freemarker + ${freemarker.version} + + + + + org.asciidoctor + asciidoctor-maven-plugin + ${asciidoctorj.maven.plugin.version} + + + org.asciidoctor + asciidoctorj-pdf + ${asciidoctorj.pdf.version} + + + + + + + + com.diffplug.spotless + spotless-maven-plugin + 2.36.0 + + + + pom.xml + + + 4 + + recommended_2008_06 + + true + + true + + true + + + + + + check-spotless-poms + + check + + validate + + + + + org.apache.maven.plugins + maven-clean-plugin + + + + src/main/jbake/content + + toc.adoc + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-versions + + enforce + + + + + [11,) + You need Java SE 11 or newer + + + + + + + + org.glassfish.doc + glassfish-doc-maven-plugin + + + generate-book + + book + + generate-resources + + + generate-toc + + toc + + generate-resources + + [A-C0-9]+\s.*,Preface.*,Part\s.* + + + + + + org.jbake + jbake-maven-plugin + + ${site.output.dir} + + ${status} + + + + + build-site + + generate + + generate-resources + + + + + org.asciidoctor + asciidoctor-maven-plugin + + ${project.build.directory}/book + book.adoc + + ${project.build.directory}/staging/ + pdf + ${doc.pdf} + + ${project.basedir}/src/theme + jakartaee + book + ${status} + + + font + + + font + true + + - + true + true + + + + + generate-pdf-doc + + process-asciidoc + + generate-resources + + + + + org.apache.maven.plugins + maven-scm-publish-plugin + + + deploy-site + + publish-scm + + deploy + + gh-pages + false + Update site + + + + + + + diff --git a/jpa/docs/userguide/src/main/jbake/assets/README.md b/jpa/docs/userguide/src/main/jbake/assets/README.md new file mode 100644 index 0000000000..f8f962c0ab --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/assets/README.md @@ -0,0 +1,4 @@ +# About + +The {{site.title}} project contains the [AsciiDoc](http://asciidoc.org/) +source code for the ... diff --git a/jpa/docs/userguide/src/main/jbake/assets/_config.yml b/jpa/docs/userguide/src/main/jbake/assets/_config.yml new file mode 100644 index 0000000000..44e4462596 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/assets/_config.yml @@ -0,0 +1,14 @@ +remote_theme: jakartaee/jekyll-theme-jakarta-ee + +title: [tck_jpa_v3_1] +description: [Jakarta EE Persistence API Technology Compatibility Kit User's Guide, Release 3.1] + +# sidebar links url +links: + source: https://github.com/eclipse-ee4j/jakartaee-tck + download: https://jakarta.ee/specifications/persistence/3.1/ + #mailinglist: https://javaee.groups.io/g/tck_jpa_v2_2 + javadocs: https://jakarta.ee/specifications/persistence/3.1/ + docs: https://jakarta.ee/specifications/persistence/3.1/ + #faq: + diff --git a/jpa/docs/userguide/src/main/jbake/assets/css/style.css b/jpa/docs/userguide/src/main/jbake/assets/css/style.css new file mode 100644 index 0000000000..182f7559b6 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/assets/css/style.css @@ -0,0 +1,313 @@ +/* CSS */ +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ +/** 1. Set default font family to sans-serif. 2. Prevent iOS text size adjust after orientation change, without disabling user zoom. */ +html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } + +/* HTML5 display definitions ========================================================================== */ +/** Correct `block` display not defined for any HTML5 element in IE 8/9. Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox. Correct `block` display not defined for `main` in IE 11. */ +article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; } + +/** 1. Correct `inline-block` display not defined in IE 8/9. 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. */ +audio, canvas, progress, video { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ } + +/** Prevent modern browsers from displaying `audio` without controls. Remove excess height in iOS 5 devices. */ +audio:not([controls]) { display: none; height: 0; } + +/** Address `[hidden]` styling not present in IE 8/9/10. Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. */ +[hidden], template { display: none; } + +/* Links ========================================================================== */ +/** Remove the gray background color from active links in IE 10. */ +a { background-color: transparent; } + +/** Improve readability when focused and also mouse hovered in all browsers. */ +a:active, a:hover { outline: 0; } + +/* Text-level semantics ========================================================================== */ +/** Address styling not present in IE 8/9/10/11, Safari, and Chrome. */ +abbr[title] { border-bottom: 1px dotted; } + +/** Address style set to `bolder` in Firefox 4+, Safari, and Chrome. */ +b, strong { font-weight: bold; } + +/** Address styling not present in Safari and Chrome. */ +dfn { font-style: italic; } + +/** Address variable `h1` font-size and margin within `section` and `article` contexts in Firefox 4+, Safari, and Chrome. */ +h1 { font-size: 2em; margin: 0.67em 0; } + +/** Address styling not present in IE 8/9. */ +mark { background: #ff0; color: #000; } + +/** Address inconsistent and variable font size in all browsers. */ +small { font-size: 80%; } + +/** Prevent `sub` and `sup` affecting `line-height` in all browsers. */ +sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } + +sup { top: -0.5em; } + +sub { bottom: -0.25em; } + +/* Embedded content ========================================================================== */ +/** Remove border when inside `a` element in IE 8/9/10. */ +img { border: 0; } + +/** Correct overflow not hidden in IE 9/10/11. */ +svg:not(:root) { overflow: hidden; } + +/* Grouping content ========================================================================== */ +/** Address margin not present in IE 8/9 and Safari. */ +figure { margin: 1em 40px; } + +/** Address differences between Firefox and other browsers. */ +hr { box-sizing: content-box; height: 0; } + +/** Contain overflow in all browsers. */ +pre { overflow: auto; } + +/** Address odd `em`-unit font size rendering in all browsers. */ +code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } + +/* Forms ========================================================================== */ +/** Known limitation: by default, Chrome and Safari on OS X allow very limited styling of `select`, unless a `border` property is set. */ +/** 1. Correct color not being inherited. Known issue: affects color of disabled elements. 2. Correct font properties not being inherited. 3. Address margins set differently in Firefox 4+, Safari, and Chrome. */ +button, input, optgroup, select, textarea { color: inherit; /* 1 */ font: inherit; /* 2 */ margin: 0; /* 3 */ } + +/** Address `overflow` set to `hidden` in IE 8/9/10/11. */ +button { overflow: visible; } + +/** Address inconsistent `text-transform` inheritance for `button` and `select`. All other form control elements do not inherit `text-transform` values. Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. Correct `select` style inheritance in Firefox. */ +button, select { text-transform: none; } + +/** 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls. 2. Correct inability to style clickable `input` types in iOS. 3. Improve usability and consistency of cursor style between image-type `input` and others. */ +button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ } + +/** Re-set default cursor for disabled elements. */ +button[disabled], html input[disabled] { cursor: default; } + +/** Remove inner padding and border in Firefox 4+. */ +button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } + +/** Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet. */ +input { line-height: normal; } + +/** It's recommended that you don't attempt to style these elements. Firefox's implementation doesn't respect box-sizing, padding, or width. 1. Address box sizing set to `content-box` in IE 8/9/10. 2. Remove excess padding in IE 8/9/10. */ +input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } + +/** Fix the cursor style for Chrome's increment/decrement buttons. For certain `font-size` values of the `input`, it causes the cursor style of the decrement button to change from `default` to `text`. */ +input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } + +/** 1. Address `appearance` set to `searchfield` in Safari and Chrome. 2. Address `box-sizing` set to `border-box` in Safari and Chrome (include `-moz` to future-proof). */ +input[type="search"] { -webkit-appearance: textfield; /* 1 */ /* 2 */ box-sizing: content-box; } + +/** Remove inner padding and search cancel button in Safari and Chrome on OS X. Safari (but not Chrome) clips the cancel button when the search input has padding (and `textfield` appearance). */ +input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } + +/** Define consistent border, margin, and padding. */ +fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } + +/** 1. Correct `color` not being inherited in IE 8/9/10/11. 2. Remove padding so people aren't caught out if they zero out fieldsets. */ +legend { border: 0; /* 1 */ padding: 0; /* 2 */ } + +/** Remove default vertical scrollbar in IE 8/9/10/11. */ +textarea { overflow: auto; } + +/** Don't inherit the `font-weight` (applied by a rule above). NOTE: the default cannot safely be changed in Chrome and Safari on OS X. */ +optgroup { font-weight: bold; } + +/* Tables ========================================================================== */ +/** Remove most spacing between table cells. */ +table { border-collapse: collapse; border-spacing: 0; } + +td, th { padding: 0; } + +/* LAYOUT STYLES */ + +p { margin-top: 0; } + +code, pre { margin-bottom: 30px; font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; font-size: 13px; color: #222; } + +code { padding: 0 3px; background-color: #f2f8fc; border: solid 1px #dbe7f3; } + +pre { padding: 20px; overflow: auto; text-shadow: none; background: #fff; border: solid 1px #f2f2f2; } + +pre code { padding: 0; color: #2879d0; background-color: #fff; border: none; } + +ul, ol, dl { margin-bottom: 20px; } + +/* COMMON STYLES */ + +td.halign-right { text-align: right; } + +td.halign-center { text-align: center; } + +form { padding: 20px; background: #f2f2f2; } + +h2 { + font-size: 2em; + line-height: 1.2em; + font-weight: 200; + letter-spacing: 0; +} + +h3 { + font-size: 1.4em; + line-height: 1.2em; + font-weight: normal; + letter-spacing: 0; +} + +.sect1 { + margin-left: 4%; + margin-right: 4%; + font: 13px/20px Arial, Helvetica, sans-serif +} + +a:link { + text-decoration: none; + color: #09569d; +} + +#preamble hr{ + margin-left: 0%; + margin-right: 0%; +} + +#preamble .sectionbody table { + font-weight: 200; + margin-left: 4%; + margin-right: 4%; +} + +hr { + margin-bottom: 12px; +} + +table.tableblock.frame-all.grid-all.spread { + font-size: 12px; +} + +code { + font-size:.9em; + border: 1px solid #eaeaea; + background-color: #f6f6f6; + border-radius: 3px; + padding: 1px; + padding-left:2px; + padding-right:2px; +} + +pre.prettyprint.highlight { + border: 1px solid #eaeaea; + background-color: #f6f6f6; + border-radius: 4px; + padding: 8px; + padding-top:4px; + padding-bottom:4px; +} + +.language-oac_no_warn { + font-size:.9em; + color:#222; + background-color: transparent; +} + +#doc-title { + margin-left: 4%; +} + +#top-nav { + margin-left: 4%; + font-size: 12px; +} + +#bottom-nav { + margin-left: 4%; + font-size: 12px; +} + +.vector-font { + color:grey; + font-size: 20px; +} + +#copyright { + padding-top: 10px; + padding-bottom: 4px; + display: table; + margin:0 auto; + color: grey; + font-size: 12px; + vertical-align: middle; +} + +.beta {color: #FF0000} + +/* GENERAL ELEMENT TYPE STYLES */ + +/* #Media Queries +================================================== */ +/* Smaller than standard 960 (devices and browsers) */ +/* Tablet Portrait size to standard 960 (devices and browsers) */ +@media only screen and (min-width: 768px) and (max-width: 959px) { .inner { width: 740px; } + header h1, header h2 { width: 340px; } + header h1 { font-size: 60px; } + header h2 { font-size: 30px; } +} +/* All Mobile Sizes (devices and browser) */ +@media only screen and (max-width: 767px) { .inner { width: 93%; } + header { padding: 20px 0; } + header .inner { position: relative; } + header h1, header h2 { width: 100%; } + header h1 { font-size: 48px; } + header h2 { font-size: 24px; } + header a.button { position: relative; display: inline-block; width: auto; height: auto; padding: 5px 10px; margin-top: 15px; font-size: 13px; line-height: 1; color: #2879d0; text-align: center; background-color: #9ddcff; background-image: none; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; } + header a.button small { display: inline; font-size: 13px; } +} +/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */ +/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */ + +header h1 { padding-top: 14px; font-size: 2em; font-weight: 200; line-height: 1.4; color: #FFFFFF; letter-spacing: 0px; border-bottom: 0px; } + +header h2 { font-size: 1.2em; margin-top: 0; margin-bottom: 0; font-weight: 200; line-height: .8; color: #ec7D11; letter-spacing: 0; } + +//header a.button { background: transparent url(../images/logo.png) 0 0 no-repeat; padding-left: 32px; } + +header a:hover { text-decoration: none; } + +/* Admonition (Note) block */ +.admonitionblock > table { + border: 0; + background: none; + width: 100%; + table-layout: auto; + margin-bottom: 10.5px; +} +.admonitionblock > table td.icon { + text-align: center; + width: 60px; +} +.admonitionblock > table td.icon img { + max-width: none; +} +.admonitionblock > table td.icon .title { + text-transform: uppercase; +} +.admonitionblock > table td.content { + padding-left: 1em; + padding-right: 1em; + border-left: 3px solid #ddd; +} +.admonitionblock > table td.content > :last-child > :last-child { + margin-bottom: 0; +} +.admonitionblock td.icon [class^="fa icon-"]:before { + font-size: 2.5em; + text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); + cursor: default; +} +.admonitionblock td.icon .icon-note:before { + content: "\f05a"; + color: #5bc0de; +} diff --git a/jpa/docs/userguide/src/main/jbake/assets/img/eclipse_foundation_logo_tiny.png b/jpa/docs/userguide/src/main/jbake/assets/img/eclipse_foundation_logo_tiny.png new file mode 100644 index 0000000000000000000000000000000000000000..ee830aeb9332b27a4b4b16ab4b7b452d3db1b23b GIT binary patch literal 3612 zcmV+%4&(8OP)}6qTo5r>1r>2e8xyQrMLX89RqIk)9c`5wb*#8BBG!#o z#8z#rjJDOfOjQ(G?Lt))663gn3xXRF5s=3s5A+du+pmA*M6P+s@0Z^L3Oeu1WL|z* zZtlHjx#xV(xvxM9g^rG92kP%`Ko4MF;4okyP!F^Ki-1|cOF$E_PP2n{x@fDSLaCdf zqxS`d13v{$0cwGEVeV(Z7s6~!UU7kGz`MXwpr{H=7i~GJNoq2HW(S0hek3p&_`cj; z2s{D!z&pUlnjM6R_jd!n4eTbGy{c=9w=#_uCKoh2D29%H888m$Be%x@j{u7_J7_Is z=H*%esL|}8rE7|}GK#f1boB9|qZj3PH+1y9Lr1StpNpR@)lTxfi?$L5%lRb=ll{=q zcj;o-H-l77Jp#C1e!c~qrP;yaG}GKgU(+=@boAc9gTRTvI^ZzP4&Lly@;6VThYOPd zF5Xm3woIeb_tWm>z1EpFH@2OPnS+fTS1yefFyvm~Y~XF+K+O(XRYuE4yH(hBtLyn~ zSp#rAKmOfIK$!kwVHN-p>A=i_JPceN507G2M8u2A@D6#@TBA1%`;2v(4VFBIjS zc6B^z|I)5org4abse1w4fmOhpz*Da02U+b{rcnb_S2*wMg;zx&j*!}Gh!C!m<-!D@ zEsmuV@%Fk3KX^NES=!(&)6gu_I2yPbFftf2S^6^@Xj3NQN?^P)sO}Z^YaTF2&aVY- zQtk~Ez-Om2!m<*09JoWkp`tRjxSv&)X&eLm0oXHZjx5ud3S8xS{s$?{o}yUVytISN zTX$eCa3pYXl}K4npaFPMvx8!WB-07WN@H?AU=r|D7L$ce1zrHIvrMChG68D4YdX=d z&$Id{LjHMhPdV^o>^1regC&gaR%)0S!Mn_?N7DjeGvVy*51 zo(1ZFXMjO9vOYtERezSFv7$Uz3eT=rCrn{-E$}EXBJuq5z(>;N?!eJ{ufo0eC;BhO`2vG*rr)Pt%M^2_{b!^SumcmQL0I+XJ@%`v5-! zR%NY)n~~Z98j;~8c(~PzfOFRoq!>VVvKM-e{sUXO#}V|+z8wc z{Jl(n?f~vCqhRg83h^OUD%Tg*upuF_w1TWtgX{Tuv|rWc{eT}Sw;lv8a6LavI4+^< z`Kv9{I0dM8J-=xSFgd11*Yg`w9LXmv)7S<0oj6N_g|V~c(cVfM?X_>|~ zL>a$bVi{2w-zID5rg|iatXzHCX{6dIraliwM@fs zJ%4TqW^XG;DcU{@?5Pp%PXmUD)-BI50c*>|);$s$->jfCg}B38xkgt3Gjc$YD}me6 z#^ZYarxG@ewoGG)Ab^8`1AxQD5w4bbe-7BO#C$XpRr6#~w-j8U1LAc*@K>N;4n{Wv zdkBn|7cg0&gk#kbyWjma(CBjXF>tNx`CcM&=pewZ=g$*VE`FxFAbb}KANpCQagyu# z|H$~(4T3hdm9apn!cZd>B{L+BJ|T4UIc3)B0uaWIR!--o%`%O51PG}Dj<8H)pzHYy zGBDoGc%_?z0>KtkbJ!v%;%wki*YoEH5>`~#ak zT8TzF<#nUkK||>1w}^z@q1nOuO%Yxt%-+MYR%wDYUuT)d`62{g;>3xGI?(m}*S8Rp z+XV}skpN8EfTkEnkUkexZI%dQ954Vl%Juw4RalkrR3+xJl(x2amdOA$aonug!NZ}W zj|6T8Mwf}Fhg+txx{PPO$o2eB6e)krGL5Hz(-g0@zhxR1x}HB@odC-;4iFS*U&}Pk zOu&mJz2XW&qFfND>-kG64F3v(a_uU=eakdXjI&e;Ix~S3zFOi_11-}yyo4|m#1DGQ z_57AJ(~ZLHvqMLp5jwh|*?}JeD91h8!JB?M$0SVzu1H)v3)r6xK>snohn8ssz#O@D zFtD@o&Sc9p4stzzPRciSuuP*Iv+s00|I$t>LZOo(*%;s<`MozV-!hGvz)V>Rb^=BU z#2eE**Ylq((e6cZl=Gi<2bQFHmT`G6a(<+&)q`@z)wx0w(W+M9J0d7*HK`8#K#rXg z4&6T!j$c)U{b)_GHd$>Il>1ekVYF!YyVfIRa1b-}pJB*I`-z5@DcX39-jsL8@Si?{Dmn? zOd$Pj$!UGoWP07|4~5z7p`*`IB)&}~vb_S6wnb3K18aGzxwQ-E&)+sFYCc>g)D z-1Yo5DQoOhqO@i)XFrlzv`g4fMUwP07K+1Is{%WfYP9sX8F<7pjsMCR`^eu~2{l)W zrD}*16)Efe1i-0atnK7WHH%npqT1{%upz5Ps$A_Hj^Ch()B6Rc`;CsLanjL&7*Xkuy3)D8` z-j0IEwMw5?0WWBF5QdIkNUM>H#}PXES-=OtD=GWSdIQI%c0b^d;yCnl{ii`<|0`hR81_3iCiz? zXFIT7vx8;{PxFrD1fqJg(=zKO=;gqNa?GdW z?u|B)vH?JKVr|(~)}Jisu1AWgYbznC^_m_0k*Jz<98oQGISe}PPY(evR;76M!^KoD z3myGZqMZ&+$WGJEu!T4VmiAPakhiSmUoJ+A&d%$*t0t0Yt@m z4Zw@ZXhD35UPL866T~Up1~@)+^u0F2?$YVvWj~Ox1e4_NBc-5b%?_RcMv34S%VOP? zfaYoLyFydM1AIJm^!LT<9wyGqxQur$73rK8I{JK~eC`6GeM?D36h+Hp4P6pC`WW$A zv$hjyfU9U@6Ywj|4rV7p!oi{)6E!=yLechqM0>1$E!cJ1H_E}o?aBVhx0i&DemU^x z(9zclj=u*{xz#Am4i;vljMeWwAj`|pjn(KP(awq44%SG*;#}Z$G4WRs?YUl+ z7Vv9!@D@=v=OJ)hF{*bhbVK0000` becomes `$JAVA_HOME` on +Solaris/Linux and `%JAVA_HOME%` on Windows. In addition, the forward +slashes (`/`) used in all of the examples need to be replaced with +backslashes (`\`) for Windows. Finally, be sure to use the appropriate +separator for your operating system when specifying multiple path +entries (`;` on Windows, `:` on UNIX/Linux). + +On Windows, you must escape any backslashes with an extra backslash in +path separators used in any of the following properties, or use forward +slashes as a path separator instead. + + +======================================================================= + + +1. Set the following environment variables in your shell environment: + a. `JAVA_HOME` to the directory in which Java SE {SEversion} is installed + b. `M2_HOME` to the directory in which the Apache Maven build tool is installed. + c. +{TechnologyHomeEnv}+ to the directory in which the {TechnologyShortName} + {TechnologyVersion} CI has been installed + d. `PATH` to include the following directories: `JAVA_HOME/bin`, + and `M2_HOME/bin` +2. set the following system properties: + a. Set `jpa.classes` to include all of the necessary JAR files that + pertain to your implementation. + b. Set `jdbc.lib.classpath` to the location where the JDBC drivers are + installed. + c. Set `jdbc.db` to the name of the database under test. Valid values + include: ++ +-- +[source,oac_no_warn] +---- +derby +mysql +sybase +db2 +mssqlserver +oracle +postgresql +---- +-- ++ + d. Set `jakarta.persistence.provider`, `jakarta.persistence.jdbc.driver`, + `jakarta.persistence.jdbc.url`, `jakarta.persistence.jdbc.user`, and + `jakarta.persistence.jdbc.password` to the appropriate values for the + database and persistence provider under test. + + These properties are passed to the Persistence provider during the + creation of the `EntityManagerFactory`. Any additional values, for + example setting an implementation's logging level, must be set by + following the instructions in Step 2e. + e. Set the `jpa.provider.implementation.specific.properties` property + to include any implementation-specific settings that need to be passed + to the provider when the `EntityManagerFactory` is created. + f. Set `sigTestClasspath` to include any additional classes not + specified with the `jpa.classes` property. + g. Set db.supports.sequence to false if the database does not support + the use of SEQUENCE. + + The default value is true. + h. Set `persistence.second.level.caching.supported` to false if your + persistence provider does not support second level caching. + + The default value is true. ++ +3. If you are using MySQL or MS SQL Server, do the following: + a. If you are using MySQL, see link:#GJLIB[Section 4.3.1, "Setup + Considerations for MySQL,"] and proceed to Step 4. + b. If you are using MS SQL Server, see link:#GJLHU[Section 4.3.2, "Setup + Considerations for MS SQL Server,"] and proceed to Step 4. ++ +4. Start the database under test. +5. Initialize the database under test. + +Execute following SQL scripts for database initilization: + a. .ddl.persistence.sql + b. .ddl.persistence.sprocs.sql + + +[[GCLHU]][[configuring-your-environment-to-repackage-and-run-the-tck-against-the-vendor-implementation]] + +4.2 Configuring Your Environment to Repackage and Run the TCK Against the Vendor Implementation +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +[NOTE] +======================================================================= + +In these instructions, variables in angle brackets need to be expanded +for each platform. For example, `` becomes `$JAVA_HOME` on +Solaris/Linux and `%JAVA_HOME%` on Windows. In addition, the forward +slashes (`/`) used in all of the examples need to be replaced with +backslashes (`\`) for Windows. Finally, be sure to use the appropriate +separator for your operating system when specifying multiple path +entries (`;` on Windows, `:` on UNIX/Linux). + +On Windows, you must escape any backslashes with an extra backslash in +path separators used in any of the following properties, or use forward +slashes as a path separator instead. + +======================================================================= + +Adapt the instructions above as appropriate for your implementation. + + +[[GHGDG]][[setup-considerations]] + +4.3 Setup Considerations +~~~~~~~~~~~~~~~~~~~~~~~~ + + +[[GJLIB]][[setup-considerations-for-mysql]] + +=== 4.3.1 Setup Considerations for MySQL + +The {TechnologyFullName} tests require delimited identifiers for +the native query tests. If you are using delimited identifiers on MySQL, +modify the `sql-mode` setting in the `my.cnf` file to set the +ANSI_QUOTES option. After setting this option, reboot the MySQL server. +Set the option as shown in this example: + +[source,oac_no_warn] +---- +sql-mode= + "STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,ANSI_QUOTES" +---- + +[[GJLHU]][[setup-considerations-for-ms-sql-server]] + +=== 4.3.2 Setup Considerations for MS SQL Server + +If your database already exists and if you use a case-sensitive +collation on MS SQL Server, execute the following command to modify the +database and avert errors caused by case-sensitive collation: + +[source,oac_no_warn] +---- +ALTER DATABASE ctsdb COLLATE Latin1_General_CS_AS ; +---- + diff --git a/jpa/docs/userguide/src/main/jbake/content/debug-tips.inc b/jpa/docs/userguide/src/main/jbake/content/debug-tips.inc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/jpa/docs/userguide/src/main/jbake/content/debug.adoc b/jpa/docs/userguide/src/main/jbake/content/debug.adoc new file mode 100644 index 0000000000..c7cb3cb77b --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/debug.adoc @@ -0,0 +1,78 @@ +type=page +status=published +title=Debugging Test Problems +next=faq.html +prev=using.html +~~~~~~ +include::attributes.conf[] +Debugging Test Problems +======================= + +[[GBFUV]] + + +[[debugging-test-problems]] +6 Debugging Test Problems +------------------------- + +There are a number of reasons that tests can fail to execute properly. +This chapter provides some approaches for dealing with these failures. + +This chapter includes the following topics: + +* link:#GBFYP[Overview] +* link:#GBFVF[Test Information] +* link:#GBFWI[Configuration Failures] + + +[[GBFYP]][[overview]] + +6.1 Overview +~~~~~~~~~~~~ + +The goal of a test run is for all tests in the test suite that are not +filtered out to have passing results. If the root test suite folder +contains tests with errors or failing results, you must troubleshoot and +correct the cause to satisfactorily complete the test run. + +* Errors: Tests with errors could not be executed by the Junit +framework. These errors usually occur because the test environment is not +properly configured. +* Failures: Tests that fail were executed but had failing results. + + +For every test run, the Junit framework creates a set of report files +in the target directory. + +[NOTE] +======================================================================= + +You can set `junit.log.traceflag=true` as System property to +get more debugging information. + +======================================================================= + +If a large number of tests failed, you should read +link:#GBFYF[Configuration Failures] to see if a +configuration issue is the cause of the failures. + + +[[GBFVF]][[test-information]] + +6.2 Test Information +~~~~~~~~~~~~~~~~~~~~ + +If you need more information to identify the cause of the error or +failure, use the Junit reports generated after running the tests. + + +[[GBFWI]][[configuration-failures]] + +6.3 Configuration Failures +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Configuration failures are easily recognized because many tests fail the +same way. When all your tests begin to fail, you may want to stop the +run immediately and start viewing individual test output. + +include::debug-tips.inc[] diff --git a/jpa/docs/userguide/src/main/jbake/content/defns.inc b/jpa/docs/userguide/src/main/jbake/content/defns.inc new file mode 100644 index 0000000000..038db2dda3 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/defns.inc @@ -0,0 +1,46 @@ +// NOTE TO WRITERS: +// Most technologies will only need the compatibility rules in rules.adoc. +// Some technologies will need additional definitions to go with additional +// rules. If they're needed, remove the comment characters below +// and update the definitions as appropriate. +// +// The first block below is additional definitions needed by +// Jakarta XML Web Services. +// +// The second block below is additional defintions needed by +// Jakarta Server Pages. +// +// NOTE: This set of examples is NOT complete, but should be. +// +// +// Jakarta XML Web Services +// +// |Development Kit |A software product that implements or incorporates a +// Compiler, a Schema Compiler, a Schema Generator, a Java-to-WSDL Tool, a +// WSDL-to-Java Tool, and/or an RMI Compiler. +// +// |Java-to-WSDL Output |Output of a Java-to-WSDL Tool that is required for +// Web service deployment and invocation. +// +// |Java-to-WSDL Tool |A software development tool that implements or +// incorporates a function that generates web service endpoint descriptions +// in WSDL and XML schema format from Source Code as specified by the +// Jakarta XML Web Services Specification. +// +// |WSDL-to-Java Output |Output of a WSDL-to-Java tool that is required for +// Web service deployment and invocation. +// +// |WSDL-to-Java Tool |A software development tool that implements or +// incorporates a function that generates web service interfaces for +// clients and endpoints from a WSDL description as specified by the +// Jakarta XML Web Services Specification. +// +// +// Jakarta Server Pages +// +// |Jakarta Server Page |A text-based document that uses Jakarta Server +// Pages technology. +// +// |Jakarta Server Page Implementation Class |A program constructed by +// transforming the Jakarta Server Page text into a Java language program +// using the transformation rules described in the Specifications. diff --git a/jpa/docs/userguide/src/main/jbake/content/faq.adoc b/jpa/docs/userguide/src/main/jbake/content/faq.adoc new file mode 100644 index 0000000000..012bd5860c --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/faq.adoc @@ -0,0 +1,55 @@ +type=page +status=published +title=Appendix A: Frequently Asked Questions +next=rebuild.html +prev=debug.html +~~~~~~ +include::attributes.conf[] +Appendix A: Frequently Asked Questions +====================================== + +[[GBFYD]] + + +[[a-frequently-asked-questions]] +A Frequently Asked Questions +---------------------------- + +This appendix contains the following questions. + +* link:#GBFYQ[Where do I start to debug a test failure?] +* link:#GBFYR[How do I restart a crashed test run?] +* link:#GBFWU[What would cause tests be added to the exclude list?] + +[[GBFYQ]][[a.1-where-do-i-start-to-debug-a-test-failure]] + +A.1 Where do I start to debug a test failure? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +See link:debug.html#GBFUV[Chapter 6, "Debugging Test Problems,"] for more +information. + + +[[GBFYR]][[a.2-how-do-i-restart-a-crashed-test-run]] + +A.2 How do I restart a crashed test run? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +If you need to restart a test run, you can figure out which test crashed +the test suite by looking at the logs. + +[[GBFWU]][[a.3-what-would-cause-tests-be-added-to-the-exclude-list]] + +A.3 What would cause tests be added to the exclude list? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The exclude file (+{excludeListFileName}+) contains all tests that are not +required to be run. The file is used only for documentation purpose. The tests are excluded using +@Disabled tag in Junit when necessary. The following is a list of reasons for a test to be +included in the Exclude List: + +* An error in a Compatible Implementation that does not allow the test to +execute properly has been discovered. +* An error in the specification that was used as the basis of the test +has been discovered. +* An error in the test has been discovered. diff --git a/jpa/docs/userguide/src/main/jbake/content/install-server-vi.inc b/jpa/docs/userguide/src/main/jbake/content/install-server-vi.inc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/jpa/docs/userguide/src/main/jbake/content/install-server.inc b/jpa/docs/userguide/src/main/jbake/content/install-server.inc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/jpa/docs/userguide/src/main/jbake/content/install.adoc b/jpa/docs/userguide/src/main/jbake/content/install.adoc new file mode 100644 index 0000000000..fa0a09f677 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/install.adoc @@ -0,0 +1,79 @@ +type=page +status=published +title=Installation +next=config.html +prev=rules.html +~~~~~~ +include::attributes.conf[] +Installation +============ + +[[GBFTP]] + + +[[installation]] +3 Installation +-------------- + +This chapter explains how to install the {TechnologyFullName} TCK software. + +After installing the software according to the instructions in this +chapter, proceed to link:config.html#GBFVV[Chapter 4, "Setup and +Configuration,"] for instructions on configuring your test environment. + +[[GBFUD]][[obtaining-the-reference-implementation]] + +3.1 Obtaining a Compatible Implementation +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Each compatible implementation (CI) will provide instructions for obtaining +their implementation. +{TechnologyRI} is a compatible implementation which may be obtained +from {TechnologyRIURL} + +[[GBFTS]][[installing-the-software]] + +3.2 Installing the Software +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Before you can run the {TechnologyShortName} TCK tests, you must +install and set up the following software components: + +include::req-software.inc[] +* Java SE {SEversion} +* Apache Maven {MavenVersion} +* A CI for {TechnologyShortName} {TechnologyVersion}, one example is {TechnologyRI} +* {TechnologyShortName} TCK version {TechnologyVersion}, which includes: +include::tck-packages.inc[] +* The {TechnologyShortName} {TechnologyVersion} Vendor Implementation (VI) + +Follow these steps: + +. Install the Java SE {SEversion} software, if it is not already installed. + +Download and install the Java SE {SEversion} software from +http://www.oracle.com/technetwork/java/javase/downloads/index.html. +Refer to the installation instructions that accompany the software for +additional information. +. Install the Apache Maven {MAvenVersion} software, if it is not already installed. + +Download and install Apache MAven {AntVersion} software from Apache Maven +Project. +. Install the {TechnologyShortName} TCK {TechnologyVersion} software. + a. Copy or download the {TechnologyShortName} TCK software to your + local system. + + You can obtain the {TechnologyShortName} TCK software from the + Jakarta EE site {SpecificationURL}. + b. Use the `unzip` command to extract the bundle in the directory of + your choice: + + +unzip {TCKPackageName}+ + +include::install-server.inc[] +. Install a {TechnologyShortName} {TechnologyVersion} Compatible +Implementation. + +A Compatible Implementation is used to validate your initial +configuration and setup of the {TechnologyShortName} TCK +{TechnologyVersion} tests, which are explained further in +link:config.html#GBFVV[Chapter 4, "Setup and Configuration."] + +The Compatible Implementations for {TechnologyShortName} are listed on +the Jakarta EE Specifications web site: {SpecificationURL}. +include::install-server-vi.inc[] +. Install the {TechnologyShortName} VI to be tested. + +Follow the installation instructions for the particular VI under test. diff --git a/jpa/docs/userguide/src/main/jbake/content/intro.adoc b/jpa/docs/userguide/src/main/jbake/content/intro.adoc new file mode 100644 index 0000000000..4aa29c3227 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/intro.adoc @@ -0,0 +1,291 @@ +type=page +status=published +title=Introduction +next=rules.html +prev=preface.html +~~~~~~ +include::attributes.conf[] +Introduction +============ + +[[GBFOW]] + + +[[introduction]] +1 Introduction +-------------- + +This chapter provides an overview of the principles that apply +generally to all Technology Compatibility Kits (TCKs) and describes the +{TechnologyFullName} TCK ({TechnologyShortName} {TechnologyVersion} TCK). +It also includes a high level listing +of what is needed to get up and running with the {TechnologyShortName} +TCK. + +This chapter includes the following topics: + +* link:#GBFTK[Compatibility Testing] +* link:#GBFQR[About the TCK] +* link:#GBFQW[Getting Started With the TCK] + +[[GBFTK]][[compatibility-testing]] + +1.1 Compatibility Testing +~~~~~~~~~~~~~~~~~~~~~~~~~ + +Compatibility testing differs from traditional product testing in a +number of ways. The focus of compatibility testing is to test those +features and areas of an implementation that are likely to differ across +other implementations, such as those features that: + +* Rely on hardware or operating system-specific behavior +* Are difficult to port +* Mask or abstract hardware or operating system behavior + +Compatibility test development for a given feature relies on a complete +specification and compatible implementation (CI) for that feature. +Compatibility testing is not primarily concerned with robustness, +performance, nor ease of use. + +[[GBFQN]][[why-compatibility-testing-is-important]] + +1.1.1 Why Compatibility Testing is Important +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Jakarta platform compatibility is important to different groups involved +with Jakarta technologies for different reasons: + +* Compatibility testing ensures that the Jakarta platform does not become +fragmented as it is ported to different operating systems and hardware +environments. +* Compatibility testing benefits developers working in the Jakarta +programming language, allowing them to write applications once and then +to deploy them across heterogeneous computing environments without +porting. +* Compatibility testing allows application users to obtain applications +from disparate sources and deploy them with confidence. +* Conformance testing benefits Jakarta platform implementors by ensuring a +level playing field for all Jakarta platform ports. + +[[GBFPR]][[tck-compatibility-rules]] + +1.1.2 TCK Compatibility Rules +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Compatibility criteria for all technology implementations are embodied +in the TCK Compatibility Rules that apply to a specified technology. +Each TCK tests for adherence to these Rules as described in +link:rules.html#GBFSN[Chapter 2, "Procedure for Certification."] + +[[GBFPW]][[tck-overview]] + +1.1.3 TCK Overview +^^^^^^^^^^^^^^^^^^ + +A TCK is a set of tools and tests used to verify that a vendor's compatible +implementation of a Jakarta EE technology conforms to the applicable +specification. All tests in the TCK are based on the written +specifications for the Jakarta EE platform. A TCK tests compatibility of a +vendor's compatible implementation of the technology to the applicable +specification of the technology. Compatibility testing is a means of +ensuring correctness, completeness, and consistency across all +implementations developed by technology licensees. + +The set of tests included with each TCK is called the test suite. Most +tests in a TCK's test suite are self-checking, but some tests may +require tester interaction. Most tests return either a Pass or Fail +status. For a given platform to be certified, all of the required tests +must pass. The definition of required tests may change from platform to +platform. + +The definition of required tests will change over time. Before your +final certification test pass, be sure to download the latest version +of this TCK. + +[[GBFPB]][[java-community-process-jcp-program-and-compatibility-testing]] + +1.1.4 Jakarta EE Specification Process (JESP) Program and Compatibility Testing +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The Jakarta EE Specification Process (JESP) program is the formalization of the +open process that has been used since 2019 to develop and revise Jakarta EE +technology specifications in cooperation with the international Jakarta EE +community. The JESP program specifies that the following three major +components must be included as deliverables in a final Jakarta EE technology +release under the direction of the responsible Expert Group: + +* Technology Specification +* Compatible Implementation (CI) +* Technology Compatibility Kit (TCK) + +For further information about the JESP program, go to Jakarta EE Specification +Process community page https://jakarta.ee/specifications. + +[[GBFQR]][[about-the-tck]] + +1.2 About the TCK +~~~~~~~~~~~~~~~~~ + +The {TechnologyShortName} TCK {TechnologyVersion} is designed as a +portable, configurable, automated test suite for verifying the +compatibility of a vendor's implementation of the +{TechnologyShortName} {TechnologyVersion} Specification. + +[[GBFQV]][[tck-specifications-and-requirements]] + +1.2.1 TCK Specifications and Requirements +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +This section lists the applicable requirements and specifications. + +* Specification Requirements: Software requirements for a +{TechnologyShortName} implementation are described in detail in the +{TechnologyShortName} {TechnologyVersion} Specification. Links to the +{TechnologyShortName} specification and other product information can +be found at {SpecificationURL}. +* {TechnologyShortName} Version: The {TechnologyShortName} {TechnologyVersion} TCK +is based on the {TechnologyShortName} +Specification, Version {TechnologyVersion}. +* Compatible Implementation: One {TechnologyShortName} +{TechnologyVersion} Compatible Implementation, {TechnologyRI} is +available from the Eclipse EE4J project +(https://projects.eclipse.org/projects/ee4j). See the CI documentation page at +{TechnologyRIURL} for more information. + +See the {TechnologyShortName} TCK Release Notes for more specific +information about Java SE version requirements, supported platforms, +restrictions, and so on. + +[[GBFSQ]][[tck-components]] + +1.2.2 TCK Components +^^^^^^^^^^^^^^^^^^^^ + +The {TechnologyShortName} TCK {TechnologyVersion} includes the +following components: + +* {TechnologyShortName} TCK signature tests; check that all public APIs +are supported and/or defined as specified in the {TechnologyShortName} +Version {TechnologyVersion} implementation under test. +* If applicable, an exclude list, which provides a list of tests that your +implementation is not required to pass. +ifndef::no-api-tests[] +* API tests for all of the {TechnologyShortName} API in all related packages: +include::packages.inc[] +endif::no-api-tests[] +ifdef::end-to-end-tests[] +* End-to-end tests that demonstrate compliance with the {TechnologyFullName} +Specification. +endif::end-to-end-tests[] + +The {TechnologyShortName} TCK tests run on the following platforms: + +include::platforms.inc[] + +[[GBFRA]][[tck-compatibility-test-suite]] + +1.2.3 TCK Compatibility Test Suite +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The test suite is the collection of tests +to test a particular technology implementation. In this case, it is the +collection of JUnit tests used by the {TechnologyShortName} TCK +{TechnologyVersion} to test a {TechnologyShortName} {TechnologyVersion} +implementation. The tests are designed to verify that a vendor's +runtime implementation of the technology complies with the appropriate +specification. The individual tests correspond to assertions of the +specification. + +The tests that make up the TCK compatibility test suite are precompiled +and indexed within the TCK jar directory structure. + +[[GBFSH]][[exclude-lists]] + +1.2.4 Exclude Lists +^^^^^^^^^^^^^^^^^^^ + +Each version of a TCK includes an Exclude List contained in a `TCK-Exclude-List.txt` +file. +This is a list of test file URLs that identify tests which do not +have to be run for the specific version of the TCK being used. +Whenever tests are run, the Junit framework automatically excludes +these tests from being executed as those are disabled using '@Disabled' tag in JUnit. + +A vendor's compatible implementation is not required to pass or run any test on the Exclude List. +The Exclude List file, +{excludeListFileName}+, is documented in the +{TechnologyShortName} TCK. Please note this file is not parsed to exclude any test and is only +for documentation purpose. + + + +[NOTE] +======================================================================= + +From time to time, updates to the Exclude List are made available. +The exclude list is included in the Jakarta TCK ZIP archive. +Each time an update is approved and released, the version number +will be incremented. +You should always make sure you are using an up-to-date copy of the +Exclude List before running the {TechnologyShortName} TCK to verify your +implementation. + +======================================================================= + + +A test might be in the Exclude List for reasons such as: + +* An error in an underlying implementation API has been discovered which +does not allow the test to execute properly. +* An error in the specification that was used as the basis of the test +has been discovered. +* An error in the test itself has been discovered. +* The test fails due to a bug in the tools used to run the test. + +In addition, all tests are run against the compatible implementations. +Any tests that fail when run on a compatible Jakarta platform are put on the +Exclude List. Any test that is not specification-based, or for which the +specification is vague, may be excluded. Any test that is found to be +implementation dependent (based on a particular thread scheduling model, +based on a particular file system behavior, and so on) may be excluded. + + +[NOTE] +======================================================================= + +Vendors are not permitted to alter or modify Exclude Lists. Changes to +an Exclude List can only be made by using the procedure described in +link:rules.html#CJAJEAEI[Section 2.3.1, "TCK Test Appeals Steps."] + +======================================================================= + + +[[GBFRR]][[tck-configuration]] + +1.3 Getting Started With the TCK +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +This section provides an general overview of what needs to be done to +install, set up, test, and use the {TechnologyShortName} TCK. These +steps are explained in more detail in subsequent chapters of this +guide. + +1. Make sure that the following software has been correctly installed +on the system: +include::req-software.inc[] +* Java SE {SEversion} +* Apache Maven {MavenVersion} +* A CI for {TechnologyShortName} {TechnologyVersion}. One example is {TechnologyRI}. +* {TechnologyShortName} TCK version {TechnologyVersion}, which includes: +include::tck-packages.inc[] +* The {TechnologyShortName} {TechnologyVersion} Vendor Implementation (VI) + +See the documentation for each of these software applications for +installation instructions. See link:install.html#GBFTP[Chapter 3, +"Installation,"] for instructions on installing the {TechnologyShortName} TCK. +2. Set up the {TechnologyShortName} TCK software. + +See link:config.html#GBFVV[Chapter 4, "Setup and Configuration,"] for +details about the following steps. + a. Set up your shell environment. + b. Set the required System properties. +3. Test the {TechnologyShortName} {TechnologyVersion} implementation. + +Test the {TechnologyShortName} implementation installation by running +the test suite. See link:using.html#GBFWO[Chapter 5, "Executing Tests."] diff --git a/jpa/docs/userguide/src/main/jbake/content/intro.inc b/jpa/docs/userguide/src/main/jbake/content/intro.inc new file mode 100644 index 0000000000..94840b5113 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/intro.inc @@ -0,0 +1,20 @@ + +[[GEQNJ]][[additional-jpa-notes]] + +1.2.7 Additional {TechnologyShortName} Notes +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +In addition to the usual signature, API, and end-to-end tests, +the {TechnologyShortName} TCK also includes pluggability tests verify that the +implementation under test can use third-party persistence providers +instead of the one provided by the implementation. + +[NOTE] +======================================================================= + +The following may be useful to users of previous TCK versions: + +No significant changes were made to how tests are run. + +======================================================================= + diff --git a/jpa/docs/userguide/src/main/jbake/content/packages.inc b/jpa/docs/userguide/src/main/jbake/content/packages.inc new file mode 100644 index 0000000000..c3b95243e1 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/packages.inc @@ -0,0 +1,7 @@ +** `jakarta.persistence` + +** `jakarta.persistence.criteria` + +** `jakarta.persistence.metamodel` + +** `jakarta.persistence.spi` diff --git a/jpa/docs/userguide/src/main/jbake/content/platforms.inc b/jpa/docs/userguide/src/main/jbake/content/platforms.inc new file mode 100644 index 0000000000..3f54158cb4 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/platforms.inc @@ -0,0 +1,4 @@ +/////////////////////////////////////////////////////////////////////// +List tested operating environments here +/////////////////////////////////////////////////////////////////////// +* CentOS Linux 7 \ No newline at end of file diff --git a/jpa/docs/userguide/src/main/jbake/content/preface.adoc b/jpa/docs/userguide/src/main/jbake/content/preface.adoc new file mode 100644 index 0000000000..352447ef28 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/preface.adoc @@ -0,0 +1,143 @@ +type=page +status=published +title=Preface +next=intro.html +prev=title.html +~~~~~~ +include::attributes.conf[] +Preface +======= + +[[TCJRS00001]][[GBFTI]] + + +[[preface]] +Preface +------- + +This guide describes how to install, configure, and run the Technology +Compatibility Kit (TCK) that is used to test the {TechnologyFullName} +({TechnologyShortName} {TechnologyVersion}) technology. + +The {TechnologyShortName} TCK is a portable, configurable automated +test suite for verifying the compatibility of a vendor's +implementation of the {TechnologyShortName} {TechnologyVersion} +Specification (hereafter referred to as the vendor implementation or VI). +The {TechnologyShortName} TCK uses the Junit framework to run the test suite +along with Arquillian to run container tests. + + +[NOTE] +======================================================================= + +Note All references to specific Web URLs are given for the sake of your +convenience in locating the resources quickly. These references are +always subject to changes that are in many cases beyond the control of +the authors of this guide. + +======================================================================= + +Jakarta EE is a community sponsored and community run program. +Organizations contribute, along side individual contributors who use, evolve +and assist others. +Commercial support is not available through the Eclipse Foundation resources. +Please refer to the Eclipse EE4J project site +(https://projects.eclipse.org/projects/ee4j). +There, you will find additional details as well as a list of all the associated sub-projects +(Implementations and APIs), that make up Jakarta EE and define these specifications. +If you have questions about this Specification you may +send inquiries to {SpecificationInquiryList}. +If you have questions about this TCK, you may send inquiries to +{TCKInquiryList}. + +[[TCJRS00034]][[GBFUS]] + + +[[who-should-use-this-book]] +Who Should Use This Book +~~~~~~~~~~~~~~~~~~~~~~~~ + +This guide is for vendors that implement the {TechnologyShortName} +{TechnologyVersion} technology to assist them in running the test suite +that verifies compatibility of their implementation of the +{TechnologyShortName} {TechnologyVersion} Specification. + + +[[TCJRS00035]][[GBFPO]] + + +[[before-you-read-this-book]] +Before You Read This Book +~~~~~~~~~~~~~~~~~~~~~~~~~ + + +You should be familiar with the {TechnologyShortName} +{TechnologyVersion}, version {TechnologyVersion} Specification, +which can be found at {SpecificationURL}. + +[[TCJRS00036]][[GBFWF]] + + +[[typographic-conventions]] +Typographic Conventions +~~~~~~~~~~~~~~~~~~~~~~~ + +The following table describes the typographic conventions that are used +in this book. + +[width="100%",cols="15%,40%,45%",options="header",] +|======================================================================= +|Convention |Meaning |Example +|*Boldface* |Boldface type indicates graphical user interface elements +associated with an action, terms defined in text, or what you type, +contrasted with onscreen computer output. a| +From the *File* menu, select *Open Project*. + +A *cache* is a copy that is stored locally. + +`machine_name% *su*` + +`Password:` + +|`Monospace` |Monospace type indicates the names of files and +directories, commands within a paragraph, URLs, code in examples, text +that appears on the screen, or text that you enter. a| +Edit your `.login` file. + +Use `ls` `-a` to list all files. + +`machine_name% you have mail.` + +|_Italic_ |Italic type indicates book titles, emphasis, or placeholder +variables for which you supply particular values. a| +Read Chapter 6 in the _User's Guide_. + +Do _not_ save the file. + +The command to remove a file is `rm` _filename_. + +|======================================================================= + + +[[TCJRS00037]][[FWBSD]] + + +[[shell-prompts-in-command-examples]] +Shell Prompts in Command Examples +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The following table shows the default UNIX system prompt and superuser +prompt for the C shell, Bourne shell, and Korn shell. + +[width="100%",cols="50%,50%",options="header",] +|===================================================== +|Shell |Prompt +|C shell |`machine_name%` +|C shell for superuser |`machine_name#` +|Bourne shell and Korn shell |`$` + +|Bourne shell and Korn shell for superuser |`#` + +|Bash shell |`shell_name-shell_version$` +|Bash shell for superuser |`shell_name-shell_version#` +|===================================================== + + + diff --git a/jpa/docs/userguide/src/main/jbake/content/rebuild.adoc b/jpa/docs/userguide/src/main/jbake/content/rebuild.adoc new file mode 100644 index 0000000000..e4021cfa19 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/rebuild.adoc @@ -0,0 +1,20 @@ +type=page +status=published +title=Appendix B: Rebuild Rules +prev=faq.html +~~~~~~ +include::attributes.conf[] + +Appendix B: Rebuild Rules +========================= + + +ifdef::rebuild[] +include::rebuild.inc[] +endif::rebuild[] +ifndef::rebuild[] + +<<< +Appendix B is not used for the {TechnologyShortName} TCK. + +endif::rebuild[] diff --git a/jpa/docs/userguide/src/main/jbake/content/rebuild.inc b/jpa/docs/userguide/src/main/jbake/content/rebuild.inc new file mode 100644 index 0000000000..6f4297bb1b --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/rebuild.inc @@ -0,0 +1,7 @@ +/////////////////////////////////////////////////////////////////////// +NOTE TO WRITERS: +The following sections should be customized for the technology. +See JAXRS user guide for an example of this include file. +/////////////////////////////////////////////////////////////////////// + +[[GCLIZ]] diff --git a/jpa/docs/userguide/src/main/jbake/content/req-software.inc b/jpa/docs/userguide/src/main/jbake/content/req-software.inc new file mode 100644 index 0000000000..48014f56ee --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/req-software.inc @@ -0,0 +1,10 @@ +/////////////////////////////////////////////////////////////////////// +NOTE TO WRITERS: +This is a list of software required in addition to the TCK and the RI. +For many Java EE APIs, the Java EE RI will be required, as described below. +For standalone technologies, no other software may be required, and the +below line can be removed. + +This is used in intro.adoc in section 1.3 and install.adoc in section 3.2. +/////////////////////////////////////////////////////////////////////// + diff --git a/jpa/docs/userguide/src/main/jbake/content/rules.adoc b/jpa/docs/userguide/src/main/jbake/content/rules.adoc new file mode 100644 index 0000000000..bf3c1130d1 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/rules.adoc @@ -0,0 +1,377 @@ +type=page +status=published +title=Procedure for Certification +next=install.html +prev=intro.html +~~~~~~ +include::attributes.conf[] +Procedure for Certification +=========================== + +[[GBFSN]] + + +[[procedure-for-certification]] +2 Procedure for Certification +----------------------------- + +This chapter describes the compatibility testing procedure and +compatibility requirements for {TechnologyFullName}. +This chapter contains the following sections: + +* link:#CJAFFDGI[Certification Overview] +* link:#CJAFGIGG[Compatibility Requirements] +* link:#CJAIIBDJ[Test Appeals Process] +* link:#CJAJECIE[Specifications for {TechnologyFullName}] +* link:#CJABAHGI[Libraries for {TechnologyFullName}] + +[[CJAFFDGI]][[certification-overview]] + +2.1 Certification Overview +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The certification process for {technologyShortName} {TechnologyVersion} +consists of the following activities: + +* Install the appropriate version of the Technology Compatibility Kit +(TCK) and execute it in accordance with the instructions in this User's +Guide. +* Ensure that you meet the requirements outlined in +link:#CJAFGIGG[Compatibility Requirements] below. +* Certify to the Eclipse Foundation that you have finished +testing and that you meet all of the compatibility requirements, +as required by the Eclipse Foundation TCK License. + +[[CJAFGIGG]][[compatibility-requirements]] + +2.2 Compatibility Requirements +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The compatibility requirements for {TechnologyShortName} +{TechnologyVersion} consist of meeting the requirements set forth by +the rules and associated definitions contained in this section. + +[[sthref4]][[definitions]] + +2.2.1 Definitions +^^^^^^^^^^^^^^^^^ + +These definitions are for use only with these compatibility requirements +and are not intended for any other purpose. + +[[sthref5]][[sthref6]] + +Table 2-1 Definitions  + +[width="100%",cols="25%,75%",options="header",] +|======================================================================= +|Term |Definition +|API Definition Product |A Product for which the only Java class files +contained in the product are those corresponding to the application +programming interfaces defined by the Specifications, and which is +intended only as a means for formally specifying the application +programming interfaces defined by the Specifications. + +|Computational Resource a| +A piece of hardware or software that may vary in quantity, existence, or +version, which may be required to exist in a minimum quantity and/or at +a specific or minimum revision level so as to satisfy the requirements +of the Test Suite. + +Examples of computational resources that may vary in quantity are RAM +and file descriptors. + +Examples of computational resources that may vary in existence (that is, +may or may not exist) are graphics cards and device drivers. + +Examples of computational resources that may vary in version are +operating systems and device drivers. + +|Configuration Descriptor |Any file whose format is well defined by a +specification and which contains configuration information for a set of +Java classes, archive, or other feature defined in the specification. + +|Conformance Tests |All tests in the Test Suite for an indicated +Technology Under Test, as released and distributed by the +Eclipse Foundation, excluding those tests on the +published Exclude List for the Technology Under Test. + +|Container |An implementation of the associated Libraries, as specified +in the Specifications, and a version of a Java Platform, Standard +Edition Runtime Product, as specified in the Specifications, or a later +version of a Java Platform, Standard Edition Runtime Product that also +meets these compatibility requirements. + +|Documented |Made technically accessible and made known to users, +typically by means such as marketing materials, product documentation, +usage messages, or developer support programs. + +|Exclude List |The most current list of tests, released and distributed by the +Eclipse Foundation, that are not required to be passed to certify +conformance. The Jakarta EE Specification Committee may add to the Exclude List for that +Test Suite as needed at any time, in which case the updated TCK version +supplants any previous Exclude Lists for that Test Suite. + +|Libraries a| +The class libraries, as specified through the Jakarta EE Specification Process +(JESP), for the Technology Under Test. + +The Libraries for {TechnologyFullName} are listed at the end of this chapter. + +|Location Resource a| +A location of classes or native libraries that are components of the +test tools or tests, such that these classes or libraries may be +required to exist in a certain location in order to satisfy the +requirements of the test suite. + +For example, classes may be required to exist in directories named in a +CLASSPATH variable, or native libraries may be required to exist in +directories named in a PATH variable. + +|Maintenance Lead |The corresponding Jakarta EE Specification Project +is responsible for maintaining the Specification, and the TCK for the +Technology. The Specification Project Team will propose revisions and +updates to the Jakarta EE Specification Committee which will approve +and release new versions of the specification and TCK. + +|Operating Mode a| +Any Documented option of a Product that can be changed by a user in +order to modify the behavior of the Product. + +For example, an Operating Mode can be binary (enable/disable +optimization), an enumeration (select from a list of protocols), or a +range (set the maximum number of active threads). + +Note that an Operating Mode may be selected by a command line switch, an +environment variable, a GUI user interface element, a configuration or +control file, etc. + +|Product |A vendor's product in which the Technology Under Test is +implemented or incorporated, and that is subject to compatibility +testing. + +|Product Configuration a| +A specific setting or instantiation of an Operating Mode. + +For example, a Product supporting an Operating Mode that permits user +selection of an external encryption package may have a Product +Configuration that links the Product to that encryption package. + +|Rebuildable Tests |Tests that must be built using an +implementation-specific mechanism. This mechanism must produce +specification-defined artifacts. Rebuilding and running these tests +against a known compatible implementation verifies that the mechanism generates +compatible artifacts. + +|Resource |A Computational Resource, a Location Resource, or a Security +Resource. + +|Rules |These definitions and rules in this Compatibility Requirements +section of this User's Guide. + +|Runtime |The Containers specified in the Specifications. + +|Security Resource a| +A security privilege or policy necessary for the proper execution of the +Test Suite. + +For example, the user executing the Test Suite will need the privilege +to access the files and network resources necessary for use of the +Product. + +|Specifications a| +The documents produced through the Jakarta EE Specification Process (JESP) +that define a particular Version of a Technology. + +The Specifications for the Technology Under Test are referenced later in +this chapter. + +|Technology |Specifications and one or more compatible implementations produced +through the Jakarta EE Specification Process (JESP). + +|Technology Under Test |Specifications and a compatible implementation +for {TechnologyFullName} Version {TechnologyVersion}. + +|Test Suite |The requirements, tests, and testing tools distributed by +the Maintenance Lead as applicable to a given Version of the Technology. + +|Version |A release of the Technology, as produced through the +Jakarta EE Specification Process (JESP). + +include::defns.inc[] +|======================================================================= + + +[[sthref7]][[rules-for-products]] + +2.2.2 Rules for {TechnologyFullName} Products +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The following rules apply for each implementation: + +*{techID}1* The implementation must be able to satisfy compatibility +requirements, including passing all required TCK Tests. + +*{techID}1.1* Each implementation must have at least one configuration that can be used to pass +all required TCK Tests, although such configuration may need adjustment (e.g. whether statically +or via administrative tooling). + +*{techID}1.2* An API Definition Product is exempt from all functional +testing requirements defined here, except the signature tests. + +*{techID}2* Some Conformance Tests may have properties that may be changed. +Properties that can be changed are identified in the configuration +interview. Apart from changing such properties and other allowed +modifications described in this User's Guide (if any), no source or +binary code for a Conformance Test may be altered in any way without +prior written permission. Any such allowed alterations to the +Conformance Tests will be provided via the Jakarta EE Specification Project +website and apply to all vendor compatible implementations. + +*{techID}3* The testing tools supplied as part of the Test Suite or as +updated by the Maintenance Lead must be used to certify compliance. + +*{techID}4* The Exclude List associated with the Test Suite cannot be +modified. + +*{techID}5* The Maintenance Lead can define exceptions to these Rules. Such +exceptions would be made available as above, and will apply to all vendor implementations. + +*{techID}6* All hardware and software component additions, deletions, and +modifications to a Documented supporting hardware/software platform, +that are not part of the Product but required for the Product to satisfy +the compatibility requirements, must be Documented and available to +users of the Product. + +*{techID}7* The Product must contain the full set of public and protected +classes and interfaces for all the Libraries. Those classes and +interfaces must contain exactly the set of public and protected methods, +constructors, and fields defined by the Specifications for those +Libraries. No subsetting, supersetting, or modifications of the public +and protected API of the Libraries are allowed except only as +specifically exempted by these Rules. + +*{techID}7.1* If a Product includes Jakarta EE Technologies in addition to the +Technology Under Test, then it must contain the full set of combined +public and protected classes and interfaces. The API of the Product +must contain the union of the included Technologies. No further +modifications to the APIs of the included Technologies are allowed. + +ifdef::subset-allowed[] +*{techID}7.2* The Product may contain a subset of the classes and +interfaces for the Libraries. +endif::subset-allowed[] + +*{techID}8* Except for tests specifically required by this TCK to be rebuilt +(if any), the binary Conformance Tests supplied as part of the Test +Suite or as updated by the Maintenance Lead must be used to certify +compliance. + +*{techID}9* The functional programmatic behavior of any binary class or +interface must be that defined by the Specifications. + +include::rules.inc[] + +[[CJAIIBDJ]][[test-appeals-process]] + +2.3 Test Appeals Process +~~~~~~~~~~~~~~~~~~~~~~~~ + +Refer to https://jakarta.ee/committees/specification/tckprocess (version 1.2) as the definitive source for +the TCK rules. + +Jakarta has a well established process for managing challenges to its +TCKs. Any implementor may submit a challenge to one or more tests in the +{TechnologyShortName} TCK as it relates to their implementation. Implementor +means the entity as a whole in charge of producing the final certified release. +*Challenges filed should represent the consensus of that entity*. + +2.3.1 Valid Challenges +^^^^^^^^^^^^^^^^^^^^^^ +Any test case (e.g., test class, @Test method), test case configuration (e.g., deployment descriptor), test beans, annotations, and other resources considered part of the TCK may be challenged. + +The following scenarios are considered in scope for test challenges: + +* Claims that a test assertion conflicts with the specification. +* Claims that a test asserts requirements over and above that of the specification. +* Claims that an assertion of the specification is not sufficiently implementable. +* Claims that a test is not portable or depends on a particular implementation. + +2.3.2 Invalid Challenges +^^^^^^^^^^^^^^^^^^^^^^^^ +The following scenarios are considered out of scope for test challenges and will be immediately closed if filed: + +* Challenging an implementation’s claim of passing a test. Certification is an honor system and these issues must be raised directly with the implementation. +* Challenging the usefulness of a specification requirement. The challenge process cannot be used to bypass the specification process and raise in question the need or relevance of a specification requirement. +* Claims the TCK is inadequate or missing assertions required by the specification. See the Improvement section, which is outside the scope of test challenges. +* Challenges that do not represent a consensus of the implementing community will be closed until such time that the community does agree or agreement cannot be made. The test challenge process is not the place for implementations to initiate their own internal discussions. +* Challenges to tests that are already excluded for any reason. +* Challenges that an excluded test should not have been excluded and should be re-added should be opened as a new enhancement request + +Test challenges must be made in writing via the {TechnologyShortName} specification project issue tracker +as described in link:#CJAJEAEI[Section 2.3.3, "TCK Test Appeals Steps."] + +All tests found to be invalid will be placed on the Exclude List +for that version of the {TechnologyShortName} TCK. + + +[[CJAJEAEI]][[tck-test-appeals-steps]] + +2.3.3 TCK Test Appeals Steps +^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +1. Challenges should be filed via the {TechnologyFullName} specification project’s issue tracker using the label `challenge` and include the following information: +* The relevant specification version and section number(s) +* The coordinates of the challenged test(s) +* The exact TCK and exclude list versions +* The implementation being tested, including name and company +* The full test name +* A full description of why the test is invalid and what the correct behavior is believed to be +* Any supporting material; debug logs, test output, test logs, run scripts, etc. + + + +2. Specification project evaluates the challenge. + +Challenges can be resolved by a specification project lead, or a project challenge triage team, after a consensus of the specification project committers is reached or attempts to gain consensus fails. +Specification projects may exercise lazy consensus, voting or any practice that follows the principles of Eclipse Foundation Development Process. +The expected timeframe for a response is two weeks or less. +If consensus cannot be reached by the specification project for a prolonged period of time, the default recommendation is to exclude the tests and address the dispute in a future revision of the specification. + +3. Accepted Challenges. + +A consensus that a test produces invalid results will result in the exclusion of that test from certification requirements, and an immediate update and release of an official distribution of the TCK including the new exclude list. The associated `challenge` issue must be closed with an `accepted` label to indicate it has been resolved. + +4. Rejected Challenges and Remedy. + +When a`challenge` issue is rejected, it must be closed with a label of `invalid` to indicate it has been rejected. +There appeal process for challenges rejected on technical terms is outlined in Escalation Appeal. +If, however, an implementer feels the TCK challenge process was not followed, an appeal issue should be filed with specification project’s TCK issue tracker using the label `challenge-appeal`. +A project lead should escalate the issue with the Jakarta EE Specification Committee via email (jakarta.ee-spec@eclipse.org). +The committee will evaluate the matter purely in terms of due process. +If the appeal is accepted, the original TCK challenge issue will be reopened and a label of `appealed-challenge` added, along with a discussion of the appeal decision, and the `challenge-appeal` issue with be closed. +If the appeal is rejected, the `challenge-appeal` issue should closed with a label of `invalid`. + +5. Escalation Appeal. + +If there is a concern that a TCK process issue has not been resolved satisfactorily, the +https://www.eclipse.org/projects/dev_process/#6_5_Grievance_Handling[Eclipse Development Process Grievance Handling] procedure should be followed to escalate the resolution. Note that this is not a mechanism to attempt to handle implementation specific issues. + + +[[CJAJECIE]][[specifications-for-technology]] + +2.4 Specifications for {TechnologyFullName} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The {TechnologyFullName} specification is available from the specification +project web-site: {SpecificationURL}. + +[[CJABAHGI]][[libraries-for-technology]] + +2.5 Libraries for {TechnologyFullName} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The following is a list of the packages comprising the required class +libraries for {TechnologyShortName} {TechnologyVersion}: + +include::packages.inc[] + +For the latest list of packages, also see: + +{SpecificationURL} diff --git a/jpa/docs/userguide/src/main/jbake/content/rules.inc b/jpa/docs/userguide/src/main/jbake/content/rules.inc new file mode 100644 index 0000000000..0bd49dc945 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/rules.inc @@ -0,0 +1,19 @@ + +*{techID}10* The presence of an XML comment in a Configuration +Descriptor, when processed by a Deployment Tool, must not cause the +functional programmatic behavior of the Deployment Tool to vary from +the functional programmatic behavior of the Deployment Tool in the +absence of that comment. + +*{techID}11* The Runtime must report an error when processing a +Configuration Descriptor that does not conform to the Specifications. + +*{techID}12* The presence of an XML comment in a Configuration +Descriptor, when processed by the Runtime, must not cause the +functional programmatic behavior of the Runtime to vary from +the functional programmatic behavior of the Runtime in the +absence of that comment. + +*{techID}13* An error must be reported when processing a configuration +descriptor that includes a {TechnologyFullName} QL expression that does not +conform to the Specifications. diff --git a/jpa/docs/userguide/src/main/jbake/content/tck-packages.inc b/jpa/docs/userguide/src/main/jbake/content/tck-packages.inc new file mode 100644 index 0000000000..5ca50031cc --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/tck-packages.inc @@ -0,0 +1,7 @@ +** JDOM 1.1.3 + +** Apache Commons HTTP Client 3.1 + +** Apache Commons Logging 1.1.3 + +** Apache Commons Codec 1.9 diff --git a/jpa/docs/userguide/src/main/jbake/content/title.adoc b/jpa/docs/userguide/src/main/jbake/content/title.adoc new file mode 100644 index 0000000000..232172d727 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/title.adoc @@ -0,0 +1,42 @@ +type=page +status=published +title=TCK User's Guide for Technology Implementors +next=preface.html +prev=toc.html +~~~~~~ +include::attributes.conf[] + +TCK User's Guide for {TechnologyFullName}, Release {TechnologyVersion} for Jakarta EE +===================================================================================== + +[[eclipse-foundation]] +Eclipse Foundation +------------------ + +Technology Compatibility Kit User's Guide for {TechnologyFullName} + +Release {TechnologyVersion} for Jakarta EE + +{ReleaseDate} + +[[sthref1]] + +''''' + +Technology Compatibility Kit User's Guide for {TechnologyFullName}, +Release {TechnologyVersion} for Jakarta EE + +Copyright © {CopyrightDates} Oracle and/or its affiliates. All rights reserved. + +This program and the accompanying materials are made available under +the terms of the Eclipse Public License v. 2.0, which is available at +http://www.eclipse.org/legal/epl-2.0. + +SPDX-License-Identifier: EPL-2.0 + +Oracle and Java are registered trademarks of Oracle and/or its +affiliates. Other names may be trademarks of their respective owners. + +include::title.inc[] + + diff --git a/jpa/docs/userguide/src/main/jbake/content/title.inc b/jpa/docs/userguide/src/main/jbake/content/title.inc new file mode 100644 index 0000000000..25bf47e08d --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/title.inc @@ -0,0 +1,11 @@ +/////////////////////////////////////////////////////////////////////// +NOTE TO WRITERS: +This is included at the tail end of the Title page. +The following section should be customized for the technology. +This is provided to allow each technology to customize legacy acronym names +that are used in this TCK. +Be sure to customize LegacyAcronym in attributes.conf +Add additional lines as needed for acronyms found in your TCK user guide. +/////////////////////////////////////////////////////////////////////// + +References in this document to {LegacyAcronym} refer to the {TechnologyFullName} unless otherwise noted. diff --git a/jpa/docs/userguide/src/main/jbake/content/toc.adoc b/jpa/docs/userguide/src/main/jbake/content/toc.adoc new file mode 100644 index 0000000000..4981ec1c22 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/toc.adoc @@ -0,0 +1,91 @@ +type=page +status=published +title=TCK User's Guide for Technology Implementors +next=title.html +~~~~~~ +include::attributes.conf[] +TCK User's Guide for Technology Implementors +============================================ + +[[contents]] +Contents +-------- + +* link:title.html#eclipse-foundation[Eclipse Foundation] + +link:preface.html#GBFTI[Preface] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +** link:preface.html#GBFUS[Who Should Use This Book] +** link:preface.html#GBFPO[Before You Read This Book] +** link:preface.html#GBFWF[Typographic Conventions] +** link:preface.html#FWBSD[Shell Prompts in Command Examples] + +link:intro.html#GBFOW[1 Introduction] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +** link:intro.html#GBFTK[1.1 Compatibility Testing] +*** link:intro.html#GBFQN[1.1.1 Why Compatibility Testing is Important] +*** link:intro.html#GBFPR[1.1.2 TCK Compatibility Rules] +*** link:intro.html#GBFPW[1.1.3 TCK Overview] +*** link:intro.html#GBFPB[1.1.4 Jakarta EE Specification Process (JESP) Program and Compatibility Testing] +** link:intro.html#GBFQR[1.2 About the TCK] +*** link:intro.html#GBFQV[1.2.1 TCK Specifications and Requirements] +*** link:intro.html#GBFSQ[1.2.2 TCK Components] +*** link:intro.html#GBFRA[1.2.3 TCK Compatibility Test Suite] +*** link:intro.html#GBFSH[1.2.4 Exclude Lists] +** link:intro.html#GBFRR[1.3 Getting Started With the TCK] + +[[procedure-for-certification]] +link:rules.html#GBFSN[2 Procedure for Certification] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +** link:rules.html#CJAFFDGI[2.1 Certification Overview] +** link:rules.html#CJAFGIGG[2.2 Compatibility Requirements] +*** link:rules.html#definitions[2.2.1 Definitions] +*** link:rules.html#sthref7[2.2.2 Rules for {TechnologyFullName} Products] +** link:rules.html#CJAIIBDJ[2.3 Test Appeals Process] +*** link:rules.html#[2.3.1 Valid Challenges] +*** link:rules.html#[2.3.2 Invalid Challenges] +*** link:rules.html#CJAJEAEI[2.3.3 TCK Test Appeals Steps] +** link:rules.html#CJAJECIE[2.4 Specifications for {TechnologyFullName}] +** link:rules.html#CJABAHGI[2.5 Libraries for {TechnologyFullName}] + +link:install.html#GBFTP[3 Installation] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +** link:install.html#GBFUD[3.1 Obtaining a Compatible Implementation] +** link:install.html#GBFTS[3.2 Installing the Software] + +[[setup-and-configuration]] +link:config.html#GBFVV[4 Setup and Configuration] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +[[executing-tests]] +link:using.html#GBFWO[5 Executing Tests] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +** link:using.html#GBFUZ[5.1 Starting Test] +*** link:using.html#GBFVW[5.1.1 To Start Test in Command-Line Mode] +** link:using.html#GBFWM[5.2 Running a Subset of the Tests] +*** link:using.html#GBFWK[5.2.1 To Run a Subset of Tests in Command-Line Mode] +** link:using.html#GCLRR[5.3 Running the TCK Against another CI] +** link:using.html#GCLRZ[5.4 Running the TCK Against a Vendor's Implementation] +** link:using.html#GBFVK[5.5 Test Reports] + +[[debugging-test-problems]] +link:debug.html#GBFUV[6 Debugging Test Problems] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +** link:debug.html#GBFYP[6.1 Overview] +** link:debug.html#GBFVF[6.2 Test Information] +** link:debug.html#GBFWI[6.3 Configuration Failures] + +[[a-frequently-asked-questions]] +link:faq.html#GBFYD[A Frequently Asked Questions] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +** link:faq.html#GBFYQ[A.1 Where do I start to debug a test failure?] +** link:faq.html#GBFYR[A.2 How do I restart a crashed test run?] +** link:faq.html#GBFWU[A.3 What would cause tests be added to the exclude list?] diff --git a/jpa/docs/userguide/src/main/jbake/content/using-examples.inc b/jpa/docs/userguide/src/main/jbake/content/using-examples.inc new file mode 100644 index 0000000000..ee251f6c04 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/using-examples.inc @@ -0,0 +1,53 @@ +/////////////////////////////////////////////////////////////////////// +NOTE TO WRITERS: +These CLI examples can be customized as necessary. +/////////////////////////////////////////////////////////////////////// + +Start the Junit tests using the following command: + + +-- +[source,oac_no_warn] +---- +mvn verify +---- +-- + + +[[GCMCU]] + +Example 5-1 {TechnologyShortName} TCK Signature Tests + +To run the {TechnologyShortName} TCK signature tests, enter the +following commands: + +[source,subs="attributes"] +---- +mvn verify -Dit.test=ee.jakarta.tck.persistence.signaturetest.** +---- + + +[[GCMBV]] + + +Example 5-2 Single Test Directory + +To run a single test directory, enter the following commands: + +[source,subs="attributes"] +---- +mvn verify -Dit.test={singleTestDirectoryExample}.** +---- + + +[[GCMCA]] + + +Example 5-3 Subset of Test Directories + +To run a subset of test directories, enter the following commands: + +[source,subs="attributes"] +---- +mvn verify -Dit.test={subsetTestDirectoryExample}.** +---- \ No newline at end of file diff --git a/jpa/docs/userguide/src/main/jbake/content/using.adoc b/jpa/docs/userguide/src/main/jbake/content/using.adoc new file mode 100644 index 0000000000..d8735a3063 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/content/using.adoc @@ -0,0 +1,144 @@ +type=page +status=published +title=Executing Tests +next=debug.html +prev=config.html +~~~~~~ +include::attributes.conf[] +Executing Tests +=============== + +[[GBFWO]] + + +[[executing-tests]] +5 Executing Tests +----------------- + +The {TechnologyShortName} TCK uses the Junit and Jboss Arquillian +frameworks to execute the tests. + +This chapter includes the following topics: + +* link:#GBFUZ[Starting Test] +* link:#GBFWM[Running a Subset of the Tests] +* link:#GBFVK[Test Reports] + + +[NOTE] +======================================================================= + +The {TechnologyShortName} TCK is not depended on any particular build tool to +run the tests. It will be convenient and advisable to create a +Apache Maven project to setup and run the TCK. This chapter will +henceforth use instructions and steps to provide setup with Apache +Maven as a build tool. + +======================================================================= + +ifdef::rebuild[] +As explained in link:rebuild.html#GCLIZ[Appendix B, "Packaging the +Test Applications in Servlet-Compliant WAR +Files With VI-Specific Information,"] the {TechnologyShortName} TCK +introduces the concept of repackaging the TCK tests. +endif::rebuild[] + + +[[GBFUZ]][[starting-test]] + +5.1 Starting Test +~~~~~~~~~~~~~~~~~ + +The {TechnologyShortName} TCK can be run from the command line +in your shell environment by executing the TCK jar. + + +[NOTE] +======================================================================= + +The `mvn` command referenced in the following +two procedures and elsewhere in this guide is the Apache Maven +build tool, which will need to be downloaded separately. + +======================================================================= + + +[[GBFVW]][[to-start-test-in-command-line-mode]] + +5.1.1 To Start Test in Command-Line Mode +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +include::using-examples.inc[] + +[[GBFWM]][[running-a-subset-of-the-tests]] + +5.2 Running a Subset of the Tests +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Use the following modes to run a subset of the tests: + +* link:#GBFWK[Section 5.2.1, "To Run a Subset of Tests in Command-Line Mode"] + +[[GBFWK]][[to-run-a-subset-of-tests-in-cmd-mode]] + +5.2.1 To Run a Subset of Tests in Command-Line Mode +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + +Start the test run by executing the following command: + + +[source,subs="attributes"] +---- +mvn verify -Dit.test={subsetTestDirectoryExample} +---- + +The tests in the directory and its subdirectories are run. + +[[GCLRR]][[running-the-tck-against-the-ri]] + +5.3 Running the TCK Against another CI +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Some test scenarios are designed to ensure that the configuration and deployment of +all the prebuilt {TechnologyShortName} TCK tests against one Compatible +Implementation are successful operating with other compatible implementations, and that the TCK is ready for +compatibility testing against the Vendor and Compatible Implementations. + +1. Verify that you have followed the configuration instructions in +link:config.html#GBFVU[Section 4.1, "Configuring Your Environment to Run +the TCK Against the Compatible Implementation."] +2. If required, verify that you have completed the steps in +link:config.html#GCLIW[Section 4.3.2, "Deploying the Prebuilt Archives."] +3. Run the tests, as described in link:#GBFUZ[Section 5.1, "Starting +the tests,"] and, if desired, link:#GBFWM[Section 5.2, "Running a Subset +of the Tests."] + +[[GCLRZ]][[running-the-tck-against-a-vendors-implementation]] + +5.4 Running the TCK Against a Vendor's Implementation +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +This test scenario is one of the compatibility test phases that all +Vendors must pass. + +1. Verify that you have followed the configuration instructions in +link:config.html#GCLHU[Section 4.2, "Configuring Your Environment to +Repackage and Run the TCK Against the Vendor Implementation."] +2. If required, verify that you have completed the steps in +link:config.html#GCLIL[Section 4.3.3, "Deploying the +Test Applications Against the Vendor Implementation."] +3. Run the tests, as described in link:#GBFUZ[Section 5.1, "Starting +the tests,"] and, if desired, link:#GBFWM[Section 5.2, "Running a Subset +of the Tests."] + +[[GBFVK]][[test-reports]] + +5.5 Test Reports +~~~~~~~~~~~~~~~~ + +A set of report files is created for every test run. These report files +can be found in the target directory that the test is run. After a test run is +completed, the Junit framework writes reports for the test run. + +include::using.inc[] + diff --git a/jpa/docs/userguide/src/main/jbake/content/using.inc b/jpa/docs/userguide/src/main/jbake/content/using.inc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/jpa/docs/userguide/src/main/jbake/jbake.properties b/jpa/docs/userguide/src/main/jbake/jbake.properties new file mode 100644 index 0000000000..05c7056f0a --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/jbake.properties @@ -0,0 +1,24 @@ +# +# Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved. +# +# This program and the accompanying materials are made available under the +# terms of the Eclipse Public License v. 2.0, which is available at +# http://www.eclipse.org/legal/epl-2.0. +# +# This Source Code may also be made available under the following Secondary +# Licenses when the conditions for such availability set forth in the +# Eclipse Public License v. 2.0 are satisfied: GNU General Public License, +# version 2 with the GNU Classpath Exception, which is available at +# https://www.gnu.org/software/classpath/license.html. +# +# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 +# + +site.host=http://jbake.org +render.tags=false +render.sitemap=false +render.archive=false +render.feed=false +render.index=false +asciidoctor.option.safe=0 +asciidoctor.attributes.export=true \ No newline at end of file diff --git a/jpa/docs/userguide/src/main/jbake/templates/footer.ftl b/jpa/docs/userguide/src/main/jbake/templates/footer.ftl new file mode 100644 index 0000000000..cb4fbe584b --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/templates/footer.ftl @@ -0,0 +1,44 @@ +<#-- a footer template fragment included in the page template --> +
+ + + + + + + + + <#if content.prev??> + + + + <#if content.next??> + + + + + +
+ + + Previous + + + + + Next + + + + + Contents + +
+ + + Eclipse Foundation Logo  + Copyright © 2017, 2022 Oracle and/or its affiliates. All rights reserved. + + + + diff --git a/jpa/docs/userguide/src/main/jbake/templates/header.ftl b/jpa/docs/userguide/src/main/jbake/templates/header.ftl new file mode 100644 index 0000000000..50b72ae8d0 --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/templates/header.ftl @@ -0,0 +1,54 @@ + +<#-- a header template fragment included in the page template --> + + + + <#if (content.title)??><#escape x as x?xml>${content.title}</#escape></#if> + + + + + + + + + +
+ ${content.title}
+
+
+ + + + + + + + + <#if content.prev??> + + + + <#if content.next??> + + + + + +
+ + + Previous + + + + + Next + + + + + Contents + +
+ diff --git a/jpa/docs/userguide/src/main/jbake/templates/menu.ftl b/jpa/docs/userguide/src/main/jbake/templates/menu.ftl new file mode 100644 index 0000000000..888c03dcff --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/templates/menu.ftl @@ -0,0 +1 @@ +<#-- a menu bar template fragment included in the page template --> \ No newline at end of file diff --git a/jpa/docs/userguide/src/main/jbake/templates/page.ftl b/jpa/docs/userguide/src/main/jbake/templates/page.ftl new file mode 100644 index 0000000000..eca51db35d --- /dev/null +++ b/jpa/docs/userguide/src/main/jbake/templates/page.ftl @@ -0,0 +1,8 @@ +<#-- a top level page layout template --> + +<#include "header.ftl"> +<#include "menu.ftl"> + +${content.body} + +<#include "footer.ftl"> \ No newline at end of file diff --git a/jpa/docs/userguide/src/theme/jakartaee-theme.yml b/jpa/docs/userguide/src/theme/jakartaee-theme.yml new file mode 100644 index 0000000000..6092a2f5c9 --- /dev/null +++ b/jpa/docs/userguide/src/theme/jakartaee-theme.yml @@ -0,0 +1,299 @@ +# +# Following is the asciidoctor-pdf default theme [1], with small +# customizations, mostly for header and footer, marked "EE". +# +# [1] https://github.com/asciidoctor/asciidoctor-pdf/blob/master/data/themes/default-theme.yml +# +font: + catalog: + # Noto Serif supports Latin, Latin-1 Supplement, Latin Extended-A, Greek, Cyrillic, Vietnamese & an assortment of symbols + Noto Serif: + normal: notoserif-regular-subset.ttf + bold: notoserif-bold-subset.ttf + italic: notoserif-italic-subset.ttf + bold_italic: notoserif-bold_italic-subset.ttf + # M+ 1mn supports ASCII and the circled numbers used for conums + M+ 1mn: + normal: mplus1mn-regular-ascii-conums.ttf + bold: mplus1mn-bold-ascii.ttf + italic: mplus1mn-italic-ascii.ttf + bold_italic: mplus1mn-bold_italic-ascii.ttf + # M+ 1p supports Latin, Latin-1 Supplement, Latin Extended, Greek, Cyrillic, Vietnamese, Japanese & an assortment of symbols + # It also provides arrows for ->, <-, => and <= replacements in case these glyphs are missing from font + M+ 1p Fallback: + normal: mplus1p-regular-fallback.ttf + bold: mplus1p-regular-fallback.ttf + italic: mplus1p-regular-fallback.ttf + bold_italic: mplus1p-regular-fallback.ttf + fallbacks: + - M+ 1p Fallback +page: + background_color: ffffff + layout: portrait + margin: [0.5in, 0.67in, 0.67in, 0.67in] + # margin_inner and margin_outer keys are used for recto/verso print margins when media=prepress + margin_inner: 0.75in + margin_outer: 0.59in + #size: A4 # EE + size: Letter # EE +base: + align: justify + # color as hex string (leading # is optional) + font_color: 333333 + # color as RGB array + #font_color: [51, 51, 51] + # color as CMYK array (approximated) + #font_color: [0, 0, 0, 0.92] + #font_color: [0, 0, 0, 92%] + font_family: Noto Serif + # choose one of these font_size/line_height_length combinations + #font_size: 14 + #line_height_length: 20 + #font_size: 11.25 + #line_height_length: 18 + #font_size: 11.2 + #line_height_length: 16 + font_size: 10.5 + #line_height_length: 15 + # correct line height for Noto Serif metrics + line_height_length: 12 + #font_size: 11.25 + #line_height_length: 18 + line_height: $base_line_height_length / $base_font_size + font_size_large: round($base_font_size * 1.25) + font_size_small: round($base_font_size * 0.85) + font_size_min: $base_font_size * 0.75 + font_style: normal + border_color: eeeeee + border_radius: 4 + border_width: 0.5 +# FIXME vertical_rhythm is weird; we should think in terms of ems +#vertical_rhythm: $base_line_height_length * 2 / 3 +# correct line height for Noto Serif metrics (comes with built-in line height) +vertical_rhythm: $base_line_height_length +horizontal_rhythm: $base_line_height_length +# QUESTION should vertical_spacing be block_spacing instead? +vertical_spacing: $vertical_rhythm +link: + font_color: 428bca +# literal is currently used for inline monospaced in prose and table cells +literal: + font_color: b12146 + font_family: M+ 1mn +menu_caret_content: " \u203a " +heading: + align: left + #font_color: 181818 + font_color: $base_font_color + font_family: $base_font_family + font_style: bold + # h1 is used for part titles (book doctype) or the doctitle (article doctype) + #h1_font_size: floor($base_font_size * 2.6) # EE + h1_font_size: floor($base_font_size * 2.5) # EE, squeeze title onto one line + # h2 is used for chapter titles (book doctype only) + h2_font_size: floor($base_font_size * 2.15) + h3_font_size: round($base_font_size * 1.7) + h4_font_size: $base_font_size_large + h5_font_size: $base_font_size + h6_font_size: $base_font_size_small + #line_height: 1.4 + # correct line height for Noto Serif metrics (comes with built-in line height) + line_height: 1 + margin_top: $vertical_rhythm * 0.4 + margin_bottom: $vertical_rhythm * 0.9 +title_page: + align: right + logo: + top: 10% + title: + top: 55% + font_size: $heading_h1_font_size + font_color: 999999 + line_height: 0.9 + subtitle: + font_size: $heading_h3_font_size + font_style: bold_italic + line_height: 1 + authors: + margin_top: $base_font_size * 1.25 + font_size: $base_font_size_large + font_color: 181818 + revision: + margin_top: $base_font_size * 1.25 +block: + margin_top: 0 + margin_bottom: $vertical_rhythm +caption: + align: left + font_size: $base_font_size * 0.95 + font_style: italic + # FIXME perhaps set line_height instead of / in addition to margins? + margin_inside: $vertical_rhythm / 3 + #margin_inside: $vertical_rhythm / 4 + margin_outside: 0 +lead: + font_size: $base_font_size_large + line_height: 1.4 +abstract: + font_color: 5c6266 + font_size: $lead_font_size + line_height: $lead_line_height + font_style: italic + first_line_font_style: bold + title: + align: center + font_color: $heading_font_color + font_family: $heading_font_family + font_size: $heading_h4_font_size + font_style: $heading_font_style +admonition: + column_rule_color: $base_border_color + column_rule_width: $base_border_width + padding: [0, $horizontal_rhythm, 0, $horizontal_rhythm] + #icon: + # tip: + # name: fa-lightbulb-o + # stroke_color: 111111 + # size: 24 + label: + text_transform: uppercase + font_style: bold +blockquote: + font_color: $base_font_color + font_size: $base_font_size_large + border_color: $base_border_color + border_width: 5 + # FIXME disable negative padding bottom once margin collapsing is implemented + padding: [0, $horizontal_rhythm, $block_margin_bottom * -0.75, $horizontal_rhythm + $blockquote_border_width / 2] + cite_font_size: $base_font_size_small + cite_font_color: 999999 +# code is used for source blocks (perhaps change to source or listing?) +code: + font_color: $base_font_color + font_family: $literal_font_family + font_size: ceil($base_font_size) + padding: $code_font_size + line_height: 1.25 + # line_gap is an experimental property to control how a background color is applied to an inline block element + line_gap: 3.8 + background_color: f5f5f5 + border_color: cccccc + border_radius: $base_border_radius + border_width: 0.75 +conum: + font_family: M+ 1mn + font_color: $literal_font_color + font_size: $base_font_size + line_height: 4 / 3 +example: + border_color: $base_border_color + border_radius: $base_border_radius + border_width: 0.75 + background_color: ffffff + # FIXME reenable padding bottom once margin collapsing is implemented + padding: [$vertical_rhythm, $horizontal_rhythm, 0, $horizontal_rhythm] +image: + align: left +prose: + margin_top: $block_margin_top + margin_bottom: $block_margin_bottom +sidebar: + background_color: eeeeee + border_color: e1e1e1 + border_radius: $base_border_radius + border_width: $base_border_width + # FIXME reenable padding bottom once margin collapsing is implemented + padding: [$vertical_rhythm, $vertical_rhythm * 1.25, 0, $vertical_rhythm * 1.25] + title: + align: center + font_color: $heading_font_color + font_family: $heading_font_family + font_size: $heading_h4_font_size + font_style: $heading_font_style +thematic_break: + border_color: $base_border_color + border_style: solid + border_width: $base_border_width + margin_top: $vertical_rhythm * 0.5 + margin_bottom: $vertical_rhythm * 1.5 +description_list: + term_font_style: bold + term_spacing: $vertical_rhythm / 4 + description_indent: $horizontal_rhythm * 1.25 +outline_list: + indent: $horizontal_rhythm * 1.5 + #marker_font_color: 404040 + # NOTE outline_list_item_spacing applies to list items that do not have complex content + item_spacing: $vertical_rhythm / 2 +table: + background_color: $page_background_color + #head_background_color: + #head_font_color: $base_font_color + head_font_style: bold + #body_background_color: + body_stripe_background_color: f9f9f9 + foot_background_color: f0f0f0 + border_color: dddddd + border_width: $base_border_width + cell_padding: 3 +toc: + indent: $horizontal_rhythm + line_height: 1.4 + dot_leader: + #content: ". " + font_color: a9a9a9 + #levels: 2 3 +# NOTE in addition to footer, header is also supported +footer: + font_size: $base_font_size_small + # NOTE if background_color is set, background and border will span width of page + #border_color: dddddd # EE + #border_width: 0.25 # EE + height: $base_line_height_length * 2.5 + line_height: 1 + padding: [$base_line_height_length / 2, 1, 0, 1] + vertical_align: top + #image_vertical_align: or + # additional attributes for content: + # * {page-count} + # * {page-number} + # * {document-title} + # * {document-subtitle} + # * {chapter-title} + # * {section-title} + # * {section-or-chapter-title} + recto: + #columns: "<50% =0% >50%" + right: + #content: '{page-number}' # EE + #content: '{section-or-chapter-title} | {page-number}' + #content: '{document-title} | {page-number}' + content: '{document-title}{nbsp}{nbsp}{nbsp} *{page-number}*' # EE + #center: + # content: '{page-number}' + left: # EE + content: '{status}' # EE + verso: + #columns: $footer_recto_columns + left: + #content: $footer_recto_right_content # EE + #content: '{page-number} | {chapter-title}' + content: '*{page-number}* {nbsp}{nbsp}{nbsp}{document-title}' # EE + #center: + # content: '{page-number}' + right: # EE + content: '{status}' # EE +header: # EE + font_size: $base_font_size_small # EE + border_color: dddddd # EE + border_width: 0.25 # EE + height: $base_line_height_length * 2.5 # EE + line_height: 1 # EE + padding: [$base_line_height_length / 2, 1, 0, 1] # EE + vertical_align: top # EE + recto: # EE + right: # EE + content: '{section-or-chapter-title}' # EE + verso: # EE + left: # EE + content: '{section-or-chapter-title}' # EE diff --git a/jpa/platform-tests/pom.xml b/jpa/platform-tests/pom.xml new file mode 100644 index 0000000000..ab8861913b --- /dev/null +++ b/jpa/platform-tests/pom.xml @@ -0,0 +1,87 @@ + + + + 4.0.0 + + jakarta.tck + persistence-tck + 3.2.0 + ../pom.xml + + persistence-tck-platform-tests + jar + + + jakarta.servlet + jakarta.servlet-api + + + ${project.groupId} + persistence-tck-common + ${project.version} + + + ${project.groupId} + persistence-tck-spec-tests + ${project.version} + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + none + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.2.0 + + + + src/main/java + + **/*.xml + **/*.map + **/*.txt + **/*.sig* + + + + + + + + diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/common/A.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/common/A.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/common/A.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/common/A.java index 1e9be54ca2..6dc2746157 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/common/A.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/common/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.common; +package ee.jakarta.tck.persistence.ee.common; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/common/Account.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/common/Account.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/common/Account.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/common/Account.java index 79c57e0100..18390f628f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/common/Account.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/common/Account.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.common; +package ee.jakarta.tck.persistence.ee.common; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/common/B.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/common/B.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/common/B.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/common/B.java index e9c246c0f0..8d86f04a3f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/common/B.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/common/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.common; +package ee.jakarta.tck.persistence.ee.common; import jakarta.persistence.Basic; import jakarta.persistence.CascadeType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/entityManager/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/entityManager/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/Client.java index 110d8cf385..15f2f94a25 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/entityManager/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.entityManager; +package ee.jakarta.tck.persistence.ee.entityManager; import java.lang.System.Logger; import java.util.HashMap; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManager; import jakarta.persistence.SynchronizationType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/entityManager/Order.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/Order.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/entityManager/Order.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/Order.java index 0eda086825..29a1a73b5d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/entityManager/Order.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.entityManager; +package ee.jakarta.tck.persistence.ee.entityManager; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/entityManagerFactory/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManagerFactory/Client.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/entityManagerFactory/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManagerFactory/Client.java index d869fac3e5..be6ef03f32 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/entityManagerFactory/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManagerFactory/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.entityManagerFactory; +package ee.jakarta.tck.persistence.ee.entityManagerFactory; import java.lang.System.Logger; import java.util.Properties; @@ -24,8 +24,8 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; -import com.sun.ts.tests.jpa.core.entityManagerFactory.Order; +import ee.jakarta.tck.persistence.common.PMClientBase; +import ee.jakarta.tck.persistence.core.entityManagerFactory.Order; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Order.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManagerFactory/Order.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Order.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManagerFactory/Order.java index 6346d4f0c0..89de544f0b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Order.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManagerFactory/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManagerFactory; +package ee.jakarta.tck.persistence.ee.entityManagerFactory; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/annotation/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/annotation/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/annotation/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/annotation/Client.java index da860fbc91..325ce8265d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/annotation/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/annotation/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.appclient.annotation; +package ee.jakarta.tck.persistence.ee.packaging.appclient.annotation; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/annotation/Coffee.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/annotation/Coffee.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/annotation/Coffee.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/annotation/Coffee.java index a644e55f5c..e3b078b908 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/annotation/Coffee.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/annotation/Coffee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.appclient.annotation; +package ee.jakarta.tck.persistence.ee.packaging.appclient.annotation; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/annotation/persistence.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/annotation/persistence.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/annotation/persistence.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/annotation/persistence.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/Client.java index 53086c62a9..63c63d5d20 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.appclient.descriptor; +package ee.jakarta.tck.persistence.ee.packaging.appclient.descriptor; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/Coffee.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/Coffee.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/Coffee.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/Coffee.java index 554fe02064..72ddc2b4ec 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/Coffee.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/Coffee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.appclient.descriptor; +package ee.jakarta.tck.persistence.ee.packaging.appclient.descriptor; public class Coffee implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/jpa_ee_packaging_appclient_descriptor_client.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/jpa_ee_packaging_appclient_descriptor_client.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/jpa_ee_packaging_appclient_descriptor_client.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/jpa_ee_packaging_appclient_descriptor_client.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/persistence.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/persistence.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/persistence.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/persistence.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/A.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/A.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/A.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/A.java index be87f28733..29bd046113 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/A.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.descriptor; +package ee.jakarta.tck.persistence.ee.packaging.ejb.descriptor; public class A implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/B.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/B.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/B.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/B.java index fb05f0c490..027b5bfc11 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/B.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.descriptor; +package ee.jakarta.tck.persistence.ee.packaging.ejb.descriptor; public class B implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/C.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/C.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/C.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/C.java index 5974addb16..c01f8b8da1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/C.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/C.java @@ -18,7 +18,7 @@ * $Id: A.java 65615 2012-03-29 19:02:39Z sdimilla $ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.descriptor; +package ee.jakarta.tck.persistence.ee.packaging.ejb.descriptor; public class C implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Client.java index bde4a740cb..5d730f9060 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.descriptor; +package ee.jakarta.tck.persistence.ee.packaging.ejb.descriptor; import java.lang.System.Logger; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Stateful3Bean.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Stateful3Bean.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Stateful3Bean.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Stateful3Bean.java index 13366c94c2..03f31c2207 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Stateful3Bean.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Stateful3Bean.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.descriptor; +package ee.jakarta.tck.persistence.ee.packaging.ejb.descriptor; import java.lang.System.Logger; import java.util.HashMap; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Stateful3IF.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Stateful3IF.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Stateful3IF.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Stateful3IF.java index 70e1e1ce04..18a32b5e0f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Stateful3IF.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Stateful3IF.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.descriptor; +package ee.jakarta.tck.persistence.ee.packaging.ejb.descriptor; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Stateless3Bean.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Stateless3Bean.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Stateless3Bean.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Stateless3Bean.java index 3fddbf2509..6a2af3cc6c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Stateless3Bean.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Stateless3Bean.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.descriptor; +package ee.jakarta.tck.persistence.ee.packaging.ejb.descriptor; import java.lang.System.Logger; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Stateless3IF.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Stateless3IF.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Stateless3IF.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Stateless3IF.java index 03edde049b..f59120a48d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/Stateless3IF.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/Stateless3IF.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.descriptor; +package ee.jakarta.tck.persistence.ee.packaging.ejb.descriptor; import java.util.Properties; diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_client.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_client.xml similarity index 88% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_client.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_client.xml index 11e1eb8b20..a8f44bd053 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_client.xml +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_client.xml @@ -23,13 +23,13 @@ ejb/Stateless3Bean Session - com.sun.ts.tests.jpa.ee.packaging.ejb.descriptor.Stateless3IF + ee.jakarta.tck.persistence.ee.packaging.ejb.descriptor.Stateless3IF Stateless3Bean ejb/Stateful3Bean Session - com.sun.ts.tests.jpa.ee.packaging.ejb.descriptor.Stateful3IF + ee.jakarta.tck.persistence.ee.packaging.ejb.descriptor.Stateful3IF Stateful3Bean diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.sun-ejb-jar.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.sun-ejb-jar.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.sun-ejb-jar.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.sun-ejb-jar.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/persistence.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/persistence.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/persistence.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/persistence.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/A.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/A.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/A.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/A.java index 74456e198a..6a9464890c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/A.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.exclude; +package ee.jakarta.tck.persistence.ee.packaging.ejb.exclude; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/B.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/B.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/B.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/B.java index f47b8f9967..6ab861ff1d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/B.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.exclude; +package ee.jakarta.tck.persistence.ee.packaging.ejb.exclude; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/Client.java index fe5b71dbf5..906e071c6c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.exclude; +package ee.jakarta.tck.persistence.ee.packaging.ejb.exclude; import java.lang.System.Logger; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/Stateful3Bean.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/Stateful3Bean.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/Stateful3Bean.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/Stateful3Bean.java index d6d0acc8ab..d62dd7276f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/Stateful3Bean.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/Stateful3Bean.java @@ -18,15 +18,15 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.exclude; +package ee.jakarta.tck.persistence.ee.packaging.ejb.exclude; import java.lang.System.Logger; import java.util.Properties; import com.sun.ts.lib.util.RemoteLoggingInitException; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.ee.packaging.ejb.resource_local.Stateless3Bean; +import ee.jakarta.tck.persistence.ee.packaging.ejb.resource_local.Stateless3Bean; import jakarta.annotation.Resource; import jakarta.ejb.EJBException; import jakarta.ejb.Remote; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/Stateful3IF.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/Stateful3IF.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/Stateful3IF.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/Stateful3IF.java index af399bdc1c..036f6eff86 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/Stateful3IF.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/Stateful3IF.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.exclude; +package ee.jakarta.tck.persistence.ee.packaging.ejb.exclude; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/jpa_ee_packaging_ejb.jar.sun-ejb-jar.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/jpa_ee_packaging_ejb.jar.sun-ejb-jar.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/jpa_ee_packaging_ejb.jar.sun-ejb-jar.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/jpa_ee_packaging_ejb.jar.sun-ejb-jar.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/persistence.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/persistence.xml similarity index 94% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/persistence.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/persistence.xml index e06fbe0941..3d8af03e4b 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/persistence.xml +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/persistence.xml @@ -25,7 +25,7 @@ Persistence Unit for CTS EE Package Tests jdbc/DB1 - com.sun.ts.tests.jpa.ee.packaging.ejb.exclude.B + ee.jakarta.tck.persistence.ee.packaging.ejb.exclude.B true diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/Client.java index 5932c1c214..2e0fcee9fd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.resource_local; +package ee.jakarta.tck.persistence.ee.packaging.ejb.resource_local; import java.lang.System.Logger; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/Stateless3Bean.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/Stateless3Bean.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/Stateless3Bean.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/Stateless3Bean.java index 3f9d691d71..720f601cf7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/Stateless3Bean.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/Stateless3Bean.java @@ -18,7 +18,7 @@ * @(#)Stateless3Bean.java 1.2 06/02/28 */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.resource_local; +package ee.jakarta.tck.persistence.ee.packaging.ejb.resource_local; import java.lang.System.Logger; import java.util.HashMap; @@ -28,8 +28,8 @@ import com.sun.ts.lib.util.RemoteLoggingInitException; import com.sun.ts.lib.util.TSNamingContext; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.ee.common.A; +import ee.jakarta.tck.persistence.ee.common.A; import jakarta.annotation.PostConstruct; import jakarta.annotation.Resource; import jakarta.ejb.EJBException; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/Stateless3IF.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/Stateless3IF.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/Stateless3IF.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/Stateless3IF.java index 238bbc1aea..ce82420d81 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/Stateless3IF.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/Stateless3IF.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.resource_local; +package ee.jakarta.tck.persistence.ee.packaging.ejb.resource_local; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_client.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_client.xml similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_client.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_client.xml index c504b71e2d..daef71c258 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_client.xml +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_client.xml @@ -22,7 +22,7 @@ ejb/Stateless3Bean Session - com.sun.ts.tests.jpa.ee.packaging.ejb.resource_local.Stateless3IF + ee.jakarta.tck.persistence.ee.packaging.ejb.resource_local.Stateless3IF Stateless3Bean diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.sun-ejb-jar.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.sun-ejb-jar.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.sun-ejb-jar.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.sun-ejb-jar.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/persistence.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/persistence.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/persistence.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/persistence.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/Client.java index 7750d849af..6d9e8927b0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.standalone; +package ee.jakarta.tck.persistence.ee.packaging.ejb.standalone; import java.lang.System.Logger; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/Stateful3Bean.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/Stateful3Bean.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/Stateful3Bean.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/Stateful3Bean.java index 51067c246a..78fafe9614 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/Stateful3Bean.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/Stateful3Bean.java @@ -18,15 +18,15 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.standalone; +package ee.jakarta.tck.persistence.ee.packaging.ejb.standalone; import java.lang.System.Logger; import java.util.Properties; import com.sun.ts.lib.util.RemoteLoggingInitException; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.ee.common.B; +import ee.jakarta.tck.persistence.ee.common.B; import jakarta.annotation.PostConstruct; import jakarta.annotation.Resource; import jakarta.ejb.EJBException; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/Stateful3IF.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/Stateful3IF.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/Stateful3IF.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/Stateful3IF.java index 93c9289655..0c8569cfcc 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/Stateful3IF.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/Stateful3IF.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.ejb.standalone; +package ee.jakarta.tck.persistence.ee.packaging.ejb.standalone; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_client.jar.sun-application-client.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_client.jar.sun-application-client.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_client.jar.sun-application-client.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_client.jar.sun-application-client.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.sun-ejb-jar.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.sun-ejb-jar.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.sun-ejb-jar.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.sun-ejb-jar.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/persistence.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/persistence.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/persistence.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/persistence.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/Client.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/Client.java index 500363abce..f9712863ff 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/Client.java @@ -18,13 +18,13 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.web.scope; +package ee.jakarta.tck.persistence.ee.packaging.web.scope; import java.lang.System.Logger; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.ee.util.AbstractUrlClient; +import ee.jakarta.tck.persistence.ee.util.AbstractUrlClient; public class Client extends AbstractUrlClient { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/ServletTest.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/ServletTest.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/ServletTest.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/ServletTest.java index 240c8bb577..fd59e2c542 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/ServletTest.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/ServletTest.java @@ -18,16 +18,16 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.web.scope; +package ee.jakarta.tck.persistence.ee.packaging.web.scope; import java.io.IOException; import java.io.PrintWriter; import com.sun.ts.lib.util.TSNamingContext; -import com.sun.ts.tests.jpa.ee.common.Account; -import com.sun.ts.tests.jpa.ee.util.Data; -import com.sun.ts.tests.jpa.ee.util.HttpTCKServlet; +import ee.jakarta.tck.persistence.ee.common.Account; +import ee.jakarta.tck.persistence.ee.util.Data; +import ee.jakarta.tck.persistence.ee.util.HttpTCKServlet; import jakarta.persistence.EntityManager; import jakarta.servlet.ServletException; import jakarta.servlet.http.HttpServletRequest; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/application.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/application.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/application.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/application.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.war.sun-web.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.war.sun-web.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.war.sun-web.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.war.sun-web.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.xml similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.xml index 3ae0d1f4de..920a789129 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.xml +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.xml @@ -21,7 +21,7 @@ jpa_ee_packaging_web_scope ServletTest - com.sun.ts.tests.jpa.ee.packaging.web.scope.ServletTest + ee.jakarta.tck.persistence.ee.packaging.web.scope.ServletTest ServletTest diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/persistence.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/persistence.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/scope/persistence.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/scope/persistence.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/standalone/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/standalone/Client.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/standalone/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/standalone/Client.java index 626e741fac..ddfdb38149 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/standalone/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/standalone/Client.java @@ -18,13 +18,13 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.packaging.web.standalone; +package ee.jakarta.tck.persistence.ee.packaging.web.standalone; import java.lang.System.Logger; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.ee.util.AbstractUrlClient; +import ee.jakarta.tck.persistence.ee.util.AbstractUrlClient; public class Client extends AbstractUrlClient { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/standalone/ServletTest.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/standalone/ServletTest.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/standalone/ServletTest.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/standalone/ServletTest.java index 272658c959..b3bac4cbbc 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/standalone/ServletTest.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/standalone/ServletTest.java @@ -18,7 +18,7 @@ * @(#)ServletTest.java 1.1 06/02/25 */ -package com.sun.ts.tests.jpa.ee.packaging.web.standalone; +package ee.jakarta.tck.persistence.ee.packaging.web.standalone; import java.io.IOException; import java.io.PrintWriter; @@ -26,10 +26,10 @@ import java.util.Map; import com.sun.ts.lib.util.TSNamingContext; -import com.sun.ts.tests.jpa.ee.common.Account; -import com.sun.ts.tests.jpa.ee.util.Data; -import com.sun.ts.tests.jpa.ee.util.HttpTCKServlet; +import ee.jakarta.tck.persistence.ee.common.Account; +import ee.jakarta.tck.persistence.ee.util.Data; +import ee.jakarta.tck.persistence.ee.util.HttpTCKServlet; import jakarta.persistence.EntityManager; import jakarta.persistence.EntityManagerFactory; import jakarta.servlet.ServletException; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.war.sun-web.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.war.sun-web.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.war.sun-web.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.war.sun-web.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.xml similarity index 93% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.xml index 59825e6bd8..a120274517 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.xml +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.xml @@ -21,7 +21,7 @@ jpa_ee_packaging_web_standalone ServletTest - com.sun.ts.tests.jpa.ee.packaging.web.standalone.ServletTest + ee.jakarta.tck.persistence.ee.packaging.web.standalone.ServletTest ServletTest diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/standalone/persistence.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/standalone/persistence.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/standalone/persistence.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/standalone/persistence.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Client.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Client.java index 873de3185d..9ba1028e41 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.pluggability.contracts.jta; +package ee.jakarta.tck.persistence.ee.pluggability.contracts.jta; import java.lang.System.Logger; import java.net.URL; @@ -27,10 +27,10 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; -import com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation.EntityManagerFactoryImpl; -import com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation.EntityManagerImpl; -import com.sun.ts.tests.jpa.common.pluggability.util.LogFileProcessor; +import ee.jakarta.tck.persistence.common.PMClientBase; +import ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation.EntityManagerFactoryImpl; +import ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation.EntityManagerImpl; +import ee.jakarta.tck.persistence.common.pluggability.util.LogFileProcessor; import jakarta.persistence.SharedCacheMode; import jakarta.persistence.ValidationMode; @@ -103,7 +103,7 @@ public void createEMF() throws Exception { public void getPersistenceProviderClassName() throws Exception { boolean pass1 = false; - String expected1 = "com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation.PersistenceProvider"; + String expected1 = "ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation.PersistenceProvider"; getClassObjects(); String actual = puInfo.getPersistenceProviderClassName(); if (actual.equals(expected1)) { @@ -208,7 +208,7 @@ public void getTransactionType() throws Exception { public void getManagedClassNames() throws Exception { boolean pass1 = false; List expected = new ArrayList(); - expected.add("com.sun.ts.tests.jpa.ee.pluggability.contracts.jta.Order"); + expected.add("ee.jakarta.tck.persistence.ee.pluggability.contracts.jta.Order"); getClassObjects(); List actual = puInfo.getManagedClassNames(); @@ -658,8 +658,8 @@ public void isLoaded() throws Exception { public void getClassObjects() { emImpl = getEntityManager(false) - .unwrap(com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation.EntityManagerImpl.class); - emfImpl = (com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation.EntityManagerFactoryImpl) emImpl + .unwrap(ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation.EntityManagerImpl.class); + emfImpl = (ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation.EntityManagerFactoryImpl) emImpl .getEntityManagerFactory(); puInfo = emfImpl.puInfo; } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Order.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Order.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Order.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Order.java index bd449ac010..b012d81f06 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Order.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.pluggability.contracts.jta; +package ee.jakarta.tck.persistence.ee.pluggability.contracts.jta; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Order2.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Order2.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Order2.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Order2.java index c8a084d189..a282e5dfb5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Order2.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Order2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.pluggability.contracts.jta; +package ee.jakarta.tck.persistence.ee.pluggability.contracts.jta; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Order3.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Order3.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Order3.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Order3.java index e2e4075a58..104b3b0a97 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Order3.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Order3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.pluggability.contracts.jta; +package ee.jakarta.tck.persistence.ee.pluggability.contracts.jta; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Order4.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Order4.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Order4.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Order4.java index d8f984b6ab..94044129e2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/Order4.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/Order4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.pluggability.contracts.jta; +package ee.jakarta.tck.persistence.ee.pluggability.contracts.jta; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/persistence.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/persistence.xml similarity index 93% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/persistence.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/persistence.xml index 05996450af..cbbf76fd6f 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/persistence.xml +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/persistence.xml @@ -28,7 +28,7 @@ META-INF/myMappingFile1.xml META-INF/myMappingFile2.xml jpa_ee_pluggability_contracts_jta.jar - com.sun.ts.tests.jpa.ee.pluggability.contracts.jta.Order + ee.jakarta.tck.persistence.ee.pluggability.contracts.jta.Order false NONE NONE @@ -43,7 +43,7 @@ META-INF/myMappingFile1.xml META-INF/myMappingFile2.xml jpa_ee_pluggability_contracts_jta.jar - com.sun.ts.tests.jpa.ee.pluggability.contracts.jta.Order + ee.jakarta.tck.persistence.ee.pluggability.contracts.jta.Order NONE NONE diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Client.java index b8e498dcfe..342598aec5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.pluggability.contracts.resource_local; +package ee.jakarta.tck.persistence.ee.pluggability.contracts.resource_local; import java.lang.System.Logger; import java.net.URL; @@ -27,10 +27,10 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; -import com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation.EntityManagerFactoryImpl; -import com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation.EntityManagerImpl; -import com.sun.ts.tests.jpa.common.pluggability.util.LogFileProcessor; +import ee.jakarta.tck.persistence.common.PMClientBase; +import ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation.EntityManagerFactoryImpl; +import ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation.EntityManagerImpl; +import ee.jakarta.tck.persistence.common.pluggability.util.LogFileProcessor; import jakarta.persistence.SharedCacheMode; import jakarta.persistence.ValidationMode; @@ -102,7 +102,7 @@ public void createEMF() throws Exception { public void getPersistenceProviderClassName() throws Exception { boolean pass1 = false; - String expected1 = "com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation.PersistenceProvider"; + String expected1 = "ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation.PersistenceProvider"; getClassObjects(); String actual = puInfo.getPersistenceProviderClassName(); if (actual.equals(expected1)) { @@ -205,7 +205,7 @@ public void getTransactionType() throws Exception { public void getManagedClassNames() throws Exception { boolean pass1 = false; List expected = new ArrayList(); - expected.add("com.sun.ts.tests.jpa.ee.pluggability.contracts.resource_local.Order"); + expected.add("ee.jakarta.tck.persistence.ee.pluggability.contracts.resource_local.Order"); getClassObjects(); List actual = puInfo.getManagedClassNames(); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Order.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Order.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Order.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Order.java index 32ecc327e8..f8010787b3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Order.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.pluggability.contracts.resource_local; +package ee.jakarta.tck.persistence.ee.pluggability.contracts.resource_local; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Order2.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Order2.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Order2.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Order2.java index 249d3fb62c..3a2d8afe2d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Order2.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Order2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.pluggability.contracts.resource_local; +package ee.jakarta.tck.persistence.ee.pluggability.contracts.resource_local; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Order3.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Order3.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Order3.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Order3.java index c31a816cd3..84cd25e29d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Order3.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Order3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.pluggability.contracts.resource_local; +package ee.jakarta.tck.persistence.ee.pluggability.contracts.resource_local; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Order4.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Order4.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Order4.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Order4.java index 12d098fa5c..f2d614dc4a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/Order4.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/Order4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.pluggability.contracts.resource_local; +package ee.jakarta.tck.persistence.ee.pluggability.contracts.resource_local; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/persistence.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/persistence.xml similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/persistence.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/persistence.xml index c589e220d7..475901cfca 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/persistence.xml +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/persistence.xml @@ -28,7 +28,7 @@ META-INF/myMappingFile1.xml META-INF/myMappingFile2.xml pluggability_contracts_resource_local.jar - com.sun.ts.tests.jpa.ee.pluggability.contracts.resource_local.Order + ee.jakarta.tck.persistence.ee.pluggability.contracts.resource_local.Order false NONE NONE diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Client.java index 0e602b2fab..fe48d91d20 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.am; +package ee.jakarta.tck.persistence.ee.propagation.am; import java.lang.System.Logger; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Member.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Member.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Member.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Member.java index 6e4ad1014d..c5612cabe1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Member.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Member.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.am; +package ee.jakarta.tck.persistence.ee.propagation.am; import java.math.BigInteger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Member2.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Member2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Member2.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Member2.java index cb0d7487a7..a1fd92e2c1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Member2.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Member2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.propagation.am; +package ee.jakarta.tck.persistence.ee.propagation.am; import java.math.BigInteger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateful3Bean.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateful3Bean.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateful3Bean.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateful3Bean.java index 5050bb9ad1..6953c52840 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateful3Bean.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateful3Bean.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.am; +package ee.jakarta.tck.persistence.ee.propagation.am; import java.lang.System.Logger; import java.math.BigInteger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateful3Bean2.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateful3Bean2.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateful3Bean2.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateful3Bean2.java index 23cdddbf80..0ac5cfa858 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateful3Bean2.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateful3Bean2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.propagation.am; +package ee.jakarta.tck.persistence.ee.propagation.am; import java.lang.System.Logger; import java.math.BigInteger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateful3IF.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateful3IF.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateful3IF.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateful3IF.java index 4a255184d2..5ec094c013 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateful3IF.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateful3IF.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.am; +package ee.jakarta.tck.persistence.ee.propagation.am; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateful3IF2.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateful3IF2.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateful3IF2.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateful3IF2.java index 8557aa43f0..39cbf6c169 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateful3IF2.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateful3IF2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.propagation.am; +package ee.jakarta.tck.persistence.ee.propagation.am; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateless3Bean.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateless3Bean.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateless3Bean.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateless3Bean.java index da384c327b..e5bea477a9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateless3Bean.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateless3Bean.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.am; +package ee.jakarta.tck.persistence.ee.propagation.am; import java.lang.System.Logger; import java.util.HashMap; @@ -29,8 +29,8 @@ import com.sun.ts.lib.util.RemoteLoggingInitException; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.ee.common.Account; +import ee.jakarta.tck.persistence.ee.common.Account; import jakarta.annotation.Resource; import jakarta.ejb.EJBException; import jakarta.ejb.Remote; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateless3IF.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateless3IF.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateless3IF.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateless3IF.java index 806e0b6146..114bd97a46 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/Stateless3IF.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/Stateless3IF.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.am; +package ee.jakarta.tck.persistence.ee.propagation.am; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/jpa_ee_propagation_am_client.jar.sun-application-client.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/jpa_ee_propagation_am_client.jar.sun-application-client.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/jpa_ee_propagation_am_client.jar.sun-application-client.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/jpa_ee_propagation_am_client.jar.sun-application-client.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/jpa_ee_propagation_am_ejb.jar.sun-ejb-jar.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/jpa_ee_propagation_am_ejb.jar.sun-ejb-jar.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/jpa_ee_propagation_am_ejb.jar.sun-ejb-jar.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/jpa_ee_propagation_am_ejb.jar.sun-ejb-jar.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/am/persistence.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/persistence.xml similarity index 75% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/am/persistence.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/persistence.xml index fb8a6943fe..1082767cb3 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/am/persistence.xml +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/am/persistence.xml @@ -28,10 +28,10 @@ the default is JTA. jdbc/DB1 - com.sun.ts.tests.jpa.ee.common.A - com.sun.ts.tests.jpa.ee.common.Account - com.sun.ts.tests.jpa.ee.common.B - com.sun.ts.tests.jpa.ee.propagation.am.Member + ee.jakarta.tck.persistence.ee.common.A + ee.jakarta.tck.persistence.ee.common.Account + ee.jakarta.tck.persistence.ee.common.B + ee.jakarta.tck.persistence.ee.propagation.am.Member Persistence Unit for CTS EE Propagation Tests. @@ -39,9 +39,9 @@ the default is JTA. jdbc/DB1 - com.sun.ts.tests.jpa.ee.common.A - com.sun.ts.tests.jpa.ee.common.Account - com.sun.ts.tests.jpa.ee.common.B - com.sun.ts.tests.jpa.ee.propagation.am.Member2 + ee.jakarta.tck.persistence.ee.common.A + ee.jakarta.tck.persistence.ee.common.Account + ee.jakarta.tck.persistence.ee.common.B + ee.jakarta.tck.persistence.ee.propagation.am.Member2 diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/Client.java index b2a639103a..9c33fc4233 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.cm.extended; +package ee.jakarta.tck.persistence.ee.propagation.cm.extended; import java.lang.System.Logger; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/Stateful3Bean.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/Stateful3Bean.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/Stateful3Bean.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/Stateful3Bean.java index 4a643260f6..16bc16d3f2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/Stateful3Bean.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/Stateful3Bean.java @@ -18,16 +18,16 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.cm.extended; +package ee.jakarta.tck.persistence.ee.propagation.cm.extended; import java.lang.System.Logger; import java.util.Properties; import com.sun.ts.lib.util.RemoteLoggingInitException; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.ee.common.Account; -import com.sun.ts.tests.jpa.ee.common.B; +import ee.jakarta.tck.persistence.ee.common.Account; +import ee.jakarta.tck.persistence.ee.common.B; import jakarta.annotation.Resource; import jakarta.ejb.EJB; import jakarta.ejb.EJBException; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/Stateful3IF.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/Stateful3IF.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/Stateful3IF.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/Stateful3IF.java index 51e87a028e..b8529d9be3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/Stateful3IF.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/Stateful3IF.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.cm.extended; +package ee.jakarta.tck.persistence.ee.propagation.cm.extended; import java.util.Properties; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/Teller.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/Teller.java similarity index 88% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/Teller.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/Teller.java index c20d4e9dd0..c01e4d9255 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/Teller.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/Teller.java @@ -18,12 +18,12 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.cm.extended; +package ee.jakarta.tck.persistence.ee.propagation.cm.extended; import java.util.Properties; -import com.sun.ts.tests.jpa.ee.common.Account; -import com.sun.ts.tests.jpa.ee.common.B; +import ee.jakarta.tck.persistence.ee.common.Account; +import ee.jakarta.tck.persistence.ee.common.B; public interface Teller { public double balance(final int acct); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/TellerBean.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/TellerBean.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/TellerBean.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/TellerBean.java index a76eba1db4..3a3b2f29ee 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/TellerBean.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/TellerBean.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.cm.extended; +package ee.jakarta.tck.persistence.ee.propagation.cm.extended; import java.lang.System.Logger; import java.util.Iterator; @@ -27,10 +27,10 @@ import com.sun.ts.lib.util.RemoteLoggingInitException; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.ee.common.A; -import com.sun.ts.tests.jpa.ee.common.Account; -import com.sun.ts.tests.jpa.ee.common.B; +import ee.jakarta.tck.persistence.ee.common.A; +import ee.jakarta.tck.persistence.ee.common.Account; +import ee.jakarta.tck.persistence.ee.common.B; import jakarta.annotation.Resource; import jakarta.ejb.EJBException; import jakarta.ejb.Local; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_client.jar.sun-application-client.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_client.jar.sun-application-client.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_client.jar.sun-application-client.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_client.jar.sun-application-client.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_ejb.jar.sun-ejb-jar.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_ejb.jar.sun-ejb-jar.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_ejb.jar.sun-ejb-jar.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_ejb.jar.sun-ejb-jar.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/persistence.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/persistence.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/extended/persistence.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/persistence.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/Client.java index 76053c016f..fca3464430 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/Client.java @@ -18,13 +18,13 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.cm.jta; +package ee.jakarta.tck.persistence.ee.propagation.cm.jta; import java.lang.System.Logger; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.ee.util.AbstractUrlClient; +import ee.jakarta.tck.persistence.ee.util.AbstractUrlClient; public class Client extends AbstractUrlClient { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/ServletTest.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/ServletTest.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/ServletTest.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/ServletTest.java index aa862060cc..373f5869a8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/ServletTest.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/ServletTest.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.cm.jta; +package ee.jakarta.tck.persistence.ee.propagation.cm.jta; import java.io.IOException; import java.io.PrintWriter; @@ -28,10 +28,10 @@ import java.util.Map; import com.sun.ts.lib.util.TSNamingContext; -import com.sun.ts.tests.jpa.ee.common.Account; -import com.sun.ts.tests.jpa.ee.util.Data; -import com.sun.ts.tests.jpa.ee.util.HttpTCKServlet; +import ee.jakarta.tck.persistence.ee.common.Account; +import ee.jakarta.tck.persistence.ee.util.Data; +import ee.jakarta.tck.persistence.ee.util.HttpTCKServlet; import jakarta.ejb.EJB; import jakarta.persistence.EntityManager; import jakarta.persistence.LockModeType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/Teller.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/Teller.java similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/Teller.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/Teller.java index 82ac284dd3..866b3d1576 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/Teller.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/Teller.java @@ -18,9 +18,9 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.cm.jta; +package ee.jakarta.tck.persistence.ee.propagation.cm.jta; -import com.sun.ts.tests.jpa.ee.common.Account; +import ee.jakarta.tck.persistence.ee.common.Account; public interface Teller { public double balance(final int acct); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/TellerBean.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/TellerBean.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/TellerBean.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/TellerBean.java index 60670c14d4..81b1475b6a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/TellerBean.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/TellerBean.java @@ -18,15 +18,15 @@ * $Id$ */ -package com.sun.ts.tests.jpa.ee.propagation.cm.jta; +package ee.jakarta.tck.persistence.ee.propagation.cm.jta; import java.lang.System.Logger; import java.util.Iterator; import java.util.List; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.ee.common.Account; +import ee.jakarta.tck.persistence.ee.common.Account; import jakarta.annotation.Resource; import jakarta.ejb.EJBException; import jakarta.ejb.Local; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/TellerBean2.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/TellerBean2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/TellerBean2.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/TellerBean2.java index a4e2dcfe0e..19e7195e72 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/TellerBean2.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/TellerBean2.java @@ -18,15 +18,15 @@ * $Id: TellerBean.java 66539 2012-06-27 12:26:24Z sdimilla $ */ -package com.sun.ts.tests.jpa.ee.propagation.cm.jta; +package ee.jakarta.tck.persistence.ee.propagation.cm.jta; import java.lang.System.Logger; import java.util.Iterator; import java.util.List; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.ee.common.Account; +import ee.jakarta.tck.persistence.ee.common.Account; import jakarta.annotation.Resource; import jakarta.ejb.EJBException; import jakarta.ejb.Local; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/application.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/application.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/application.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/application.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_ejb.jar.sun-ejb-jar.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_ejb.jar.sun-ejb-jar.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_ejb.jar.sun-ejb-jar.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_ejb.jar.sun-ejb-jar.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_web.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_web.xml similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_web.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_web.xml index f6955a9b51..c95ab47da7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_web.xml +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_web.xml @@ -21,7 +21,7 @@ ejb3_pkg_integration ServletTest - com.sun.ts.tests.jpa.ee.propagation.cm.jta.ServletTest + ee.jakarta.tck.persistence.ee.propagation.cm.jta.ServletTest ServletTest diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/persistence.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/persistence.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/cm/jta/persistence.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/persistence.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/util/AbstractUrlClient.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/util/AbstractUrlClient.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/util/AbstractUrlClient.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/util/AbstractUrlClient.java index 6649d6e27b..caa30fd7de 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/util/AbstractUrlClient.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/util/AbstractUrlClient.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.util; +package ee.jakarta.tck.persistence.ee.util; import java.lang.System.Logger; import java.net.InetAddress; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/util/Data.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/util/Data.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/util/Data.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/util/Data.java index 2b8475df3e..afb0fa660c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/util/Data.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/util/Data.java @@ -55,7 +55,7 @@ * */ -package com.sun.ts.tests.jpa.ee.util; +package ee.jakarta.tck.persistence.ee.util; public final class Data { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/util/HttpTCKServlet.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/util/HttpTCKServlet.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/util/HttpTCKServlet.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/util/HttpTCKServlet.java index cb62736fe6..d794d38ea2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/util/HttpTCKServlet.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/util/HttpTCKServlet.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.util; +package ee.jakarta.tck.persistence.ee.util; import java.io.IOException; import java.lang.reflect.InvocationTargetException; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/jar/A.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/jpa/ee/packaging/jar/A.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/jar/A.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/jpa/ee/packaging/jar/A.java index 860b4e9772..d4a5f31cf2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/jar/A.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/jpa/ee/packaging/jar/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.packaging.jar; +package ee.jakarta.tck.persistence.jpa.ee.packaging.jar; public class A implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/jar/B.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/jpa/ee/packaging/jar/B.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/jar/B.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/jpa/ee/packaging/jar/B.java index d19afc400b..8d6f4bac73 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/jar/B.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/jpa/ee/packaging/jar/B.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.packaging.jar; +package ee.jakarta.tck.persistence.jpa.ee.packaging.jar; public class B implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/jar/C.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/jpa/ee/packaging/jar/C.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/jar/C.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/jpa/ee/packaging/jar/C.java index bc07b1512d..2a1df6321d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/jar/C.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/jpa/ee/packaging/jar/C.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.packaging.jar; +package ee.jakarta.tck.persistence.jpa.ee.packaging.jar; public class C implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/jar/Client.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/jpa/ee/packaging/jar/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/jar/Client.java rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/jpa/ee/packaging/jar/Client.java index 494180dd2a..6cdb5322ac 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/jar/Client.java +++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/jpa/ee/packaging/jar/Client.java @@ -14,14 +14,14 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.packaging.jar; +package ee.jakarta.tck.persistence.jpa.ee.packaging.jar; import java.lang.System.Logger; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/jar/persistence.xml b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/jpa/ee/packaging/jar/persistence.xml similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/jar/persistence.xml rename to jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/jpa/ee/packaging/jar/persistence.xml diff --git a/jpa/platform-tests/src/main/resources/LICENSE_EFTL.md b/jpa/platform-tests/src/main/resources/LICENSE_EFTL.md new file mode 100644 index 0000000000..a2106828a6 --- /dev/null +++ b/jpa/platform-tests/src/main/resources/LICENSE_EFTL.md @@ -0,0 +1,83 @@ +# Eclipse Foundation Technology Compatibility Kit License - v 1.0 + +Copyright (c) 2018, Eclipse Foundation, Inc. and its licensors. + +Redistribution and use in binary form is permitted provided that the +following conditions are met: + +1. Use of the Technology Compatibility Kit accompanying this license + (the "TCK") and its documentation is permitted solely for the + purpose of testing compatibility of an implementation (the + "Product") of a specification (the "Specification") made available + by the Eclipse Foundation, Inc. ("Eclipse"). + +2. Only those modifications expressly permitted by the TCK and its + documentation are permitted. Except in these limited circumstances, + no modifications to the TCK are permitted under this license. + +3. A Product will be deemed to be "compatible" with the Specification + if it fully and completely meets and satisfies all requirements of + the TCK. + +4. Before any claim of compatibility (or any similar claim suggesting + compatibility) is made based on the TCK, the testing party must: + + a. use the TCK to demonstrate that the Product fully and + completely meets and satisfies all requirements of the TCK; + + b. make TCK test results showing full and complete satisfaction of + all requirements of the TCK publicly available on the testing + party's website and send a link to such test results to Eclipse + at [tck@eclipse.org](mailto:tck@eclipse.org); and + + c. comply with any requirements stated in the Specification with + regard to subsetting, supersetting, modifying or extending the + Specification in any Product claimed to be compatible with the + Specification. + +5. The test results must be continuously available and the link must + be live for at least as long as the Product is available in the + marketplace. + +6. The TCK may not be used as a basis for any statements of partial + compatibility. The TCK may only be used as a basis for true, + factual statements of full compatibility of Products that fully + meet and satisfy all requirements of the TCK. + +7. A determination that a Product is compatible with the TCK does not, + in itself, give rise to the right to use any name, mark, logo + associated with the TCK, Eclipse, or Eclipse's contributors or + licensors. + +8. Upon the request of Eclipse, a tester will retract any statements + of compatibility (or any similar claim suggesting compatibility) + which Eclipse reasonably determines to be false or misleading or in + violation of the terms of this license. + +9. Redistribution of the TCK must be under this Eclipse Foundation + Technology Compatibility Kit License and must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + +10. Neither the name, trademarks or logos of Eclipse, nor the names, + trademarks or logos of its contributors or licensors may be used to + endorse or promote products tested with this software without + specific prior written permission. + +11. The source code for the TCK accompanying this license is available + from Eclipse. + +TO THE EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED ON +AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER +EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR +CONDITIONS OF TITLE, NON- INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR +A PARTICULAR PURPOSE. TO THE EXTENT PERMITTED BY APPLICABLE LAW, +NEITHER THE COPYRIGHT OWNER OR ANY CONTRIBUTORS SHALL HAVE ANY +LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE +EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. diff --git a/jpa/platform-tests/src/main/resources/LICENSE_EPL.md b/jpa/platform-tests/src/main/resources/LICENSE_EPL.md new file mode 100644 index 0000000000..1d428edaa0 --- /dev/null +++ b/jpa/platform-tests/src/main/resources/LICENSE_EPL.md @@ -0,0 +1,637 @@ +# Eclipse Public License - v 2.0 + + THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE + PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION + OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + + 1. DEFINITIONS + + "Contribution" means: + + a) in the case of the initial Contributor, the initial content + Distributed under this Agreement, and + + b) in the case of each subsequent Contributor: + i) changes to the Program, and + ii) additions to the Program; + where such changes and/or additions to the Program originate from + and are Distributed by that particular Contributor. A Contribution + "originates" from a Contributor if it was added to the Program by + such Contributor itself or anyone acting on such Contributor's behalf. + Contributions do not include changes or additions to the Program that + are not Modified Works. + + "Contributor" means any person or entity that Distributes the Program. + + "Licensed Patents" mean patent claims licensable by a Contributor which + are necessarily infringed by the use or sale of its Contribution alone + or when combined with the Program. + + "Program" means the Contributions Distributed in accordance with this + Agreement. + + "Recipient" means anyone who receives the Program under this Agreement + or any Secondary License (as applicable), including Contributors. + + "Derivative Works" shall mean any work, whether in Source Code or other + form, that is based on (or derived from) the Program and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. + + "Modified Works" shall mean any work in Source Code or other form that + results from an addition to, deletion from, or modification of the + contents of the Program, including, for purposes of clarity any new file + in Source Code form that contains any contents of the Program. Modified + Works shall not include works that contain only declarations, + interfaces, types, classes, structures, or files of the Program solely + in each case in order to link to, bind by name, or subclass the Program + or Modified Works thereof. + + "Distribute" means the acts of a) distributing or b) making available + in any manner that enables the transfer of a copy. + + "Source Code" means the form of a Program preferred for making + modifications, including but not limited to software source code, + documentation source, and configuration files. + + "Secondary License" means either the GNU General Public License, + Version 2.0, or any later versions of that license, including any + exceptions or additional permissions as identified by the initial + Contributor. + + 2. GRANT OF RIGHTS + + a) Subject to the terms of this Agreement, each Contributor hereby + grants Recipient a non-exclusive, worldwide, royalty-free copyright + license to reproduce, prepare Derivative Works of, publicly display, + publicly perform, Distribute and sublicense the Contribution of such + Contributor, if any, and such Derivative Works. + + b) Subject to the terms of this Agreement, each Contributor hereby + grants Recipient a non-exclusive, worldwide, royalty-free patent + license under Licensed Patents to make, use, sell, offer to sell, + import and otherwise transfer the Contribution of such Contributor, + if any, in Source Code or other form. This patent license shall + apply to the combination of the Contribution and the Program if, at + the time the Contribution is added by the Contributor, such addition + of the Contribution causes such combination to be covered by the + Licensed Patents. The patent license shall not apply to any other + combinations which include the Contribution. No hardware per se is + licensed hereunder. + + c) Recipient understands that although each Contributor grants the + licenses to its Contributions set forth herein, no assurances are + provided by any Contributor that the Program does not infringe the + patent or other intellectual property rights of any other entity. + Each Contributor disclaims any liability to Recipient for claims + brought by any other entity based on infringement of intellectual + property rights or otherwise. As a condition to exercising the + rights and licenses granted hereunder, each Recipient hereby + assumes sole responsibility to secure any other intellectual + property rights needed, if any. For example, if a third party + patent license is required to allow Recipient to Distribute the + Program, it is Recipient's responsibility to acquire that license + before distributing the Program. + + d) Each Contributor represents that to its knowledge it has + sufficient copyright rights in its Contribution, if any, to grant + the copyright license set forth in this Agreement. + + e) Notwithstanding the terms of any Secondary License, no + Contributor makes additional grants to any Recipient (other than + those set forth in this Agreement) as a result of such Recipient's + receipt of the Program under the terms of a Secondary License + (if permitted under the terms of Section 3). + + 3. REQUIREMENTS + + 3.1 If a Contributor Distributes the Program in any form, then: + + a) the Program must also be made available as Source Code, in + accordance with section 3.2, and the Contributor must accompany + the Program with a statement that the Source Code for the Program + is available under this Agreement, and informs Recipients how to + obtain it in a reasonable manner on or through a medium customarily + used for software exchange; and + + b) the Contributor may Distribute the Program under a license + different than this Agreement, provided that such license: + i) effectively disclaims on behalf of all other Contributors all + warranties and conditions, express and implied, including + warranties or conditions of title and non-infringement, and + implied warranties or conditions of merchantability and fitness + for a particular purpose; + + ii) effectively excludes on behalf of all other Contributors all + liability for damages, including direct, indirect, special, + incidental and consequential damages, such as lost profits; + + iii) does not attempt to limit or alter the recipients' rights + in the Source Code under section 3.2; and + + iv) requires any subsequent distribution of the Program by any + party to be under a license that satisfies the requirements + of this section 3. + + 3.2 When the Program is Distributed as Source Code: + + a) it must be made available under this Agreement, or if the + Program (i) is combined with other material in a separate file or + files made available under a Secondary License, and (ii) the initial + Contributor attached to the Source Code the notice described in + Exhibit A of this Agreement, then the Program may be made available + under the terms of such Secondary Licenses, and + + b) a copy of this Agreement must be included with each copy of + the Program. + + 3.3 Contributors may not remove or alter any copyright, patent, + trademark, attribution notices, disclaimers of warranty, or limitations + of liability ("notices") contained within the Program from any copy of + the Program which they Distribute, provided that Contributors may add + their own appropriate notices. + + 4. COMMERCIAL DISTRIBUTION + + Commercial distributors of software may accept certain responsibilities + with respect to end users, business partners and the like. While this + license is intended to facilitate the commercial use of the Program, + the Contributor who includes the Program in a commercial product + offering should do so in a manner which does not create potential + liability for other Contributors. Therefore, if a Contributor includes + the Program in a commercial product offering, such Contributor + ("Commercial Contributor") hereby agrees to defend and indemnify every + other Contributor ("Indemnified Contributor") against any losses, + damages and costs (collectively "Losses") arising from claims, lawsuits + and other legal actions brought by a third party against the Indemnified + Contributor to the extent caused by the acts or omissions of such + Commercial Contributor in connection with its distribution of the Program + in a commercial product offering. The obligations in this section do not + apply to any claims or Losses relating to any actual or alleged + intellectual property infringement. In order to qualify, an Indemnified + Contributor must: a) promptly notify the Commercial Contributor in + writing of such claim, and b) allow the Commercial Contributor to control, + and cooperate with the Commercial Contributor in, the defense and any + related settlement negotiations. The Indemnified Contributor may + participate in any such claim at its own expense. + + For example, a Contributor might include the Program in a commercial + product offering, Product X. That Contributor is then a Commercial + Contributor. If that Commercial Contributor then makes performance + claims, or offers warranties related to Product X, those performance + claims and warranties are such Commercial Contributor's responsibility + alone. Under this section, the Commercial Contributor would have to + defend claims against the other Contributors related to those performance + claims and warranties, and if a court requires any other Contributor to + pay any damages as a result, the Commercial Contributor must pay + those damages. + + 5. NO WARRANTY + + EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT + PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" + BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR + IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF + TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR + PURPOSE. Each Recipient is solely responsible for determining the + appropriateness of using and distributing the Program and assumes all + risks associated with its exercise of rights under this Agreement, + including but not limited to the risks and costs of program errors, + compliance with applicable laws, damage to or loss of data, programs + or equipment, and unavailability or interruption of operations. + + 6. DISCLAIMER OF LIABILITY + + EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT + PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS + SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST + PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE + EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGES. + + 7. GENERAL + + If any provision of this Agreement is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this Agreement, and without further + action by the parties hereto, such provision shall be reformed to the + minimum extent necessary to make such provision valid and enforceable. + + If Recipient institutes patent litigation against any entity + (including a cross-claim or counterclaim in a lawsuit) alleging that the + Program itself (excluding combinations of the Program with other software + or hardware) infringes such Recipient's patent(s), then such Recipient's + rights granted under Section 2(b) shall terminate as of the date such + litigation is filed. + + All Recipient's rights under this Agreement shall terminate if it + fails to comply with any of the material terms or conditions of this + Agreement and does not cure such failure in a reasonable period of + time after becoming aware of such noncompliance. If all Recipient's + rights under this Agreement terminate, Recipient agrees to cease use + and distribution of the Program as soon as reasonably practicable. + However, Recipient's obligations under this Agreement and any licenses + granted by Recipient relating to the Program shall continue and survive. + + Everyone is permitted to copy and distribute copies of this Agreement, + but in order to avoid inconsistency the Agreement is copyrighted and + may only be modified in the following manner. The Agreement Steward + reserves the right to publish new versions (including revisions) of + this Agreement from time to time. No one other than the Agreement + Steward has the right to modify this Agreement. The Eclipse Foundation + is the initial Agreement Steward. The Eclipse Foundation may assign the + responsibility to serve as the Agreement Steward to a suitable separate + entity. Each new version of the Agreement will be given a distinguishing + version number. The Program (including Contributions) may always be + Distributed subject to the version of the Agreement under which it was + received. In addition, after a new version of the Agreement is published, + Contributor may elect to Distribute the Program (including its + Contributions) under the new version. + + Except as expressly stated in Sections 2(a) and 2(b) above, Recipient + receives no rights or licenses to the intellectual property of any + Contributor under this Agreement, whether expressly, by implication, + estoppel or otherwise. All rights in the Program not expressly granted + under this Agreement are reserved. Nothing in this Agreement is intended + to be enforceable by any entity that is not a Contributor or Recipient. + No third-party beneficiary rights are created under this Agreement. + + Exhibit A - Form of Secondary Licenses Notice + + "This Source Code may also be made available under the following + Secondary Licenses when the conditions for such availability set forth + in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), + version(s), and exceptions or additional permissions here}." + + Simply including a copy of this Agreement, including this Exhibit A + is not sufficient to license the Source Code under Secondary Licenses. + + If it is not possible or desirable to put the notice in a particular + file, then You may include the notice in a location (such as a LICENSE + file in a relevant directory) where a recipient would be likely to + look for such a notice. + + You may add additional accurate notices of copyright ownership. + +--- + +## The GNU General Public License (GPL) Version 2, June 1991 + + Copyright (C) 1989, 2022 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor + Boston, MA 02110-1335 + USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your freedom to + share and change it. By contrast, the GNU General Public License is + intended to guarantee your freedom to share and change free software--to + make sure the software is free for all its users. This General Public + License applies to most of the Free Software Foundation's software and + to any other program whose authors commit to using it. (Some other Free + Software Foundation software is covered by the GNU Library General + Public License instead.) You can apply it to your programs, too. + + When we speak of free software, we are referring to freedom, not price. + Our General Public Licenses are designed to make sure that you have the + freedom to distribute copies of free software (and charge for this + service if you wish), that you receive source code or can get it if you + want it, that you can change the software or use pieces of it in new + free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid anyone + to deny you these rights or to ask you to surrender the rights. These + restrictions translate to certain responsibilities for you if you + distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether gratis + or for a fee, you must give the recipients all the rights that you have. + You must make sure that they, too, receive or can get the source code. + And you must show them these terms so they know their rights. + + We protect your rights with two steps: (1) copyright the software, and + (2) offer you this license which gives you legal permission to copy, + distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain + that everyone understands that there is no warranty for this free + software. If the software is modified by someone else and passed on, we + want its recipients to know that what they have is not the original, so + that any problems introduced by others will not reflect on the original + authors' reputations. + + Finally, any free program is threatened constantly by software patents. + We wish to avoid the danger that redistributors of a free program will + individually obtain patent licenses, in effect making the program + proprietary. To prevent this, we have made it clear that any patent must + be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and + modification follow. + + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains a + notice placed by the copyright holder saying it may be distributed under + the terms of this General Public License. The "Program", below, refers + to any such program or work, and a "work based on the Program" means + either the Program or any derivative work under copyright law: that is + to say, a work containing the Program or a portion of it, either + verbatim or with modifications and/or translated into another language. + (Hereinafter, translation is included without limitation in the term + "modification".) Each licensee is addressed as "you". + + Activities other than copying, distribution and modification are not + covered by this License; they are outside its scope. The act of running + the Program is not restricted, and the output from the Program is + covered only if its contents constitute a work based on the Program + (independent of having been made by running the Program). Whether that + is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's source + code as you receive it, in any medium, provided that you conspicuously + and appropriately publish on each copy an appropriate copyright notice + and disclaimer of warranty; keep intact all the notices that refer to + this License and to the absence of any warranty; and give any other + recipients of the Program a copy of this License along with the Program. + + You may charge a fee for the physical act of transferring a copy, and + you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion of + it, thus forming a work based on the Program, and copy and distribute + such modifications or work under the terms of Section 1 above, provided + that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any part + thereof, to be licensed as a whole at no charge to all third parties + under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a notice + that there is no warranty (or else, saying that you provide a + warranty) and that users may redistribute the program under these + conditions, and telling the user how to view a copy of this License. + (Exception: if the Program itself is interactive but does not + normally print such an announcement, your work based on the Program + is not required to print an announcement.) + + These requirements apply to the modified work as a whole. If + identifiable sections of that work are not derived from the Program, and + can be reasonably considered independent and separate works in + themselves, then this License, and its terms, do not apply to those + sections when you distribute them as separate works. But when you + distribute the same sections as part of a whole which is a work based on + the Program, the distribution of the whole must be on the terms of this + License, whose permissions for other licensees extend to the entire + whole, and thus to each and every part regardless of who wrote it. + + Thus, it is not the intent of this section to claim rights or contest + your rights to work written entirely by you; rather, the intent is to + exercise the right to control the distribution of derivative or + collective works based on the Program. + + In addition, mere aggregation of another work not based on the Program + with the Program (or with a work based on the Program) on a volume of a + storage or distribution medium does not bring the other work under the + scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, + under Section 2) in object code or executable form under the terms of + Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your cost + of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed + only for noncommercial distribution and only if you received the + program in object code or executable form with such an offer, in + accord with Subsection b above.) + + The source code for a work means the preferred form of the work for + making modifications to it. For an executable work, complete source code + means all the source code for all modules it contains, plus any + associated interface definition files, plus the scripts used to control + compilation and installation of the executable. However, as a special + exception, the source code distributed need not include anything that is + normally distributed (in either source or binary form) with the major + components (compiler, kernel, and so on) of the operating system on + which the executable runs, unless that component itself accompanies the + executable. + + If distribution of executable or object code is made by offering access + to copy from a designated place, then offering equivalent access to copy + the source code from the same place counts as distribution of the source + code, even though third parties are not compelled to copy the source + along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program + except as expressly provided under this License. Any attempt otherwise + to copy, modify, sublicense or distribute the Program is void, and will + automatically terminate your rights under this License. However, parties + who have received copies, or rights, from you under this License will + not have their licenses terminated so long as such parties remain in + full compliance. + + 5. You are not required to accept this License, since you have not + signed it. However, nothing else grants you permission to modify or + distribute the Program or its derivative works. These actions are + prohibited by law if you do not accept this License. Therefore, by + modifying or distributing the Program (or any work based on the + Program), you indicate your acceptance of this License to do so, and all + its terms and conditions for copying, distributing or modifying the + Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the + Program), the recipient automatically receives a license from the + original licensor to copy, distribute or modify the Program subject to + these terms and conditions. You may not impose any further restrictions + on the recipients' exercise of the rights granted herein. You are not + responsible for enforcing compliance by third parties to this License. + + 7. If, as a consequence of a court judgment or allegation of patent + infringement or for any other reason (not limited to patent issues), + conditions are imposed on you (whether by court order, agreement or + otherwise) that contradict the conditions of this License, they do not + excuse you from the conditions of this License. If you cannot distribute + so as to satisfy simultaneously your obligations under this License and + any other pertinent obligations, then as a consequence you may not + distribute the Program at all. For example, if a patent license would + not permit royalty-free redistribution of the Program by all those who + receive copies directly or indirectly through you, then the only way you + could satisfy both it and this License would be to refrain entirely from + distribution of the Program. + + If any portion of this section is held invalid or unenforceable under + any particular circumstance, the balance of the section is intended to + apply and the section as a whole is intended to apply in other + circumstances. + + It is not the purpose of this section to induce you to infringe any + patents or other property right claims or to contest validity of any + such claims; this section has the sole purpose of protecting the + integrity of the free software distribution system, which is implemented + by public license practices. Many people have made generous + contributions to the wide range of software distributed through that + system in reliance on consistent application of that system; it is up to + the author/donor to decide if he or she is willing to distribute + software through any other system and a licensee cannot impose that choice. + + This section is intended to make thoroughly clear what is believed to be + a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in + certain countries either by patents or by copyrighted interfaces, the + original copyright holder who places the Program under this License may + add an explicit geographical distribution limitation excluding those + countries, so that distribution is permitted only in or among countries + not thus excluded. In such case, this License incorporates the + limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new + versions of the General Public License from time to time. Such new + versions will be similar in spirit to the present version, but may + differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the Program + specifies a version number of this License which applies to it and "any + later version", you have the option of following the terms and + conditions either of that version or of any later version published by + the Free Software Foundation. If the Program does not specify a version + number of this License, you may choose any version ever published by the + Free Software Foundation. + + 10. If you wish to incorporate parts of the Program into other free + programs whose distribution conditions are different, write to the + author to ask for permission. For software which is copyrighted by the + Free Software Foundation, write to the Free Software Foundation; we + sometimes make exceptions for this. Our decision will be guided by the + two goals of preserving the free status of all derivatives of our free + software and of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO + WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. + EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR + OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, + EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE + ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH + YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL + NECESSARY SERVICING, REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN + WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY + AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR + DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL + DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM + (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED + INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF + THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR + OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest + possible use to the public, the best way to achieve this is to make it + free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest to + attach them to the start of each source file to most effectively convey + the exclusion of warranty; and each file should have at least the + "copyright" line and a pointer to where the full notice is found. + + One line to give the program's name and a brief idea of what it does. + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA + + Also add information on how to contact you by electronic and paper mail. + + If the program is interactive, make it output a short notice like this + when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type + `show w'. This is free software, and you are welcome to redistribute + it under certain conditions; type `show c' for details. + + The hypothetical commands `show w' and `show c' should show the + appropriate parts of the General Public License. Of course, the commands + you use may be called something other than `show w' and `show c'; they + could even be mouse-clicks or menu items--whatever suits your program. + + You should also get your employer (if you work as a programmer) or your + school, if any, to sign a "copyright disclaimer" for the program, if + necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + program `Gnomovision' (which makes passes at compilers) written by + James Hacker. + + signature of Ty Coon, 1 April 1989 + Ty Coon, President of Vice + + This General Public License does not permit incorporating your program + into proprietary programs. If your program is a subroutine library, you + may consider it more useful to permit linking proprietary applications + with the library. If this is what you want to do, use the GNU Library + General Public License instead of this License. + +--- + +## CLASSPATH EXCEPTION + + Linking this library statically or dynamically with other modules is + making a combined work based on this library. Thus, the terms and + conditions of the GNU General Public License version 2 cover the whole + combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent + modules, and to copy and distribute the resulting executable under + terms of your choice, provided that you also meet, for each linked + independent module, the terms and conditions of the license of that + module. An independent module is a module which is not derived from or + based on this library. If you modify this library, you may extend this + exception to your version of the library, but you are not obligated to + do so. If you do not wish to do so, delete this exception statement + from your version. diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/appclient/annotation/persistence.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/appclient/annotation/persistence.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/appclient/annotation/persistence.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/appclient/annotation/persistence.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/jpa_ee_packaging_appclient_descriptor_client.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/jpa_ee_packaging_appclient_descriptor_client.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/jpa_ee_packaging_appclient_descriptor_client.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/jpa_ee_packaging_appclient_descriptor_client.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/orm.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/orm.xml similarity index 92% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/orm.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/orm.xml index 13fba237f7..dc594e348d 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/orm.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/orm.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - + diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/persistence.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/persistence.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/appclient/descriptor/persistence.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/appclient/descriptor/persistence.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_client.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_client.xml similarity index 88% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_client.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_client.xml index 11e1eb8b20..a8f44bd053 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_client.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_client.xml @@ -23,13 +23,13 @@ ejb/Stateless3Bean Session - com.sun.ts.tests.jpa.ee.packaging.ejb.descriptor.Stateless3IF + ee.jakarta.tck.persistence.ee.packaging.ejb.descriptor.Stateless3IF Stateless3Bean ejb/Stateful3Bean Session - com.sun.ts.tests.jpa.ee.packaging.ejb.descriptor.Stateful3IF + ee.jakarta.tck.persistence.ee.packaging.ejb.descriptor.Stateful3IF Stateful3Bean diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.sun-ejb-jar.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.sun-ejb-jar.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.sun-ejb-jar.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.sun-ejb-jar.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/jpa_ee_packaging_ejb_descriptor_ejb.jar.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/myMappingFile.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/myMappingFile.xml similarity index 88% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/myMappingFile.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/myMappingFile.xml index ad5859bfc9..dd0d2cff3d 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/myMappingFile.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/myMappingFile.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
@@ -35,7 +35,7 @@ diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/myMappingFile2.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/myMappingFile2.xml similarity index 89% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/myMappingFile2.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/myMappingFile2.xml index 004f8fe2da..bd4b7723ab 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/myMappingFile2.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/myMappingFile2.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
@@ -35,7 +35,7 @@ diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/orm.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/orm.xml similarity index 93% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/orm.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/orm.xml index 0127ae1cb1..0b9b7ce094 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/orm.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/orm.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/persistence.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/persistence.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/descriptor/persistence.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/descriptor/persistence.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/jpa_ee_packaging_ejb.jar.sun-ejb-jar.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/jpa_ee_packaging_ejb.jar.sun-ejb-jar.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/jpa_ee_packaging_ejb.jar.sun-ejb-jar.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/jpa_ee_packaging_ejb.jar.sun-ejb-jar.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/persistence.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/persistence.xml similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/persistence.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/persistence.xml index e06fbe0941..3d8af03e4b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/ejb/exclude/persistence.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/exclude/persistence.xml @@ -25,7 +25,7 @@ Persistence Unit for CTS EE Package Tests jdbc/DB1 - com.sun.ts.tests.jpa.ee.packaging.ejb.exclude.B + ee.jakarta.tck.persistence.ee.packaging.ejb.exclude.B true diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_client.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_client.xml similarity index 92% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_client.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_client.xml index c504b71e2d..daef71c258 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_client.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_client.xml @@ -22,7 +22,7 @@ ejb/Stateless3Bean Session - com.sun.ts.tests.jpa.ee.packaging.ejb.resource_local.Stateless3IF + ee.jakarta.tck.persistence.ee.packaging.ejb.resource_local.Stateless3IF Stateless3Bean diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.sun-ejb-jar.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.sun-ejb-jar.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.sun-ejb-jar.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.sun-ejb-jar.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/jpa_ee_packaging_ejb_resource_local_ejb.jar.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/persistence.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/persistence.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/resource_local/persistence.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/resource_local/persistence.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_client.jar.sun-application-client.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_client.jar.sun-application-client.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_client.jar.sun-application-client.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_client.jar.sun-application-client.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.sun-ejb-jar.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.sun-ejb-jar.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.sun-ejb-jar.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.sun-ejb-jar.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/jpa_ee_packaging_ejb_standalone_component_ejb.jar.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/persistence.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/persistence.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/ejb/standalone/persistence.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/ejb/standalone/persistence.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/jar/myMappingFile.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/jar/myMappingFile.xml similarity index 93% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/jar/myMappingFile.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/jar/myMappingFile.xml index b43ebda6cb..a761e15533 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/jar/myMappingFile.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/jar/myMappingFile.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/jar/myMappingFile2.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/jar/myMappingFile2.xml similarity index 93% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/jar/myMappingFile2.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/jar/myMappingFile2.xml index b8724114b1..d65fcc8beb 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/jar/myMappingFile2.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/jar/myMappingFile2.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/jar/orm.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/jar/orm.xml similarity index 93% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/jar/orm.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/jar/orm.xml index cad93bc851..a2a4d1bba6 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/jar/orm.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/jar/orm.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/jar/persistence.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/jar/persistence.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/jar/persistence.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/jar/persistence.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/scope/application.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/scope/application.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/scope/application.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/scope/application.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.war.sun-web.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.war.sun-web.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.war.sun-web.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.war.sun-web.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.xml similarity index 94% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.xml index 3ae0d1f4de..920a789129 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/scope/jpa_ee_packaging_web_scope_web.xml @@ -21,7 +21,7 @@ jpa_ee_packaging_web_scope ServletTest - com.sun.ts.tests.jpa.ee.packaging.web.scope.ServletTest + ee.jakarta.tck.persistence.ee.packaging.web.scope.ServletTest ServletTest diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/scope/persistence.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/scope/persistence.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/scope/persistence.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/scope/persistence.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.war.sun-web.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.war.sun-web.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.war.sun-web.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.war.sun-web.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.xml similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.xml index 59825e6bd8..a120274517 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/standalone/jpa_ee_packaging_web_standalone_component_web.xml @@ -21,7 +21,7 @@ jpa_ee_packaging_web_standalone ServletTest - com.sun.ts.tests.jpa.ee.packaging.web.standalone.ServletTest + ee.jakarta.tck.persistence.ee.packaging.web.standalone.ServletTest ServletTest diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/standalone/persistence.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/standalone/persistence.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/packaging/web/standalone/persistence.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/packaging/web/standalone/persistence.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/myMappingFile1.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/myMappingFile1.xml similarity index 92% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/myMappingFile1.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/myMappingFile1.xml index ec1c57c02d..4f283e37e8 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/myMappingFile1.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/myMappingFile1.xml @@ -23,7 +23,7 @@ https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/myMappingFile2.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/myMappingFile2.xml similarity index 92% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/myMappingFile2.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/myMappingFile2.xml index cc4d9193d2..4340519bcb 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/myMappingFile2.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/myMappingFile2.xml @@ -23,7 +23,7 @@ https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/orm.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/orm.xml similarity index 92% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/orm.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/orm.xml index 3f1ce59751..c2299c4e45 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/orm.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/orm.xml @@ -23,7 +23,7 @@ https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/persistence.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/persistence.xml similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/persistence.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/persistence.xml index 05996450af..cbbf76fd6f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/pluggability/contracts/jta/persistence.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/jta/persistence.xml @@ -28,7 +28,7 @@ META-INF/myMappingFile1.xml META-INF/myMappingFile2.xml jpa_ee_pluggability_contracts_jta.jar - com.sun.ts.tests.jpa.ee.pluggability.contracts.jta.Order + ee.jakarta.tck.persistence.ee.pluggability.contracts.jta.Order false NONE NONE @@ -43,7 +43,7 @@ META-INF/myMappingFile1.xml META-INF/myMappingFile2.xml jpa_ee_pluggability_contracts_jta.jar - com.sun.ts.tests.jpa.ee.pluggability.contracts.jta.Order + ee.jakarta.tck.persistence.ee.pluggability.contracts.jta.Order NONE NONE diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/myMappingFile1.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/myMappingFile1.xml similarity index 91% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/myMappingFile1.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/myMappingFile1.xml index 8782046477..834b39304a 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/myMappingFile1.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/myMappingFile1.xml @@ -23,7 +23,7 @@ https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/myMappingFile2.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/myMappingFile2.xml similarity index 91% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/myMappingFile2.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/myMappingFile2.xml index 0eaa95a263..202286cb0d 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/myMappingFile2.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/myMappingFile2.xml @@ -23,7 +23,7 @@ https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/orm.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/orm.xml similarity index 91% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/orm.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/orm.xml index 5e0d0e4028..579e88164e 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/orm.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/orm.xml @@ -23,7 +23,7 @@ https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/persistence.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/persistence.xml similarity index 95% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/persistence.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/persistence.xml index c589e220d7..475901cfca 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/persistence.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/pluggability/contracts/resource_local/persistence.xml @@ -28,7 +28,7 @@ META-INF/myMappingFile1.xml META-INF/myMappingFile2.xml pluggability_contracts_resource_local.jar - com.sun.ts.tests.jpa.ee.pluggability.contracts.resource_local.Order + ee.jakarta.tck.persistence.ee.pluggability.contracts.resource_local.Order false NONE NONE diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/am/jpa_ee_propagation_am_client.jar.sun-application-client.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/am/jpa_ee_propagation_am_client.jar.sun-application-client.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/am/jpa_ee_propagation_am_client.jar.sun-application-client.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/am/jpa_ee_propagation_am_client.jar.sun-application-client.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/am/jpa_ee_propagation_am_ejb.jar.sun-ejb-jar.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/am/jpa_ee_propagation_am_ejb.jar.sun-ejb-jar.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/am/jpa_ee_propagation_am_ejb.jar.sun-ejb-jar.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/am/jpa_ee_propagation_am_ejb.jar.sun-ejb-jar.xml diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/persistence.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/am/persistence.xml similarity index 75% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/persistence.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/am/persistence.xml index fb8a6943fe..1082767cb3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/propagation/am/persistence.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/am/persistence.xml @@ -28,10 +28,10 @@ the default is JTA. jdbc/DB1 - com.sun.ts.tests.jpa.ee.common.A - com.sun.ts.tests.jpa.ee.common.Account - com.sun.ts.tests.jpa.ee.common.B - com.sun.ts.tests.jpa.ee.propagation.am.Member + ee.jakarta.tck.persistence.ee.common.A + ee.jakarta.tck.persistence.ee.common.Account + ee.jakarta.tck.persistence.ee.common.B + ee.jakarta.tck.persistence.ee.propagation.am.Member Persistence Unit for CTS EE Propagation Tests. @@ -39,9 +39,9 @@ the default is JTA. jdbc/DB1 - com.sun.ts.tests.jpa.ee.common.A - com.sun.ts.tests.jpa.ee.common.Account - com.sun.ts.tests.jpa.ee.common.B - com.sun.ts.tests.jpa.ee.propagation.am.Member2 + ee.jakarta.tck.persistence.ee.common.A + ee.jakarta.tck.persistence.ee.common.Account + ee.jakarta.tck.persistence.ee.common.B + ee.jakarta.tck.persistence.ee.propagation.am.Member2 diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_client.jar.sun-application-client.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_client.jar.sun-application-client.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_client.jar.sun-application-client.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_client.jar.sun-application-client.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_ejb.jar.sun-ejb-jar.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_ejb.jar.sun-ejb-jar.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_ejb.jar.sun-ejb-jar.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/extended/jpa_ee_propagation_cm_ext_ejb.jar.sun-ejb-jar.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/extended/persistence.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/extended/persistence.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/extended/persistence.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/extended/persistence.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/jta/application.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/jta/application.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/jta/application.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/jta/application.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_ejb.jar.sun-ejb-jar.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_ejb.jar.sun-ejb-jar.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_ejb.jar.sun-ejb-jar.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_ejb.jar.sun-ejb-jar.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_web.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_web.xml similarity index 93% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_web.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_web.xml index f6955a9b51..c95ab47da7 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_web.xml +++ b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/jta/jpa_ee_propagation_cm_jta_web.xml @@ -21,7 +21,7 @@ ejb3_pkg_integration ServletTest - com.sun.ts.tests.jpa.ee.propagation.cm.jta.ServletTest + ee.jakarta.tck.persistence.ee.propagation.cm.jta.ServletTest ServletTest diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/jta/persistence.xml b/jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/jta/persistence.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/propagation/cm/jta/persistence.xml rename to jpa/platform-tests/src/main/resources/ee/jakarta/tck/persistence/ee/propagation/cm/jta/persistence.xml diff --git a/jpa/pom.xml b/jpa/pom.xml index 69c236c486..f5c5c9925b 100644 --- a/jpa/pom.xml +++ b/jpa/pom.xml @@ -1,7 +1,7 @@ + + 4.0.0 + + jakarta.tck + persistence-tck + 3.2.0 + ../pom.xml + + dbprocedures + Persistence + Persistence DB procedures + + ${project.version} + + + diff --git a/jpa_extras/src/main/java/com/sun/ts/lib/tests/jpa/storedprocedures/CS_Procs.java b/jpa/procedures/src/main/java/ee/jakarta/tck/persistence/storedprocedures/CS_Procs.java similarity index 98% rename from jpa_extras/src/main/java/com/sun/ts/lib/tests/jpa/storedprocedures/CS_Procs.java rename to jpa/procedures/src/main/java/ee/jakarta/tck/persistence/storedprocedures/CS_Procs.java index 689c9b4557..d012510389 100644 --- a/jpa_extras/src/main/java/com/sun/ts/lib/tests/jpa/storedprocedures/CS_Procs.java +++ b/jpa/procedures/src/main/java/ee/jakarta/tck/persistence/storedprocedures/CS_Procs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2024 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0, which is available at @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.lib.tests.jpa.storedprocedures; +package ee.jakarta.tck.persistence.storedprocedures; import java.sql.*; diff --git a/jpa/spec-tests/pom.xml b/jpa/spec-tests/pom.xml new file mode 100644 index 0000000000..6d093b13f7 --- /dev/null +++ b/jpa/spec-tests/pom.xml @@ -0,0 +1,93 @@ + + + + 4.0.0 + + jakarta.tck + persistence-tck + 3.2.0 + ../pom.xml + + persistence-tck-spec-tests + jar + + + ${project.groupId} + persistence-tck-common + ${project.version} + + + + + + maven-dependency-plugin + + + + copy-dependencies + + prepare-package + + jakarta.tck + ${project.build.directory} + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + none + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.2.0 + + + + src/main/java + + **/*.xml + **/*.map + **/*.txt + **/*.sig* + + + + + + + + diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Client.java index 5e8a0f9ebf..8dbff0eb41 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.EntityGraph; +package ee.jakarta.tck.persistence.core.EntityGraph; import java.lang.System.Logger; import java.util.ArrayList; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.AttributeNode; import jakarta.persistence.EntityGraph; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Department.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Department.java index 44d789e3ab..ca54c5a2c2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.EntityGraph; +package ee.jakarta.tck.persistence.core.EntityGraph; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Employee.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Employee.java index 96e4467d05..5f4b065395 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.EntityGraph; +package ee.jakarta.tck.persistence.core.EntityGraph; import java.util.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Employee2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Employee2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Employee2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Employee2.java index e1606ed7bf..d4c141541c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Employee2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Employee2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.EntityGraph; +package ee.jakarta.tck.persistence.core.EntityGraph; import java.util.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Employee3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Employee3.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Employee3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Employee3.java index b2cfd116d4..eb596aff8b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/EntityGraph/Employee3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/Employee3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.EntityGraph; +package ee.jakarta.tck.persistence.core.EntityGraph; import java.util.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Client.java index 6d056547aa..fce05b7c6d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.StoredProcedureQuery; +package ee.jakarta.tck.persistence.core.StoredProcedureQuery; import java.lang.System.Logger; import java.util.ArrayList; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.AfterEach; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.StoredProcedureQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Client1.java index b3084bd5c5..07676188c0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.StoredProcedureQuery; +package ee.jakarta.tck.persistence.core.StoredProcedureQuery; import java.lang.System.Logger; import java.util.ArrayList; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Client2.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Client2.java index 010b5aa5d6..9fdaf1472a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.StoredProcedureQuery; +package ee.jakarta.tck.persistence.core.StoredProcedureQuery; import java.lang.System.Logger; import java.util.ArrayList; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Employee.java index 292085b1f4..087e6edaba 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.StoredProcedureQuery; +package ee.jakarta.tck.persistence.core.StoredProcedureQuery; import java.util.Date; @@ -61,7 +61,7 @@ @ColumnResult(name = "ID", type = Integer.class), @ColumnResult(name = "FIRSTNAME"), @ColumnResult(name = "LASTNAME") }) }), @SqlResultSetMapping(name = "tobeoverridden2", entities = { - @EntityResult(entityClass = com.sun.ts.tests.jpa.core.StoredProcedureQuery.Employee.class, fields = { + @EntityResult(entityClass = ee.jakarta.tck.persistence.core.StoredProcedureQuery.Employee.class, fields = { @FieldResult(name = "foo", column = "FOO"), @FieldResult(name = "bar", column = "BAR") }) }) }) @Entity diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Employee2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Employee2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Employee2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Employee2.java index 431ee4bad2..c7e5c786d1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/Employee2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/Employee2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.StoredProcedureQuery; +package ee.jakarta.tck.persistence.core.StoredProcedureQuery; import java.util.Calendar; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/EmployeeMappedSC.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/EmployeeMappedSC.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/EmployeeMappedSC.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/EmployeeMappedSC.java index 32ab2bf334..aec04b5ee1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/StoredProcedureQuery/EmployeeMappedSC.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/EmployeeMappedSC.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.StoredProcedureQuery; +package ee.jakarta.tck.persistence.core.StoredProcedureQuery; import jakarta.persistence.Column; import jakarta.persistence.MappedSuperclass; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client.java index 3f6a3bdce0..838f6364eb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client.java @@ -14,13 +14,13 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.access.field; +package ee.jakarta.tck.persistence.core.annotations.access.field; import java.lang.System.Logger; import org.junit.jupiter.api.AfterEach; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client1.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client1.java index 4e089a0779..c01b0bae4b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client1.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.core.annotations.access.field; +package ee.jakarta.tck.persistence.core.annotations.access.field; import java.lang.System.Logger; import java.util.Arrays; @@ -7,8 +7,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.core.types.common.Grade; - +import ee.jakarta.tck.persistence.core.types.common.Grade; import jakarta.persistence.Query; public class Client1 extends Client { @@ -20,7 +19,7 @@ public JavaArchive createDeployment() throws Exception { String pkgNameWithoutSuffix = Client1.class.getPackageName(); String pkgName = Client1.class.getPackageName() + "."; String[] classes = { pkgName + "DataTypes", pkgName + "DataTypes2", - "com.sun.ts.tests.jpa.core.types.common.Grade" }; + "ee.jakarta.tck.persistence.core.types.common.Grade" }; return createDeploymentJar("jpa_core_annotations_access_field1.jar", pkgNameWithoutSuffix, (String[]) classes); } @@ -844,7 +843,7 @@ public void fieldTypeTest15() throws Exception { getEntityManager().flush(); q = getEntityManager().createQuery( - "SELECT dt FROM DataTypes dt WHERE dt.enumData = com.sun.ts.tests.jpa.core.types.common.Grade.A"); + "SELECT dt FROM DataTypes dt WHERE dt.enumData = ee.jakarta.tck.persistence.core.types.common.Grade.A"); result = (DataTypes) q.getSingleResult(); @@ -952,8 +951,8 @@ public void fieldTypeTest17() throws Exception { boolean pass = false; Object result; Query q; - final Grade failingGrade = com.sun.ts.tests.jpa.core.types.common.Grade.F; - final Grade incompleteGrade = com.sun.ts.tests.jpa.core.types.common.Grade.INCOMPLETE; + final Grade failingGrade = ee.jakarta.tck.persistence.core.types.common.Grade.F; + final Grade incompleteGrade = ee.jakarta.tck.persistence.core.types.common.Grade.INCOMPLETE; try { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client2.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client2.java index f0c00344a2..c557ca4ed7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client2.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.core.annotations.access.field; +package ee.jakarta.tck.persistence.core.annotations.access.field; import java.lang.System.Logger; @@ -15,7 +15,7 @@ public JavaArchive createDeployment() throws Exception { String pkgNameWithoutSuffix = Client2.class.getPackageName(); String pkgName = Client2.class.getPackageName() + "."; String[] classes = { pkgName + "DataTypes", pkgName + "DataTypes2", - "com.sun.ts.tests.jpa.core.types.common.Grade" }; + "ee.jakarta.tck.persistence.core.types.common.Grade" }; return createDeploymentJar("jpa_core_annotations_access_field2.jar", pkgNameWithoutSuffix, (String[]) classes); } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client3.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client3.java index 9f3c72f50d..6140c70549 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client3.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.core.annotations.access.field; +package ee.jakarta.tck.persistence.core.annotations.access.field; import java.lang.System.Logger; @@ -15,7 +15,7 @@ public JavaArchive createDeployment() throws Exception { String pkgNameWithoutSuffix = Client3.class.getPackageName(); String pkgName = Client3.class.getPackageName() + "."; String[] classes = { pkgName + "DataTypes", pkgName + "DataTypes2", - "com.sun.ts.tests.jpa.core.types.common.Grade" }; + "ee.jakarta.tck.persistence.core.types.common.Grade" }; return createDeploymentJar("jpa_core_annotations_access_field3.jar", pkgNameWithoutSuffix, (String[]) classes); } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client4.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client4.java index 70ff410f35..8f0f34633b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/Client4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/Client4.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.core.annotations.access.field; +package ee.jakarta.tck.persistence.core.annotations.access.field; import java.lang.System.Logger; import java.util.GregorianCalendar; @@ -18,7 +18,7 @@ public JavaArchive createDeployment() throws Exception { String pkgNameWithoutSuffix = Client4.class.getPackageName(); String pkgName = Client4.class.getPackageName() + "."; String[] classes = { pkgName + "DataTypes", pkgName + "DataTypes2", - "com.sun.ts.tests.jpa.core.types.common.Grade" }; + "ee.jakarta.tck.persistence.core.types.common.Grade" }; return createDeploymentJar("jpa_core_annotations_access_field4.jar", pkgNameWithoutSuffix, (String[]) classes); } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/DataTypes.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/DataTypes.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/DataTypes.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/DataTypes.java index df58027329..8494a695cd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/DataTypes.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/DataTypes.java @@ -14,10 +14,9 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.access.field; - -import com.sun.ts.tests.jpa.core.types.common.Grade; +package ee.jakarta.tck.persistence.core.annotations.access.field; +import ee.jakarta.tck.persistence.core.types.common.Grade; import jakarta.persistence.Access; import jakarta.persistence.AccessType; import jakarta.persistence.Basic; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/DataTypes2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/DataTypes2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/DataTypes2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/DataTypes2.java index 69e51e5229..7801664d8d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/field/DataTypes2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/DataTypes2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.access.field; +package ee.jakarta.tck.persistence.core.annotations.access.field; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/AbstractPersonnel.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/AbstractPersonnel.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/AbstractPersonnel.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/AbstractPersonnel.java index 5314be866f..b6970395a8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/AbstractPersonnel.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/AbstractPersonnel.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.access.mappedsc; +package ee.jakarta.tck.persistence.core.annotations.access.mappedsc; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/Client.java index ccaa987538..bb7f7b4883 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.access.mappedsc; +package ee.jakarta.tck.persistence.core.annotations.access.mappedsc; import java.lang.System.Logger; import java.sql.Date; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/Department.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/Department.java index d05e1b19a3..8ed8bf0141 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.access.mappedsc; +package ee.jakarta.tck.persistence.core.annotations.access.mappedsc; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/Employee.java index 62d1539511..7646fa12e2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.access.mappedsc; +package ee.jakarta.tck.persistence.core.annotations.access.mappedsc; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/FullTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/FullTimeEmployee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/FullTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/FullTimeEmployee.java index b67ee40f0e..866f6311c2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/FullTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/FullTimeEmployee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.access.mappedsc; +package ee.jakarta.tck.persistence.core.annotations.access.mappedsc; import java.io.Serializable; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/PartTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/PartTimeEmployee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/PartTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/PartTimeEmployee.java index 89722d0ff5..aef3e97658 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/PartTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/PartTimeEmployee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.access.mappedsc; +package ee.jakarta.tck.persistence.core.annotations.access.mappedsc; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/Project.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/Project.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/Project.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/Project.java index 7b9ba64878..c35b9ac81f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/mappedsc/Project.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/Project.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.access.mappedsc; +package ee.jakarta.tck.persistence.core.annotations.access.mappedsc; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/Client.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/Client.java index 739bf8838e..0a29d19d2c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/Client.java @@ -1,10 +1,10 @@ -package com.sun.ts.tests.jpa.core.annotations.access.property; +package ee.jakarta.tck.persistence.core.annotations.access.property; import java.lang.System.Logger; import org.junit.jupiter.api.AfterEach; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/Client1.java index da0d39c87f..3bc2e26ee7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.access.property; +package ee.jakarta.tck.persistence.core.annotations.access.property; import java.lang.System.Logger; import java.util.Arrays; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.core.types.common.Grade; +import ee.jakarta.tck.persistence.core.types.common.Grade; public class Client1 extends Client { @@ -33,7 +33,7 @@ public JavaArchive createDeployment() throws Exception { String pkgNameWithoutSuffix = Client1.class.getPackageName(); String pkgName = Client1.class.getPackageName() + "."; String[] classes = { pkgName + "DataTypes", pkgName + "DataTypes2", - "com.sun.ts.tests.jpa.core.types.common.Grade" }; + "ee.jakarta.tck.persistence.core.types.common.Grade" }; return createDeploymentJar("jpa_core_annotations_access_property1.jar", pkgNameWithoutSuffix, classes); } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/Client2.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/Client2.java index a55c6340d7..d197c75e21 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/Client2.java @@ -1,4 +1,4 @@ -package com.sun.ts.tests.jpa.core.annotations.access.property; +package ee.jakarta.tck.persistence.core.annotations.access.property; import java.lang.System.Logger; @@ -14,7 +14,7 @@ public JavaArchive createDeployment() throws Exception { String pkgNameWithoutSuffix = Client.class.getPackageName(); String pkgName = Client.class.getPackageName() + "."; String[] classes = { pkgName + "DataTypes", pkgName + "DataTypes2", - "com.sun.ts.tests.jpa.core.types.common.Grade" }; + "ee.jakarta.tck.persistence.core.types.common.Grade" }; return createDeploymentJar("jpa_core_annotations_access_property2.jar", pkgNameWithoutSuffix, classes); } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/DataTypes.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/DataTypes.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/DataTypes.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/DataTypes.java index 420fa77121..32fa7fbd08 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/DataTypes.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/DataTypes.java @@ -14,10 +14,9 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.access.property; - -import com.sun.ts.tests.jpa.core.types.common.Grade; +package ee.jakarta.tck.persistence.core.annotations.access.property; +import ee.jakarta.tck.persistence.core.types.common.Grade; import jakarta.persistence.Access; import jakarta.persistence.AccessType; import jakarta.persistence.Basic; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/DataTypes2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/DataTypes2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/DataTypes2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/DataTypes2.java index 90bd703c45..621c053004 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/access/property/DataTypes2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/property/DataTypes2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.access.property; +package ee.jakarta.tck.persistence.core.annotations.access.property; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/assocoverride/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/assocoverride/Address.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/assocoverride/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/assocoverride/Address.java index 938a0d3102..6373c3be56 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/assocoverride/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/assocoverride/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.assocoverride; +package ee.jakarta.tck.persistence.core.annotations.assocoverride; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/assocoverride/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/assocoverride/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/assocoverride/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/assocoverride/Client.java index 95d6117f87..42bfb32403 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/assocoverride/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/assocoverride/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.assocoverride; +package ee.jakarta.tck.persistence.core.annotations.assocoverride; import java.lang.System.Logger; import java.sql.Date; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/assocoverride/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/assocoverride/Employee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/assocoverride/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/assocoverride/Employee.java index 979bf50ad2..67396af525 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/assocoverride/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/assocoverride/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.assocoverride; +package ee.jakarta.tck.persistence.core.annotations.assocoverride; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/assocoverride/PartTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/assocoverride/PartTimeEmployee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/assocoverride/PartTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/assocoverride/PartTimeEmployee.java index ade40152ad..e40e6a8a04 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/assocoverride/PartTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/assocoverride/PartTimeEmployee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.assocoverride; +package ee.jakarta.tck.persistence.core.annotations.assocoverride; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/basic/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/basic/A.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/basic/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/basic/A.java index e4b32b05de..f7d03a0ca4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/basic/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/basic/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.basic; +package ee.jakarta.tck.persistence.core.annotations.basic; import java.lang.System.Logger; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/basic/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/basic/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/basic/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/basic/Client.java index bdbdf9a484..a340f285d8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/basic/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/basic/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.basic; +package ee.jakarta.tck.persistence.core.annotations.basic; import java.lang.System.Logger; import java.math.BigDecimal; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.AfterEach; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/basic/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/basic/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/basic/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/basic/Client1.java index 2fe77d4739..6be6a16bb2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/basic/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/basic/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.basic; +package ee.jakarta.tck.persistence.core.annotations.basic; import java.lang.System.Logger; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/basic/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/basic/Client2.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/basic/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/basic/Client2.java index c0c3ab1306..ad5bf137c5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/basic/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/basic/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.basic; +package ee.jakarta.tck.persistence.core.annotations.basic; import java.lang.System.Logger; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/collectiontable/A.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/collectiontable/A.java index 8ef33083ee..76e1d09114 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/collectiontable/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.managedtype; +package ee.jakarta.tck.persistence.core.annotations.collectiontable; import java.lang.System.Logger; import java.util.HashSet; @@ -31,8 +31,6 @@ @Table(name = "COLTAB") public class A implements java.io.Serializable { - private static final Logger logger = (Logger) System.getLogger(A.class.getName()); - @Id protected String id; @@ -40,6 +38,8 @@ public class A implements java.io.Serializable { protected int value; + private static final Logger logger = (Logger) System.getLogger(A.class.getName()); + @ElementCollection @CollectionTable(name = "COLTAB_ADDRESS", joinColumns = @JoinColumn(name = "A_ID")) protected Set
address = new HashSet(); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/collectiontable/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/collectiontable/Address.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/collectiontable/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/collectiontable/Address.java index f3e8ceb8a5..42564a671c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/collectiontable/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/collectiontable/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.collectiontable; +package ee.jakarta.tck.persistence.core.annotations.collectiontable; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/collectiontable/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/collectiontable/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/collectiontable/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/collectiontable/Client.java index 69f0724ed0..82d5ad03b1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/collectiontable/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/collectiontable/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.collectiontable; +package ee.jakarta.tck.persistence.core.annotations.collectiontable; import java.lang.System.Logger; import java.util.Collection; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Address.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Address.java index 9027acaa2b..b97d961649 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/B.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/B.java index 83e3482711..c153e41b82 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/B.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.Basic; import jakarta.persistence.Convert; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/CharConverter.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/CharConverter.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/CharConverter.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/CharConverter.java index fef94eba04..e41e047b9c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/CharConverter.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/CharConverter.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.AttributeConverter; import jakarta.persistence.Converter; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Client.java index 3837bf0eab..69fe30a512 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Client.java @@ -15,7 +15,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import java.lang.System.Logger; import java.util.ArrayList; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.PersistenceException; import jakarta.persistence.criteria.CriteriaBuilder; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/CommaConverter.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/CommaConverter.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/CommaConverter.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/CommaConverter.java index f80548abca..501836b4e9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/CommaConverter.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/CommaConverter.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.AttributeConverter; import jakarta.persistence.Converter; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Country.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Country.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Country.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Country.java index 3e64ba669f..748da2b070 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Country.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Country.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Customer.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Customer.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Customer.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Customer.java index 2b65efd3c8..aa0b0c13bc 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Customer.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Customer.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import java.util.ArrayList; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Department.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Department.java index 7f641fa0ae..037df4473c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/DisableAutoApplyConverter.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/DisableAutoApplyConverter.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/DisableAutoApplyConverter.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/DisableAutoApplyConverter.java index b29023c704..66209c2352 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/DisableAutoApplyConverter.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/DisableAutoApplyConverter.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.AttributeConverter; import jakarta.persistence.Converter; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/DotConverter.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/DotConverter.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/DotConverter.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/DotConverter.java index c7b8b7ad1d..da144dbc3d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/DotConverter.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/DotConverter.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.AttributeConverter; import jakarta.persistence.Converter; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/DotConverter2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/DotConverter2.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/DotConverter2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/DotConverter2.java index 99d5d94f44..9892dd1b83 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/DotConverter2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/DotConverter2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.AttributeConverter; import jakarta.persistence.Converter; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Employee.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Employee.java index 2f49509aff..e7c8c647b4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Employee2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Employee2.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Employee2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Employee2.java index 0012edf7fe..a623289f62 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Employee2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Employee2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.Column; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Employee3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Employee3.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Employee3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Employee3.java index 0f883b4084..e43d20e434 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/Employee3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/Employee3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.Convert; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/FullTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/FullTimeEmployee.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/FullTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/FullTimeEmployee.java index eefe9002aa..5f77b894dd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/FullTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/FullTimeEmployee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/FullTimeEmployee2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/FullTimeEmployee2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/FullTimeEmployee2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/FullTimeEmployee2.java index 2628112c6d..2427df762e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/FullTimeEmployee2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/FullTimeEmployee2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/IntegerConverter.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/IntegerConverter.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/IntegerConverter.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/IntegerConverter.java index 69f28332d6..32de8092e6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/IntegerConverter.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/IntegerConverter.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.AttributeConverter; import jakarta.persistence.Converter; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/NumberToStateConverter.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/NumberToStateConverter.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/NumberToStateConverter.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/NumberToStateConverter.java index 045c5e4045..1dceba7c19 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/NumberToStateConverter.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/NumberToStateConverter.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.AttributeConverter; import jakarta.persistence.Converter; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/SalaryConverter.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/SalaryConverter.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/SalaryConverter.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/SalaryConverter.java index 58acaf5ce1..e683c8367f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/SalaryConverter.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/SalaryConverter.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.AttributeConverter; import jakarta.persistence.Converter; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/SpaceConverter.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/SpaceConverter.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/SpaceConverter.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/SpaceConverter.java index 822f8651bd..4f9a7151cc 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/convert/SpaceConverter.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/convert/SpaceConverter.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.convert; +package ee.jakarta.tck.persistence.core.annotations.convert; import jakarta.persistence.AttributeConverter; import jakarta.persistence.Converter; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/Client.java index 0836bb1d49..c0431a0389 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.discriminatorValue; +package ee.jakarta.tck.persistence.core.annotations.discriminatorValue; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/PartProduct.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/PartProduct.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/PartProduct.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/PartProduct.java index b0687bb530..199beac2b9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/PartProduct.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/PartProduct.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.discriminatorValue; +package ee.jakarta.tck.persistence.core.annotations.discriminatorValue; import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorValue; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/PartProduct2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/PartProduct2.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/PartProduct2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/PartProduct2.java index adadd3b90e..3e147bfa95 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/PartProduct2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/PartProduct2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.discriminatorValue; +package ee.jakarta.tck.persistence.core.annotations.discriminatorValue; import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorValue; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/PricedPartProduct2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/PricedPartProduct2.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/PricedPartProduct2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/PricedPartProduct2.java index b1317f40ca..20c56b5810 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/PricedPartProduct2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/PricedPartProduct2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.discriminatorValue; +package ee.jakarta.tck.persistence.core.annotations.discriminatorValue; import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorValue; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/Product.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/Product.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/Product.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/Product.java index 499d571740..7b346e234e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/Product.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/Product.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.discriminatorValue; +package ee.jakarta.tck.persistence.core.annotations.discriminatorValue; import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorColumn; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/Product2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/Product2.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/Product2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/Product2.java index d5e8d99e16..39d49df275 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/Product2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/discriminatorValue/Product2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.discriminatorValue; +package ee.jakarta.tck.persistence.core.annotations.discriminatorValue; import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorColumn; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/A.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/A.java index eb56c3cc3c..2e9298a2c3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/A.java @@ -14,13 +14,13 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.elementcollection; +package ee.jakarta.tck.persistence.core.annotations.elementcollection; import java.lang.System.Logger; import java.util.HashSet; import java.util.Set; -import com.sun.ts.tests.jpa.common.pluggability.util.LogFileProcessor; +import ee.jakarta.tck.persistence.common.pluggability.util.LogFileProcessor; import jakarta.persistence.ElementCollection; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/Address.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/Address.java index b5bf8d73aa..be4e18e5ef 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.elementcollection; +package ee.jakarta.tck.persistence.core.annotations.elementcollection; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/Client1.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/Client1.java index 02be96a013..f5c589adee 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.elementcollection; +package ee.jakarta.tck.persistence.core.annotations.elementcollection; import java.lang.System.Logger; import java.util.HashSet; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client1 extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/Client2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/Client2.java index 44449b691c..5e6fb60423 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.elementcollection; +package ee.jakarta.tck.persistence.core.annotations.elementcollection; import java.lang.System.Logger; import java.util.ArrayList; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client2 extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/Customer.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/Customer.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/Customer.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/Customer.java index defb52bc38..73ff245415 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/Customer.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/Customer.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.elementcollection; +package ee.jakarta.tck.persistence.core.annotations.elementcollection; import java.util.ArrayList; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/CustomerXML.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/CustomerXML.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/CustomerXML.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/CustomerXML.java index ae6d8917f3..bec07b9856 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/elementcollection/CustomerXML.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/elementcollection/CustomerXML.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.elementcollection; +package ee.jakarta.tck.persistence.core.annotations.elementcollection; import java.util.ArrayList; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddable/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddable/Address.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddable/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddable/Address.java index ce53e1ad7e..45becc0a48 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddable/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddable/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.embeddable; +package ee.jakarta.tck.persistence.core.annotations.embeddable; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddable/B.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddable/B.java index a8c1392725..d38c19eb2c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddable/B.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.managedtype; +package ee.jakarta.tck.persistence.core.annotations.embeddable; import jakarta.persistence.Basic; import jakarta.persistence.Embedded; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddable/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddable/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddable/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddable/Client.java index 0c445cfb0a..5965e09333 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddable/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddable/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.embeddable; +package ee.jakarta.tck.persistence.core.annotations.embeddable; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManager; import jakarta.persistence.EntityTransaction; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/ZipCode.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddable/ZipCode.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/ZipCode.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddable/ZipCode.java index 354b67c151..7fd940dfb6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/ZipCode.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddable/ZipCode.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.entitytype; +package ee.jakarta.tck.persistence.core.annotations.embeddable; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddableMapValue/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddableMapValue/Address.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddableMapValue/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddableMapValue/Address.java index 45d950a035..0dde6cb742 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddableMapValue/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddableMapValue/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.embeddableMapValue; +package ee.jakarta.tck.persistence.core.annotations.embeddableMapValue; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddableMapValue/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddableMapValue/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddableMapValue/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddableMapValue/Client.java index a7eb977b04..1b0580a5d5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddableMapValue/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddableMapValue/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.embeddableMapValue; +package ee.jakarta.tck.persistence.core.annotations.embeddableMapValue; import java.lang.System.Logger; import java.util.HashMap; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManager; import jakarta.persistence.EntityTransaction; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddableMapValue/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddableMapValue/Employee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddableMapValue/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddableMapValue/Employee.java index 498f93cfa7..42acc570ee 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddableMapValue/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/embeddableMapValue/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.embeddableMapValue; +package ee.jakarta.tck.persistence.core.annotations.embeddableMapValue; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/entity/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/entity/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/entity/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/entity/Client.java index 12d6d97d02..6ed641394f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/entity/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/entity/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.annotations.entity; +package ee.jakarta.tck.persistence.core.annotations.entity; import java.lang.System.Logger; import java.util.Arrays; @@ -30,7 +30,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/entity/Coffee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/entity/Coffee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/entity/Coffee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/entity/Coffee.java index 784ec38f24..ff9d918fdd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/entity/Coffee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/entity/Coffee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.annotations.entity; +package ee.jakarta.tck.persistence.core.annotations.entity; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/Client.java index be7c2aa867..5d75da3456 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import java.lang.System.Logger; import java.math.BigDecimal; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldBigDecimalId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldBigDecimalId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldBigDecimalId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldBigDecimalId.java index f685d1c3a4..7227047133 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldBigDecimalId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldBigDecimalId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import java.lang.System.Logger; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldBigIntegerId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldBigIntegerId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldBigIntegerId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldBigIntegerId.java index cd8e7b9bb8..2f6de2f61a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldBigIntegerId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldBigIntegerId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import java.math.BigInteger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldIntId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldIntId.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldIntId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldIntId.java index f993ae58ea..70ee383382 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldIntId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldIntId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldIntegerId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldIntegerId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldIntegerId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldIntegerId.java index 66e6d366d7..0f2a699655 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldIntegerId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldIntegerId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldSQLDateId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldSQLDateId.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldSQLDateId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldSQLDateId.java index 9019515809..2e5cb72975 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldSQLDateId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldSQLDateId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldStringId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldStringId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldStringId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldStringId.java index f77633cab3..cb61c638f6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldStringId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldStringId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldUtilDateId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldUtilDateId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldUtilDateId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldUtilDateId.java index 8231f92783..f03c45b05a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/FieldUtilDateId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/FieldUtilDateId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyBigDecimalId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyBigDecimalId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyBigDecimalId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyBigDecimalId.java index b5594007aa..0dd8f91d4d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyBigDecimalId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyBigDecimalId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyBigIntegerId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyBigIntegerId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyBigIntegerId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyBigIntegerId.java index c6b63bfcbe..a20e1ef90a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyBigIntegerId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyBigIntegerId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import java.math.BigInteger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyIntId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyIntId.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyIntId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyIntId.java index e909619c4c..563517c5a0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyIntId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyIntId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyIntegerId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyIntegerId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyIntegerId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyIntegerId.java index 24f0830a18..6c5d764b0d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyIntegerId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyIntegerId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertySQLDateId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertySQLDateId.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertySQLDateId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertySQLDateId.java index f9b2ed943c..909e790eeb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertySQLDateId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertySQLDateId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyStringId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyStringId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyStringId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyStringId.java index 47a0c74bd9..5adf163d1e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyStringId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyStringId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyUtilDateId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyUtilDateId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyUtilDateId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyUtilDateId.java index ea2967b627..85488403b4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/id/PropertyUtilDateId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/id/PropertyUtilDateId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.id; +package ee.jakarta.tck.persistence.core.annotations.id; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/lob/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/lob/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/lob/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/lob/Client.java index c57e044725..e1ea0ef4ce 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/lob/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/lob/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.lob; +package ee.jakarta.tck.persistence.core.annotations.lob; import java.lang.System.Logger; import java.util.Arrays; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/lob/DataTypes.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/lob/DataTypes.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/lob/DataTypes.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/lob/DataTypes.java index a043bef4ce..c0082305e7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/lob/DataTypes.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/lob/DataTypes.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.lob; +package ee.jakarta.tck.persistence.core.annotations.lob; import jakarta.persistence.Basic; import jakarta.persistence.Column; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Client.java index d249ff0fea..7f24ec7c7d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.annotations.mapkey; +package ee.jakarta.tck.persistence.core.annotations.mapkey; import java.lang.System.Logger; import java.util.HashMap; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.AfterEach; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Client1.java index 12fbed2986..b08893af25 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Client1.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.annotations.mapkey; +package ee.jakarta.tck.persistence.core.annotations.mapkey; import java.lang.System.Logger; import java.util.ArrayList; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Client2.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Client2.java index a86dfcf483..8c62598be7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Client2.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.annotations.mapkey; +package ee.jakarta.tck.persistence.core.annotations.mapkey; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Department.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Department.java index 387416787e..e753f5cda0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Department.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.annotations.mapkey; +package ee.jakarta.tck.persistence.core.annotations.mapkey; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Employee.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Employee.java index 7949425ec8..084b599a07 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Employee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.annotations.mapkey; +package ee.jakarta.tck.persistence.core.annotations.mapkey; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Employee2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Employee2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Employee2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Employee2.java index 60dd298888..b5894ac8ac 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Employee2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Employee2.java @@ -18,7 +18,7 @@ * $Id: Employee.java 62939 2011-06-02 20:58:19Z sdimilla $ */ -package com.sun.ts.tests.jpa.core.annotations.mapkey; +package ee.jakarta.tck.persistence.core.annotations.mapkey; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Employee3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Employee3.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Employee3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Employee3.java index 05e0a687f0..dc894b0b32 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Employee3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Employee3.java @@ -18,7 +18,7 @@ * $Id: Employee.java 62939 2011-06-02 20:58:19Z sdimilla $ */ -package com.sun.ts.tests.jpa.core.annotations.mapkey; +package ee.jakarta.tck.persistence.core.annotations.mapkey; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Employee4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Employee4.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Employee4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Employee4.java index 2b7e0c85d5..2e4a875618 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkey/Employee4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkey/Employee4.java @@ -18,7 +18,7 @@ * $Id: Employee.java 62939 2011-06-02 20:58:19Z sdimilla $ */ -package com.sun.ts.tests.jpa.core.annotations.mapkey; +package ee.jakarta.tck.persistence.core.annotations.mapkey; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyclass/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyclass/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyclass/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyclass/Client.java index 0ccdd1c2c7..2d739046ee 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyclass/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyclass/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyclass; +package ee.jakarta.tck.persistence.core.annotations.mapkeyclass; import java.lang.System.Logger; import java.util.Hashtable; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManager; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyclass/Course.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyclass/Course.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyclass/Course.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyclass/Course.java index 43864ac897..b9c58534ad 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyclass/Course.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyclass/Course.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyclass; +package ee.jakarta.tck.persistence.core.annotations.mapkeyclass; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyclass/Semester.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyclass/Semester.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyclass/Semester.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyclass/Semester.java index 8e8fc8bfab..31295d6c70 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyclass/Semester.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyclass/Semester.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyclass; +package ee.jakarta.tck.persistence.core.annotations.mapkeyclass; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyclass/Student.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyclass/Student.java similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyclass/Student.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyclass/Student.java index ef81c18d71..f384ac6d75 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyclass/Student.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyclass/Student.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyclass; +package ee.jakarta.tck.persistence.core.annotations.mapkeyclass; import java.util.Map; import java.util.Set; @@ -53,8 +53,8 @@ public Student(int id, String name) { * Map, but generics aren't used due to testing of @MapKeyClass * enrollment contains past and present student enrollments */ - @ManyToMany(targetEntity = com.sun.ts.tests.jpa.core.annotations.mapkeyclass.Semester.class) - @MapKeyClass(com.sun.ts.tests.jpa.core.annotations.mapkeyclass.Course.class) + @ManyToMany(targetEntity = ee.jakarta.tck.persistence.core.annotations.mapkeyclass.Semester.class) + @MapKeyClass(ee.jakarta.tck.persistence.core.annotations.mapkeyclass.Course.class) @MapKeyJoinColumns({ @MapKeyJoinColumn(name = "ENROLLMENT_KEY") }) @JoinTable(name = "ENROLLMENTS", joinColumns = @JoinColumn(name = "STUDENT"), inverseJoinColumns = @JoinColumn(name = "SEMESTER")) Map enrollment; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeycolumn/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeycolumn/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeycolumn/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeycolumn/Client.java index d92330c678..1a4a1a01e2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeycolumn/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeycolumn/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeycolumn; +package ee.jakarta.tck.persistence.core.annotations.mapkeycolumn; import java.lang.System.Logger; import java.util.ArrayList; @@ -34,7 +34,7 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeycolumn/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeycolumn/Department.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeycolumn/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeycolumn/Department.java index 801e7e47b8..1182f75181 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeycolumn/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeycolumn/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeycolumn; +package ee.jakarta.tck.persistence.core.annotations.mapkeycolumn; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeycolumn/Department2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeycolumn/Department2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeycolumn/Department2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeycolumn/Department2.java index 569416a20f..cecf8dd051 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeycolumn/Department2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeycolumn/Department2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeycolumn; +package ee.jakarta.tck.persistence.core.annotations.mapkeycolumn; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeycolumn/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeycolumn/Employee.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeycolumn/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeycolumn/Employee.java index cc1e33c072..f834980663 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeycolumn/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeycolumn/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeycolumn; +package ee.jakarta.tck.persistence.core.annotations.mapkeycolumn; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Client.java index e5b529e13f..80d474d3b7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyenumerated; +package ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated; import java.lang.System.Logger; import java.util.Collection; @@ -31,7 +31,7 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Department.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Department.java index 10c7829ccc..152bde5b91 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyenumerated; +package ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Department2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Department2.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Department2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Department2.java index 86e15fc503..a603595f93 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Department2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Department2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyenumerated; +package ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Department3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Department3.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Department3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Department3.java index 5255ad589c..a6459dc9c9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Department3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Department3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyenumerated; +package ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Department4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Department4.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Department4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Department4.java index 7aa43878f0..9332485d58 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Department4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Department4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyenumerated; +package ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/EmbeddedEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/EmbeddedEmployee.java similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/EmbeddedEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/EmbeddedEmployee.java index c90b055764..765f9088b5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/EmbeddedEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/EmbeddedEmployee.java @@ -15,7 +15,7 @@ * */ -package com.sun.ts.tests.jpa.core.annotations.mapkeytemporal; +package ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated; import java.io.Serializable; @@ -25,7 +25,9 @@ public class EmbeddedEmployee implements Serializable { private static final long serialVersionUID = 22L; + public String employeeName; + public int employeeId; public EmbeddedEmployee() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Employee.java index 85b22083ab..df1ce43ea5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyenumerated; +package ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Employee2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Employee2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Employee2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Employee2.java index 7341166a4b..7e922669b7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Employee2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Employee2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyenumerated; +package ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Employee3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Employee3.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Employee3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Employee3.java index 844be926d6..1e5c5c734a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Employee3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Employee3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyenumerated; +package ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Employee4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Employee4.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Employee4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Employee4.java index a66448750c..273827aa2f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Employee4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Employee4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyenumerated; +package ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Numbers.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Numbers.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Numbers.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Numbers.java index 739d57b362..3f21539c30 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Numbers.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Numbers.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyenumerated; +package ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated; public enum Numbers { one, two, three, four, five diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Offices.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Offices.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Offices.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Offices.java index 12bde203dc..75733ab6f8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/Offices.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyenumerated/Offices.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyenumerated; +package ee.jakarta.tck.persistence.core.annotations.mapkeyenumerated; public enum Offices { OFF000, OFF001, OFF002, OFF003, OFF004 diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyjoincolumn/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyjoincolumn/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyjoincolumn/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyjoincolumn/Client.java index 2f8b0c344e..721c4d31f6 100755 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyjoincolumn/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyjoincolumn/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyjoincolumn; +package ee.jakarta.tck.persistence.core.annotations.mapkeyjoincolumn; import java.lang.System.Logger; import java.util.Hashtable; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManager; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyjoincolumn/Course.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyjoincolumn/Course.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyjoincolumn/Course.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyjoincolumn/Course.java index d9e2b9307c..5584a1d6f8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyjoincolumn/Course.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyjoincolumn/Course.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyjoincolumn; +package ee.jakarta.tck.persistence.core.annotations.mapkeyjoincolumn; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyjoincolumn/Semester.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyjoincolumn/Semester.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyjoincolumn/Semester.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyjoincolumn/Semester.java index 8095df1ef7..d761e728e4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyjoincolumn/Semester.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyjoincolumn/Semester.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyjoincolumn; +package ee.jakarta.tck.persistence.core.annotations.mapkeyjoincolumn; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyjoincolumn/Student.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyjoincolumn/Student.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyjoincolumn/Student.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyjoincolumn/Student.java index 7a2f8c13c9..ef8db8b39b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyjoincolumn/Student.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeyjoincolumn/Student.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyjoincolumn; +package ee.jakarta.tck.persistence.core.annotations.mapkeyjoincolumn; import java.util.Map; import java.util.Set; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Client.java index 2919737ed1..bac9c7fc22 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeytemporal; +package ee.jakarta.tck.persistence.core.annotations.mapkeytemporal; import java.lang.System.Logger; import java.util.Collection; @@ -33,7 +33,7 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Department.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Department.java index b0e2afef2f..bd77022ba8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeytemporal; +package ee.jakarta.tck.persistence.core.annotations.mapkeytemporal; import java.util.Date; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Department2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Department2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Department2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Department2.java index 18a63b6646..bb6d663caa 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Department2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Department2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeytemporal; +package ee.jakarta.tck.persistence.core.annotations.mapkeytemporal; import java.util.Date; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Department4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Department4.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Department4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Department4.java index b5a5118929..a3a88e6c3d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Department4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Department4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeytemporal; +package ee.jakarta.tck.persistence.core.annotations.mapkeytemporal; import java.util.Date; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/EmbeddedEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/EmbeddedEmployee.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/EmbeddedEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/EmbeddedEmployee.java index 6c146f97e2..3a3e130b90 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeyenumerated/EmbeddedEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/EmbeddedEmployee.java @@ -15,7 +15,7 @@ * */ -package com.sun.ts.tests.jpa.core.annotations.mapkeyenumerated; +package ee.jakarta.tck.persistence.core.annotations.mapkeytemporal; import java.io.Serializable; @@ -25,9 +25,7 @@ public class EmbeddedEmployee implements Serializable { private static final long serialVersionUID = 22L; - public String employeeName; - public int employeeId; public EmbeddedEmployee() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Employee.java index 545676eb53..ea70bd1ed2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeytemporal; +package ee.jakarta.tck.persistence.core.annotations.mapkeytemporal; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Employee2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Employee2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Employee2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Employee2.java index a2154baa9f..aa3a40604c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Employee2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Employee2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeytemporal; +package ee.jakarta.tck.persistence.core.annotations.mapkeytemporal; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Employee4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Employee4.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Employee4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Employee4.java index 8a960eeeab..fa87ad99a6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapkeytemporal/Employee4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapkeytemporal/Employee4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapkeytemporal; +package ee.jakarta.tck.persistence.core.annotations.mapkeytemporal; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapsid/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapsid/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapsid/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapsid/Client.java index 91715bc57a..5d2b8c8ae6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapsid/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapsid/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapsid; +package ee.jakarta.tck.persistence.core.annotations.mapsid; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManager; import jakarta.persistence.EntityTransaction; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapsid/DID1bDependent.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapsid/DID1bDependent.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapsid/DID1bDependent.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapsid/DID1bDependent.java index 89143e03de..bd75e5c693 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapsid/DID1bDependent.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapsid/DID1bDependent.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapsid; +package ee.jakarta.tck.persistence.core.annotations.mapsid; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapsid/DID1bDependentId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapsid/DID1bDependentId.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapsid/DID1bDependentId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapsid/DID1bDependentId.java index 485a0ecb02..b6c0dfb3e8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapsid/DID1bDependentId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapsid/DID1bDependentId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapsid; +package ee.jakarta.tck.persistence.core.annotations.mapsid; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapsid/DID1bEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapsid/DID1bEmployee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapsid/DID1bEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapsid/DID1bEmployee.java index 155c650cfd..6494a13820 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/mapsid/DID1bEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/mapsid/DID1bEmployee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.mapsid; +package ee.jakarta.tck.persistence.core.annotations.mapsid; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/Client.java index 4075ca9f35..135f75a6a4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.annotations.nativequery; +package ee.jakarta.tck.persistence.core.annotations.nativequery; import java.lang.System.Logger; import java.util.ArrayList; @@ -29,7 +29,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.TransactionRequiredException; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/Item.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/Item.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/Item.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/Item.java index 39d8178367..d02e5b5e22 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/Item.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/Item.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.nativequery; +package ee.jakarta.tck.persistence.core.annotations.nativequery; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/Order1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/Order1.java similarity index 79% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/Order1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/Order1.java index 4efcb18393..c96a749879 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/Order1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/Order1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.nativequery; +package ee.jakarta.tck.persistence.core.annotations.nativequery; import jakarta.persistence.CascadeType; import jakarta.persistence.Column; @@ -36,33 +36,33 @@ @SqlResultSetMappings({ @SqlResultSetMapping(name = "Order1ItemResults", entities = { - @EntityResult(entityClass = com.sun.ts.tests.jpa.core.annotations.nativequery.Order1.class), - @EntityResult(entityClass = com.sun.ts.tests.jpa.core.annotations.nativequery.Item.class) }), + @EntityResult(entityClass = ee.jakarta.tck.persistence.core.annotations.nativequery.Order1.class), + @EntityResult(entityClass = ee.jakarta.tck.persistence.core.annotations.nativequery.Item.class) }), @SqlResultSetMapping(name = "Order2ItemResults", entities = { - @EntityResult(entityClass = com.sun.ts.tests.jpa.core.annotations.nativequery.Order1.class, fields = { + @EntityResult(entityClass = ee.jakarta.tck.persistence.core.annotations.nativequery.Order1.class, fields = { @FieldResult(name = "id", column = "OID"), @FieldResult(name = "totalPrice", column = "OPRICE"), @FieldResult(name = "item", column = "OITEM") }) }, columns = { @ColumnResult(name = "INAME") }), @SqlResultSetMapping(name = "Order3ItemResults", entities = { - @EntityResult(entityClass = com.sun.ts.tests.jpa.core.annotations.nativequery.Order1.class, fields = { + @EntityResult(entityClass = ee.jakarta.tck.persistence.core.annotations.nativequery.Order1.class, fields = { @FieldResult(name = "id", column = "THISID"), @FieldResult(name = "totalPrice", column = "THISPRICE"), @FieldResult(name = "item", column = "THISITEM") }), - @EntityResult(entityClass = com.sun.ts.tests.jpa.core.annotations.nativequery.Item.class) }), + @EntityResult(entityClass = ee.jakarta.tck.persistence.core.annotations.nativequery.Item.class) }), @SqlResultSetMapping(name = "Order4ItemResults", entities = { - @EntityResult(entityClass = com.sun.ts.tests.jpa.core.annotations.nativequery.Order1.class, fields = { + @EntityResult(entityClass = ee.jakarta.tck.persistence.core.annotations.nativequery.Order1.class, fields = { @FieldResult(name = "id", column = "OID"), @FieldResult(name = "totalPrice", column = "OPRICE"), @FieldResult(name = "item", column = "OITEM") }) }, columns = { @ColumnResult(name = "INAME", type = String.class) }), @SqlResultSetMapping(name = "Order5ItemResults", classes = { - @ConstructorResult(targetClass = com.sun.ts.tests.jpa.core.annotations.nativequery.Order2.class, columns = { + @ConstructorResult(targetClass = ee.jakarta.tck.persistence.core.annotations.nativequery.Order2.class, columns = { @ColumnResult(name = "OID"), @ColumnResult(name = "OPRICE"), @ColumnResult(name = "OITEMNAME") }) }), @SqlResultSetMapping(name = "PurchaseOrder1Results", classes = { - @ConstructorResult(targetClass = com.sun.ts.tests.jpa.core.annotations.nativequery.PurchaseOrder.class, columns = { + @ConstructorResult(targetClass = ee.jakarta.tck.persistence.core.annotations.nativequery.PurchaseOrder.class, columns = { @ColumnResult(name = "OID"), @ColumnResult(name = "PTOTAL") }) }), @SqlResultSetMapping(name = "PurchaseOrder2Results", classes = { - @ConstructorResult(targetClass = com.sun.ts.tests.jpa.core.annotations.nativequery.PurchaseOrder.class, columns = { + @ConstructorResult(targetClass = ee.jakarta.tck.persistence.core.annotations.nativequery.PurchaseOrder.class, columns = { @ColumnResult(name = "PTOTAL") }) }) }) @Entity @Table(name = "ORDER1") diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/Order2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/Order2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/Order2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/Order2.java index 0ae4c34fbe..ebb1c2c913 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/Order2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/Order2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.nativequery; +package ee.jakarta.tck.persistence.core.annotations.nativequery; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/PurchaseOrder.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/PurchaseOrder.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/PurchaseOrder.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/PurchaseOrder.java index af5b89d7ee..bd2100e5e0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/nativequery/PurchaseOrder.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/nativequery/PurchaseOrder.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.nativequery; +package ee.jakarta.tck.persistence.core.annotations.nativequery; public class PurchaseOrder implements java.io.Serializable { private static final long serialVersionUID = 22L; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/onexmanyuni/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/onexmanyuni/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/onexmanyuni/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/onexmanyuni/Client.java index ae5a5c66e0..8439a54291 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/onexmanyuni/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/onexmanyuni/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.onexmanyuni; +package ee.jakarta.tck.persistence.core.annotations.onexmanyuni; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManager; import jakarta.persistence.EntityTransaction; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/onexmanyuni/Customer1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/onexmanyuni/Customer1.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/onexmanyuni/Customer1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/onexmanyuni/Customer1.java index 57799059a4..f9c09086d2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/onexmanyuni/Customer1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/onexmanyuni/Customer1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.onexmanyuni; +package ee.jakarta.tck.persistence.core.annotations.onexmanyuni; import java.io.Serializable; import java.util.HashSet; @@ -67,7 +67,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.annotations.onexmanyuni." + "Customer1[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.annotations.onexmanyuni." + "Customer1[id=" + getId() + "]"; } public Set getOrders() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/onexmanyuni/RetailOrder2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/onexmanyuni/RetailOrder2.java similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/onexmanyuni/RetailOrder2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/onexmanyuni/RetailOrder2.java index 6e47b17329..768eacf210 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/onexmanyuni/RetailOrder2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/onexmanyuni/RetailOrder2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.onexmanyuni; +package ee.jakarta.tck.persistence.core.annotations.onexmanyuni; import java.io.Serializable; @@ -58,7 +58,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.annotations.onexmanyuni." + "RetailOrder2[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.annotations.onexmanyuni." + "RetailOrder2[id=" + getId() + "]"; } public double getCost() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/A.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/A.java index 54f3a0ac7f..6ae26d2932 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.orderby; +package ee.jakarta.tck.persistence.core.annotations.orderby; import java.util.ArrayList; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/A2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/A2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/A2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/A2.java index cadb6d410e..f087b8f759 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/A2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/A2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.orderby; +package ee.jakarta.tck.persistence.core.annotations.orderby; import java.util.ArrayList; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Address.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Address.java index 93c9a80b7f..e6d97efece 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.orderby; +package ee.jakarta.tck.persistence.core.annotations.orderby; import jakarta.persistence.Embeddable; import jakarta.persistence.Embedded; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Address2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Address2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Address2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Address2.java index 9aa5bcb52c..7aa86a9d86 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Address2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Address2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.orderby; +package ee.jakarta.tck.persistence.core.annotations.orderby; import jakarta.persistence.Embeddable; import jakarta.persistence.Embedded; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Client1.java index 4e2db7e689..7a6822a58c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.orderby; +package ee.jakarta.tck.persistence.core.annotations.orderby; import java.lang.System.Logger; import java.util.ArrayList; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client1 extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Client2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Client2.java index 8b3bef033a..060ce2e8ad 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.orderby; +package ee.jakarta.tck.persistence.core.annotations.orderby; import java.lang.System.Logger; import java.util.ArrayList; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client2 extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Client3.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Client3.java index 38d158e0ad..1c6ae29fb7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.orderby; +package ee.jakarta.tck.persistence.core.annotations.orderby; import java.lang.System.Logger; import java.util.ArrayList; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client3 extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Customer.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Customer.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Customer.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Customer.java index 272f6d98ab..331701c926 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Customer.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Customer.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.orderby; +package ee.jakarta.tck.persistence.core.annotations.orderby; import java.util.ArrayList; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Customer2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Customer2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Customer2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Customer2.java index f3cd80391a..36b051b371 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Customer2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Customer2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.orderby; +package ee.jakarta.tck.persistence.core.annotations.orderby; import java.util.ArrayList; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Department.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Department.java index 1458e4d62f..c42ba393c4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Department.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.annotations.orderby; +package ee.jakarta.tck.persistence.core.annotations.orderby; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Employee.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Employee.java index dcef1ff1e5..cfdefc3ecf 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Employee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.annotations.orderby; +package ee.jakarta.tck.persistence.core.annotations.orderby; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Insurance.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Insurance.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Insurance.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Insurance.java index 1bde00491a..bd5fc9ee80 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/Insurance.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/Insurance.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.annotations.orderby; +package ee.jakarta.tck.persistence.core.annotations.orderby; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/ZipCode.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/ZipCode.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/ZipCode.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/ZipCode.java index 52d908a75c..82f65da0c3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/ZipCode.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/ZipCode.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.orderby; +package ee.jakarta.tck.persistence.core.annotations.orderby; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/ZipCode2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/ZipCode2.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/ZipCode2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/ZipCode2.java index 7c383b0bd9..b096382a31 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/orderby/ZipCode2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/orderby/ZipCode2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.orderby; +package ee.jakarta.tck.persistence.core.annotations.orderby; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Client1.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Client1.java index bc4923b098..0b0fcb1833 100755 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.ordercolumn; +package ee.jakarta.tck.persistence.core.annotations.ordercolumn; import java.lang.System.Logger; import java.util.ArrayList; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManager; import jakarta.persistence.Query; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Client2.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Client2.java index 31a918994d..bcea07957f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.ordercolumn; +package ee.jakarta.tck.persistence.core.annotations.ordercolumn; import java.lang.System.Logger; import java.util.ArrayList; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManager; import jakarta.persistence.TypedQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Course.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Course.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Course.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Course.java index 1873ca8227..1ce05a66ca 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Course.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Course.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.ordercolumn; +package ee.jakarta.tck.persistence.core.annotations.ordercolumn; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Department.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Department.java index 449c1c53f5..b4945cc345 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.ordercolumn; +package ee.jakarta.tck.persistence.core.annotations.ordercolumn; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Department2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Department2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Department2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Department2.java index 30bdb1d221..887cef9a46 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Department2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Department2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.ordercolumn; +package ee.jakarta.tck.persistence.core.annotations.ordercolumn; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Employee.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Employee.java index b31529fff7..f400a66b13 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.ordercolumn; +package ee.jakarta.tck.persistence.core.annotations.ordercolumn; import jakarta.persistence.CascadeType; import jakarta.persistence.Column; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Employee2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Employee2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Employee2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Employee2.java index f37c9407f5..8c1ee2f9cb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Employee2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Employee2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.ordercolumn; +package ee.jakarta.tck.persistence.core.annotations.ordercolumn; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Student.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Student.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Student.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Student.java index 6989ac7623..cf72d88f70 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/ordercolumn/Student.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/ordercolumn/Student.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.ordercolumn; +package ee.jakarta.tck.persistence.core.annotations.ordercolumn; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client.java index 039e0d3932..ecd4082f85 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client.java @@ -14,13 +14,13 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.tableGenerator; +package ee.jakarta.tck.persistence.core.annotations.tableGenerator; import java.lang.System.Logger; import org.junit.jupiter.api.AfterEach; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client1.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client1.java index 904f57d214..d58ddbeaee 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.tableGenerator; +package ee.jakarta.tck.persistence.core.annotations.tableGenerator; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client2.java index 7aa71ac494..dd4548f124 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.tableGenerator; +package ee.jakarta.tck.persistence.core.annotations.tableGenerator; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client3.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client3.java index b747305478..2ff78440d7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.tableGenerator; +package ee.jakarta.tck.persistence.core.annotations.tableGenerator; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client4.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client4.java index ee4e0982b6..a4cbd62f97 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/Client4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/Client4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.tableGenerator; +package ee.jakarta.tck.persistence.core.annotations.tableGenerator; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/DataTypes.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/DataTypes.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/DataTypes.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/DataTypes.java index aad70e3e43..4417b1aec6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/DataTypes.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/DataTypes.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.tableGenerator; +package ee.jakarta.tck.persistence.core.annotations.tableGenerator; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/DataTypes2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/DataTypes2.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/DataTypes2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/DataTypes2.java index 1c1fe58f85..46de375a49 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/DataTypes2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/DataTypes2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.tableGenerator; +package ee.jakarta.tck.persistence.core.annotations.tableGenerator; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/DataTypes3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/DataTypes3.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/DataTypes3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/DataTypes3.java index db942d1199..54376c087e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/DataTypes3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/DataTypes3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.tableGenerator; +package ee.jakarta.tck.persistence.core.annotations.tableGenerator; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/DataTypes4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/DataTypes4.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/DataTypes4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/DataTypes4.java index de5ab6cc5a..feee08fe4e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/tableGenerator/DataTypes4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/tableGenerator/DataTypes4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.tableGenerator; +package ee.jakarta.tck.persistence.core.annotations.tableGenerator; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/A2_Field.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/A2_Field.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/A2_Field.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/A2_Field.java index 94aeac844f..5e438feb26 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/A2_Field.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/A2_Field.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.temporal; +package ee.jakarta.tck.persistence.core.annotations.temporal; import java.util.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/A2_Property.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/A2_Property.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/A2_Property.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/A2_Property.java index 27b3073767..3c7898b553 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/A2_Property.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/A2_Property.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.temporal; +package ee.jakarta.tck.persistence.core.annotations.temporal; import java.util.Calendar; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/A_Field.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/A_Field.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/A_Field.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/A_Field.java index 050cb4cc8e..97872b3710 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/A_Field.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/A_Field.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.temporal; +package ee.jakarta.tck.persistence.core.annotations.temporal; import java.util.ArrayList; import java.util.Calendar; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/A_Property.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/A_Property.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/A_Property.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/A_Property.java index 7fb76d2377..3856937dd1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/A_Property.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/A_Property.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.temporal; +package ee.jakarta.tck.persistence.core.annotations.temporal; import java.util.ArrayList; import java.util.Calendar; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/Client.java index 3a9a35f70a..c3fc9ff4e4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/temporal/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/temporal/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.temporal; +package ee.jakarta.tck.persistence.core.annotations.temporal; import java.lang.System.Logger; import java.time.LocalDate; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client.java index 1b9b1234e2..50cce02549 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client.java @@ -14,13 +14,13 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import java.lang.System.Logger; import org.junit.jupiter.api.AfterEach; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client1.java index 431fbafb88..363777046e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client2.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client2.java index e1524a6a28..0aab00e14b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client3.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client3.java index 11f8b73ac2..da437cb0e8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client4.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client4.java index 606e08a306..177590f92f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Client4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Client4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import java.lang.System.Logger; import java.sql.Timestamp; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Int_Field.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Int_Field.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Int_Field.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Int_Field.java index 99ab32b353..2601cc0f8d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Int_Field.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Int_Field.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Int_Property.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Int_Property.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Int_Property.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Int_Property.java index 3f92d563b2..df3f566f1b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Int_Property.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Int_Property.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Integer_Field.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Integer_Field.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Integer_Field.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Integer_Field.java index addc345507..6a9b3ff990 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Integer_Field.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Integer_Field.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Integer_Property.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Integer_Property.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Integer_Property.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Integer_Property.java index 068c1060d1..b2c4e8bb7a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Integer_Property.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Integer_Property.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/LongClass_Field.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/LongClass_Field.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/LongClass_Field.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/LongClass_Field.java index 949c1aebed..42adfdc99d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/LongClass_Field.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/LongClass_Field.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/LongClass_Property.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/LongClass_Property.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/LongClass_Property.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/LongClass_Property.java index 9704be0dd4..1d03e89f7f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/LongClass_Property.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/LongClass_Property.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Long_Field.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Long_Field.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Long_Field.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Long_Field.java index 603564110f..ce7b70c101 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Long_Field.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Long_Field.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Long_Property.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Long_Property.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Long_Property.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Long_Property.java index 1a3ce4abb3..02938a0c01 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Long_Property.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Long_Property.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/ShortClass_Field.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/ShortClass_Field.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/ShortClass_Field.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/ShortClass_Field.java index 673175475e..eb61dbca49 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/ShortClass_Field.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/ShortClass_Field.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/ShortClass_Property.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/ShortClass_Property.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/ShortClass_Property.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/ShortClass_Property.java index 44293101e7..0a8be851eb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/ShortClass_Property.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/ShortClass_Property.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Short_Field.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Short_Field.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Short_Field.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Short_Field.java index 875a513eb2..65d8c42198 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Short_Field.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Short_Field.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Short_Property.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Short_Property.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Short_Property.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Short_Property.java index bdb8c358a7..697917213d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Short_Property.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Short_Property.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Timestamp_Field.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Timestamp_Field.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Timestamp_Field.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Timestamp_Field.java index ed49084eda..f32011a7f6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Timestamp_Field.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Timestamp_Field.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import java.sql.Timestamp; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Timestamp_Property.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Timestamp_Property.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Timestamp_Property.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Timestamp_Property.java index 85f15347c3..f187913a40 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/version/Timestamp_Property.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/annotations/version/Timestamp_Property.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.version; +package ee.jakarta.tck.persistence.core.annotations.version; import java.sql.Timestamp; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/basic/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/basic/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/basic/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/basic/Client.java index 0b409b2997..e88f594cde 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/basic/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/basic/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.basic; +package ee.jakarta.tck.persistence.core.basic; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/basic/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/basic/Order.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/basic/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/basic/Order.java index e7d4c0ea93..3ceaf2dc1d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/basic/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/basic/Order.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.basic; +package ee.jakarta.tck.persistence.core.basic; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/cache/basicTests/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/cache/basicTests/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/cache/basicTests/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/cache/basicTests/Client.java index 941fdb640e..3c459a884a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/cache/basicTests/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/cache/basicTests/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.cache.basicTests; +package ee.jakarta.tck.persistence.core.cache.basicTests; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.Cache; import jakarta.persistence.EntityManager; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/cache/basicTests/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/cache/basicTests/Order.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/cache/basicTests/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/cache/basicTests/Order.java index b129808105..6038396e6a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/cache/basicTests/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/cache/basicTests/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.cache.basicTests; +package ee.jakarta.tck.persistence.core.cache.basicTests; import jakarta.persistence.Cacheable; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/cache/basicTests/persistence_ee.xml b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/cache/basicTests/persistence_ee.xml similarity index 89% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/cache/basicTests/persistence_ee.xml rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/cache/basicTests/persistence_ee.xml index 9a6304a802..cacede954b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/cache/basicTests/persistence_ee.xml +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/cache/basicTests/persistence_ee.xml @@ -26,13 +26,13 @@ Persistence Unit for CTS Vehicle Tests jdbc/DB1 - com.sun.ts.tests.jpa.core.cache.basicTests.Order + ee.jakarta.tck.persistence.core.cache.basicTests.Order ALL Persistence Unit for CTS Vehicle Tests jdbc/DB1 - com.sun.ts.tests.jpa.core.cache.basicTests.Order + ee.jakarta.tck.persistence.core.cache.basicTests.Order ALL @@ -41,7 +41,7 @@ Persistence Unit for Application Managed Resource Local jdbc/DB_no_tx - com.sun.ts.tests.jpa.core.cache.basicTests.Order + ee.jakarta.tck.persistence.core.cache.basicTests.Order ALL diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/cache/basicTests/persistence_se.xml b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/cache/basicTests/persistence_se.xml similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/cache/basicTests/persistence_se.xml rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/cache/basicTests/persistence_se.xml index e73b62ee4f..2d915c40cd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/cache/basicTests/persistence_se.xml +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/cache/basicTests/persistence_se.xml @@ -20,12 +20,12 @@ Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.core.cache.basicTests.Order + ee.jakarta.tck.persistence.core.cache.basicTests.Order ALL Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.core.cache.basicTests.Order + ee.jakarta.tck.persistence.core.cache.basicTests.Order ALL diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/CallbackStatusIF.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/CallbackStatusIF.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/CallbackStatusIF.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/CallbackStatusIF.java index da41dd7f8a..14441b7ebb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/CallbackStatusIF.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/CallbackStatusIF.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.common; +package ee.jakarta.tck.persistence.core.callback.common; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/CallbackStatusImpl.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/CallbackStatusImpl.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/CallbackStatusImpl.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/CallbackStatusImpl.java index caa8cac9c6..131b321ea9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/CallbackStatusImpl.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/CallbackStatusImpl.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.common; +package ee.jakarta.tck.persistence.core.callback.common; import java.util.ArrayList; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/Constants.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/Constants.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/Constants.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/Constants.java index d50117a9e4..0280ed407f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/Constants.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/Constants.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.common; +package ee.jakarta.tck.persistence.core.callback.common; import java.util.Arrays; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/EntityCallbackClientBase.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/EntityCallbackClientBase.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/EntityCallbackClientBase.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/EntityCallbackClientBase.java index 0dc7d4120b..b4d721415c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/EntityCallbackClientBase.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/EntityCallbackClientBase.java @@ -18,12 +18,12 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.common; +package ee.jakarta.tck.persistence.core.callback.common; import java.lang.System.Logger; import java.sql.SQLException; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public abstract class EntityCallbackClientBase extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/GenerictListener.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/GenerictListener.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/GenerictListener.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/GenerictListener.java index 073fe749b4..adc7fa02eb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/GenerictListener.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/GenerictListener.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.common; +package ee.jakarta.tck.persistence.core.callback.common; import jakarta.persistence.PostLoad; import jakarta.persistence.PostPersist; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/GenerictListenerImpl.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/GenerictListenerImpl.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/GenerictListenerImpl.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/GenerictListenerImpl.java index aaeb8f8894..7434133047 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/GenerictListenerImpl.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/GenerictListenerImpl.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.common; +package ee.jakarta.tck.persistence.core.callback.common; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerA.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerA.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerA.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerA.java index 853e106cba..8855e61f5c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerA.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerA.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.common; +package ee.jakarta.tck.persistence.core.callback.common; import jakarta.persistence.PostLoad; import jakarta.persistence.PostPersist; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerAA.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerAA.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerAA.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerAA.java index a14df9ada5..c8c83a841a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerAA.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerAA.java @@ -18,7 +18,7 @@ * $Id: ListenerA.java 65615 2012-03-29 19:02:39Z sdimilla $ */ -package com.sun.ts.tests.jpa.core.callback.common; +package ee.jakarta.tck.persistence.core.callback.common; import jakarta.persistence.PostLoad; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerB.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerB.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerB.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerB.java index 8dd418e036..78c3402394 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerB.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerB.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.common; +package ee.jakarta.tck.persistence.core.callback.common; import jakarta.persistence.PostLoad; import jakarta.persistence.PostPersist; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerBB.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerBB.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerBB.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerBB.java index 17118566e4..dceb306317 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerBB.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerBB.java @@ -18,7 +18,7 @@ * $Id: ListenerB.java 65615 2012-03-29 19:02:39Z sdimilla $ */ -package com.sun.ts.tests.jpa.core.callback.common; +package ee.jakarta.tck.persistence.core.callback.common; import jakarta.persistence.PostLoad; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerBase.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerBase.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerBase.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerBase.java index d5633ed53c..e4d91212e3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerBase.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerBase.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.common; +package ee.jakarta.tck.persistence.core.callback.common; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerC.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerC.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerC.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerC.java index e39076071e..a06d556e90 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerC.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerC.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.common; +package ee.jakarta.tck.persistence.core.callback.common; import jakarta.persistence.PostLoad; import jakarta.persistence.PostPersist; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerCC.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerCC.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerCC.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerCC.java index a3d2c49de4..89ddc5cb2b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/common/ListenerCC.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/common/ListenerCC.java @@ -18,7 +18,7 @@ * $Id: ListenerC.java 65615 2012-03-29 19:02:39Z sdimilla $ */ -package com.sun.ts.tests.jpa.core.callback.common; +package ee.jakarta.tck.persistence.core.callback.common; import jakarta.persistence.PostLoad; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/Client.java index 8a5dbd021f..311dae2b0c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.inheritance; +package ee.jakarta.tck.persistence.core.callback.inheritance; import java.lang.System.Logger; @@ -27,9 +27,8 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.core.callback.common.Constants; -import com.sun.ts.tests.jpa.core.callback.common.EntityCallbackClientBase; - +import ee.jakarta.tck.persistence.core.callback.common.Constants; +import ee.jakarta.tck.persistence.core.callback.common.EntityCallbackClientBase; import jakarta.persistence.Query; public class Client extends EntityCallbackClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PartProduct.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PartProduct.java similarity index 84% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PartProduct.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PartProduct.java index c266d5b09f..7ad29ca44d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PartProduct.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PartProduct.java @@ -18,10 +18,9 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.inheritance; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; +package ee.jakarta.tck.persistence.core.callback.inheritance; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorValue; import jakarta.persistence.Entity; @@ -29,7 +28,7 @@ @Entity @DiscriminatorValue("PartProduct") -@EntityListeners(com.sun.ts.tests.jpa.core.callback.inheritance.PartProductListener.class) +@EntityListeners(ee.jakarta.tck.persistence.core.callback.inheritance.PartProductListener.class) public class PartProduct extends Product implements java.io.Serializable, CallbackStatusIF { private long partNumber; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PartProductListener.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PartProductListener.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PartProductListener.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PartProductListener.java index fdf048e50a..cfd9fd1d0e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PartProductListener.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PartProductListener.java @@ -18,12 +18,11 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.inheritance; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.Constants; -import com.sun.ts.tests.jpa.core.callback.common.GenerictListenerImpl; +package ee.jakarta.tck.persistence.core.callback.inheritance; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.Constants; +import ee.jakarta.tck.persistence.core.callback.common.GenerictListenerImpl; import jakarta.persistence.PostLoad; import jakarta.persistence.PostPersist; import jakarta.persistence.PostRemove; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PricedPartProduct.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PricedPartProduct.java similarity index 84% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PricedPartProduct.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PricedPartProduct.java index ddb22a8b28..7783084496 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PricedPartProduct.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PricedPartProduct.java @@ -18,10 +18,9 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.inheritance; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; +package ee.jakarta.tck.persistence.core.callback.inheritance; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorValue; import jakarta.persistence.Entity; @@ -29,7 +28,7 @@ @Entity @DiscriminatorValue("PricedPartProduct") -@EntityListeners(com.sun.ts.tests.jpa.core.callback.common.GenerictListener.class) +@EntityListeners(ee.jakarta.tck.persistence.core.callback.common.GenerictListener.class) public class PricedPartProduct extends PartProduct implements java.io.Serializable, CallbackStatusIF { private double price; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PricedPartProductCallback.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PricedPartProductCallback.java similarity index 89% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PricedPartProductCallback.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PricedPartProductCallback.java index 8236f37313..141b27b3af 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PricedPartProductCallback.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PricedPartProductCallback.java @@ -18,13 +18,12 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.inheritance; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; -import com.sun.ts.tests.jpa.core.callback.common.Constants; -import com.sun.ts.tests.jpa.core.callback.common.GenerictListenerImpl; +package ee.jakarta.tck.persistence.core.callback.inheritance; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; +import ee.jakarta.tck.persistence.core.callback.common.Constants; +import ee.jakarta.tck.persistence.core.callback.common.GenerictListenerImpl; import jakarta.persistence.MappedSuperclass; import jakarta.persistence.PostLoad; import jakarta.persistence.PostPersist; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PricedPartProductListener.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PricedPartProductListener.java similarity index 78% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PricedPartProductListener.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PricedPartProductListener.java index e80f738ad7..c2d9980381 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PricedPartProductListener.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PricedPartProductListener.java @@ -18,11 +18,11 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.inheritance; +package ee.jakarta.tck.persistence.core.callback.inheritance; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.GenerictListener; -import com.sun.ts.tests.jpa.core.callback.common.GenerictListenerImpl; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.GenerictListener; +import ee.jakarta.tck.persistence.core.callback.common.GenerictListenerImpl; public class PricedPartProductListener extends GenerictListener { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PricedPartProduct_2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PricedPartProduct_2.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PricedPartProduct_2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PricedPartProduct_2.java index ac6eb4709e..c26d90dc4b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/PricedPartProduct_2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/PricedPartProduct_2.java @@ -18,11 +18,10 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.inheritance; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; +package ee.jakarta.tck.persistence.core.callback.inheritance; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/Product.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/Product.java similarity index 87% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/Product.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/Product.java index c8645b3c4e..0c16c6f752 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/Product.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/Product.java @@ -18,11 +18,10 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.inheritance; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; +package ee.jakarta.tck.persistence.core.callback.inheritance; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorColumn; import jakarta.persistence.DiscriminatorType; @@ -39,7 +38,7 @@ @Inheritance(strategy = InheritanceType.SINGLE_TABLE) @DiscriminatorColumn(name = "PRODUCT_TYPE", discriminatorType = DiscriminatorType.STRING) @DiscriminatorValue("Product") -@EntityListeners(com.sun.ts.tests.jpa.core.callback.inheritance.ProductListener.class) +@EntityListeners(ee.jakarta.tck.persistence.core.callback.inheritance.ProductListener.class) public class Product extends CallbackStatusImpl implements java.io.Serializable, CallbackStatusIF { private String id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/ProductListener.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/ProductListener.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/ProductListener.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/ProductListener.java index 7b6e9b87fd..a1b6cb6966 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/inheritance/ProductListener.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/inheritance/ProductListener.java @@ -18,12 +18,11 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.inheritance; +package ee.jakarta.tck.persistence.core.callback.inheritance; import java.lang.System.Logger; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; - +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; import jakarta.persistence.PostLoad; import jakarta.persistence.PostPersist; import jakarta.persistence.PostRemove; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/Client.java index 43dd2b7b2f..a92e15f19f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.listener; +package ee.jakarta.tck.persistence.core.callback.listener; import java.lang.System.Logger; import java.util.List; @@ -28,9 +28,8 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.core.callback.common.Constants; -import com.sun.ts.tests.jpa.core.callback.common.EntityCallbackClientBase; - +import ee.jakarta.tck.persistence.core.callback.common.Constants; +import ee.jakarta.tck.persistence.core.callback.common.EntityCallbackClientBase; import jakarta.persistence.Query; public class Client extends EntityCallbackClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/LineItem.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/LineItem.java similarity index 89% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/LineItem.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/LineItem.java index 8249663269..f636e30098 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/LineItem.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/LineItem.java @@ -18,12 +18,11 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.listener; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.ListenerB; -import com.sun.ts.tests.jpa.core.callback.common.ListenerC; +package ee.jakarta.tck.persistence.core.callback.listener; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.ListenerB; +import ee.jakarta.tck.persistence.core.callback.common.ListenerC; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.EntityListeners; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/LineItemSuper.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/LineItemSuper.java similarity index 78% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/LineItemSuper.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/LineItemSuper.java index c99d773806..88b602c2df 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/LineItemSuper.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/LineItemSuper.java @@ -18,13 +18,12 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.listeneroverride; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; -import com.sun.ts.tests.jpa.core.callback.common.ListenerA; -import com.sun.ts.tests.jpa.core.callback.common.ListenerB; +package ee.jakarta.tck.persistence.core.callback.listener; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; +import ee.jakarta.tck.persistence.core.callback.common.ListenerA; +import ee.jakarta.tck.persistence.core.callback.common.ListenerB; import jakarta.persistence.Column; import jakarta.persistence.EntityListeners; import jakarta.persistence.MappedSuperclass; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/Order.java similarity index 87% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/Order.java index 571c1c1f1b..4c290ba758 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/Order.java @@ -18,15 +18,14 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.listener; +package ee.jakarta.tck.persistence.core.callback.listener; import java.util.Collection; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; -import com.sun.ts.tests.jpa.core.callback.common.ListenerB; -import com.sun.ts.tests.jpa.core.callback.common.ListenerC; - +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; +import ee.jakarta.tck.persistence.core.callback.common.ListenerB; +import ee.jakarta.tck.persistence.core.callback.common.ListenerC; import jakarta.persistence.CascadeType; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/Product.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/Product.java similarity index 86% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/Product.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/Product.java index 1595e20af7..337bff0eab 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/Product.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listener/Product.java @@ -18,13 +18,12 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.listener; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; -import com.sun.ts.tests.jpa.core.callback.common.ListenerB; -import com.sun.ts.tests.jpa.core.callback.common.ListenerC; +package ee.jakarta.tck.persistence.core.callback.listener; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; +import ee.jakarta.tck.persistence.core.callback.common.ListenerB; +import ee.jakarta.tck.persistence.core.callback.common.ListenerC; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.EntityListeners; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/Client.java index a429e9a188..fe0deb970f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.listeneroverride; +package ee.jakarta.tck.persistence.core.callback.listeneroverride; import java.lang.System.Logger; import java.util.List; @@ -28,9 +28,8 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.core.callback.common.Constants; -import com.sun.ts.tests.jpa.core.callback.common.EntityCallbackClientBase; - +import ee.jakarta.tck.persistence.core.callback.common.Constants; +import ee.jakarta.tck.persistence.core.callback.common.EntityCallbackClientBase; import jakarta.persistence.Query; public class Client extends EntityCallbackClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/LineItem.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/LineItem.java similarity index 89% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/LineItem.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/LineItem.java index e0508cbb8c..01cd39877f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/LineItem.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/LineItem.java @@ -18,12 +18,11 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.listeneroverride; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.ListenerB; -import com.sun.ts.tests.jpa.core.callback.common.ListenerC; +package ee.jakarta.tck.persistence.core.callback.listeneroverride; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.ListenerB; +import ee.jakarta.tck.persistence.core.callback.common.ListenerC; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.EntityListeners; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/LineItemSuper.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/LineItemSuper.java similarity index 77% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/LineItemSuper.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/LineItemSuper.java index 8724b0e009..cd748ca030 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listener/LineItemSuper.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/LineItemSuper.java @@ -18,13 +18,12 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.listener; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; -import com.sun.ts.tests.jpa.core.callback.common.ListenerA; -import com.sun.ts.tests.jpa.core.callback.common.ListenerB; +package ee.jakarta.tck.persistence.core.callback.listeneroverride; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; +import ee.jakarta.tck.persistence.core.callback.common.ListenerA; +import ee.jakarta.tck.persistence.core.callback.common.ListenerB; import jakarta.persistence.Column; import jakarta.persistence.EntityListeners; import jakarta.persistence.MappedSuperclass; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/Order.java similarity index 87% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/Order.java index b529515df2..8830faa14b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/Order.java @@ -18,15 +18,14 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.listeneroverride; +package ee.jakarta.tck.persistence.core.callback.listeneroverride; import java.util.Collection; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; -import com.sun.ts.tests.jpa.core.callback.common.ListenerB; -import com.sun.ts.tests.jpa.core.callback.common.ListenerC; - +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; +import ee.jakarta.tck.persistence.core.callback.common.ListenerB; +import ee.jakarta.tck.persistence.core.callback.common.ListenerC; import jakarta.persistence.CascadeType; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/Product.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/Product.java similarity index 86% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/Product.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/Product.java index 9f99802554..b2139189f6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/listeneroverride/Product.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/listeneroverride/Product.java @@ -18,13 +18,12 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.listeneroverride; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; -import com.sun.ts.tests.jpa.core.callback.common.ListenerB; -import com.sun.ts.tests.jpa.core.callback.common.ListenerC; +package ee.jakarta.tck.persistence.core.callback.listeneroverride; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; +import ee.jakarta.tck.persistence.core.callback.common.ListenerB; +import ee.jakarta.tck.persistence.core.callback.common.ListenerC; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.EntityListeners; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/method/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/method/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/method/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/method/Client.java index 197faf513a..ffef613125 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/method/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/method/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.method; +package ee.jakarta.tck.persistence.core.callback.method; import java.lang.System.Logger; import java.util.Arrays; @@ -29,9 +29,8 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.core.callback.common.Constants; -import com.sun.ts.tests.jpa.core.callback.common.EntityCallbackClientBase; - +import ee.jakarta.tck.persistence.core.callback.common.Constants; +import ee.jakarta.tck.persistence.core.callback.common.EntityCallbackClientBase; import jakarta.persistence.Query; public class Client extends EntityCallbackClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/method/LineItem.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/method/LineItem.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/method/LineItem.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/method/LineItem.java index f7199e0093..19e472b404 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/method/LineItem.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/method/LineItem.java @@ -18,12 +18,11 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.method; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; -import com.sun.ts.tests.jpa.core.callback.common.GenerictListenerImpl; +package ee.jakarta.tck.persistence.core.callback.method; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; +import ee.jakarta.tck.persistence.core.callback.common.GenerictListenerImpl; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/method/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/method/Order.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/method/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/method/Order.java index 9402cdf36f..b44f667218 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/method/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/method/Order.java @@ -18,14 +18,13 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.method; +package ee.jakarta.tck.persistence.core.callback.method; import java.util.Collection; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; -import com.sun.ts.tests.jpa.core.callback.common.GenerictListenerImpl; - +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; +import ee.jakarta.tck.persistence.core.callback.common.GenerictListenerImpl; import jakarta.persistence.CascadeType; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/method/Product.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/method/Product.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/method/Product.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/method/Product.java index 3cff9455a2..93ab08fb2d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/method/Product.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/method/Product.java @@ -18,12 +18,11 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.method; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; -import com.sun.ts.tests.jpa.core.callback.common.GenerictListenerImpl; +package ee.jakarta.tck.persistence.core.callback.method; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; +import ee.jakarta.tck.persistence.core.callback.common.GenerictListenerImpl; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/methodoverride/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/methodoverride/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/methodoverride/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/methodoverride/Client.java index 94679fc0e2..d3a8636ad6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/methodoverride/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/methodoverride/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.methodoverride; +package ee.jakarta.tck.persistence.core.callback.methodoverride; import java.lang.System.Logger; import java.util.Arrays; @@ -29,9 +29,8 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.core.callback.common.Constants; -import com.sun.ts.tests.jpa.core.callback.common.EntityCallbackClientBase; - +import ee.jakarta.tck.persistence.core.callback.common.Constants; +import ee.jakarta.tck.persistence.core.callback.common.EntityCallbackClientBase; import jakarta.persistence.Query; public class Client extends EntityCallbackClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/methodoverride/LineItem.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/methodoverride/LineItem.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/methodoverride/LineItem.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/methodoverride/LineItem.java index 6581965227..957caf128b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/methodoverride/LineItem.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/methodoverride/LineItem.java @@ -18,12 +18,11 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.methodoverride; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; -import com.sun.ts.tests.jpa.core.callback.common.GenerictListenerImpl; +package ee.jakarta.tck.persistence.core.callback.methodoverride; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; +import ee.jakarta.tck.persistence.core.callback.common.GenerictListenerImpl; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/methodoverride/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/methodoverride/Order.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/methodoverride/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/methodoverride/Order.java index 33b7df7c47..38f8d78017 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/methodoverride/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/methodoverride/Order.java @@ -18,14 +18,13 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.methodoverride; +package ee.jakarta.tck.persistence.core.callback.methodoverride; import java.util.Collection; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; -import com.sun.ts.tests.jpa.core.callback.common.GenerictListenerImpl; - +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; +import ee.jakarta.tck.persistence.core.callback.common.GenerictListenerImpl; import jakarta.persistence.CascadeType; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/methodoverride/Product.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/methodoverride/Product.java similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/methodoverride/Product.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/methodoverride/Product.java index a7a74002e0..d28040e4e8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/methodoverride/Product.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/methodoverride/Product.java @@ -18,12 +18,11 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.callback.methodoverride; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; -import com.sun.ts.tests.jpa.core.callback.common.GenerictListenerImpl; +package ee.jakarta.tck.persistence.core.callback.methodoverride; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; +import ee.jakarta.tck.persistence.core.callback.common.GenerictListenerImpl; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/Client.java index 5edb3b5d61..c8248cdcd2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/Client.java @@ -18,7 +18,7 @@ * $Id: Client.java 68465 2012-11-08 14:05:31Z sdimilla $ */ -package com.sun.ts.tests.jpa.core.callback.xml; +package ee.jakarta.tck.persistence.core.callback.xml; import java.lang.System.Logger; import java.util.ArrayList; @@ -30,9 +30,8 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.core.callback.common.Constants; -import com.sun.ts.tests.jpa.core.callback.common.EntityCallbackClientBase; - +import ee.jakarta.tck.persistence.core.callback.common.Constants; +import ee.jakarta.tck.persistence.core.callback.common.EntityCallbackClientBase; import jakarta.persistence.Query; public class Client extends EntityCallbackClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/Customer.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/Customer.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/Customer.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/Customer.java index 9f7410a792..c8424a2652 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/Customer.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/Customer.java @@ -14,11 +14,10 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.callback.xml; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; +package ee.jakarta.tck.persistence.core.callback.xml; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/LineItem.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/LineItem.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/LineItem.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/LineItem.java index 37f9523283..f102749344 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/LineItem.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/LineItem.java @@ -18,10 +18,9 @@ * $Id: LineItem.java 65615 2012-03-29 19:02:39Z sdimilla $ */ -package com.sun.ts.tests.jpa.core.callback.xml; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; +package ee.jakarta.tck.persistence.core.callback.xml; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; import jakarta.persistence.Column; import jakarta.persistence.Id; import jakarta.persistence.JoinColumn; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/LineItemSuper.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/LineItemSuper.java similarity index 84% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/LineItemSuper.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/LineItemSuper.java index 801a906b48..956bd245d4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/LineItemSuper.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/LineItemSuper.java @@ -18,11 +18,10 @@ * $Id: LineItemSuper.java 65615 2012-03-29 19:02:39Z sdimilla $ */ -package com.sun.ts.tests.jpa.core.callback.xml; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; +package ee.jakarta.tck.persistence.core.callback.xml; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; import jakarta.persistence.Column; public class LineItemSuper extends CallbackStatusImpl implements java.io.Serializable, CallbackStatusIF { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/Order.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/Order.java index b564896971..6e4d4fa042 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/Order.java @@ -18,13 +18,12 @@ * $Id: Order.java 68600 2012-11-19 16:24:08Z sdimilla $ */ -package com.sun.ts.tests.jpa.core.callback.xml; +package ee.jakarta.tck.persistence.core.callback.xml; import java.util.Collection; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; - +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; import jakarta.persistence.CascadeType; import jakarta.persistence.Column; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/Product.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/Product.java similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/Product.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/Product.java index af9a24b130..a83cb61e6b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/callback/xml/Product.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/callback/xml/Product.java @@ -18,11 +18,10 @@ * $Id: Product.java 65615 2012-03-29 19:02:39Z sdimilla $ */ -package com.sun.ts.tests.jpa.core.callback.xml; - -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusIF; -import com.sun.ts.tests.jpa.core.callback.common.CallbackStatusImpl; +package ee.jakarta.tck.persistence.core.callback.xml; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusIF; +import ee.jakarta.tck.persistence.core.callback.common.CallbackStatusImpl; import jakarta.persistence.Column; import jakarta.persistence.Id; import jakarta.persistence.Table; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client1.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client1.java index caef1bb488..d9fa0b3816 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaBuilder; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaBuilder; import java.lang.System.Logger; import java.util.ArrayList; @@ -23,10 +23,10 @@ import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.Product; -import com.sun.ts.tests.jpa.common.schema30.UtilSetup; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.Product; +import ee.jakarta.tck.persistence.common.schema30.UtilSetup; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client2.java index 569aff8086..0a8bcb9974 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaBuilder; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaBuilder; import java.lang.System.Logger; import java.sql.Date; @@ -28,10 +28,10 @@ import com.sun.ts.lib.harness.SetupMethod; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.common.schema30.Address; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Spouse; -import com.sun.ts.tests.jpa.common.schema30.UtilCustAliasProductData; +import ee.jakarta.tck.persistence.common.schema30.Address; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Spouse; +import ee.jakarta.tck.persistence.common.schema30.UtilCustAliasProductData; import jakarta.persistence.Query; import jakarta.persistence.Tuple; @@ -70,7 +70,7 @@ public JavaArchive createDeployment() throws Exception { * * @test_Strategy: convert the following jpql to CriteriaQuery * - * SELECT NEW com.sun.ts.tests.jpa.core.query.language.schema30.Customer (c.id, + * SELECT NEW ee.jakarta.tck.persistence.core.query.language.schema30.Customer (c.id, * c.name) FROM Customer c where c.home.city = 'Roslindale' * * @@ -96,9 +96,9 @@ public void construct() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); - cquery.select(cbuilder.construct(com.sun.ts.tests.jpa.common.schema30.Customer.class, + cquery.select(cbuilder.construct(ee.jakarta.tck.persistence.common.schema30.Customer.class, customer.get(Customer_.getSingularAttribute("id", String.class)), customer.get(Customer_.getSingularAttribute("name", String.class)))) .where(cbuilder.equal(customer.get(Customer_.getSingularAttribute("home", Address.class)) @@ -777,7 +777,7 @@ public void countDistinct() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); logger.log(Logger.Level.TRACE, "count number of orders by customer"); cquery.select(cbuilder.countDistinct(customer.get(Customer_.getSingularAttribute("home", Address.class)) @@ -834,7 +834,7 @@ public void andPredicates() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); cquery.select(customer); @@ -901,7 +901,7 @@ public void orPredicates() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); cquery.select(customer); @@ -971,7 +971,7 @@ public void isNull() throws Exception { Root customer = cquery.from(Customer.class); // Get Metamodel from Root - EntityType Customer_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Customer.class); + EntityType Customer_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Customer.class); cquery.select(customer); cquery.where(cbuilder.isNull(customer.get(Customer_.getSingularAttribute("name", String.class)))); @@ -1103,7 +1103,7 @@ public void parameter() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); ParameterExpression param1 = cbuilder.parameter(String.class, "streetParam"); ParameterExpression param2 = cbuilder.parameter(String.class, "cityParam"); @@ -1186,7 +1186,7 @@ public void parameterCaseSensitiveTest() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); ParameterExpression param1 = cbuilder.parameter(String.class, "stateParam"); ParameterExpression param2 = cbuilder.parameter(String.class, "STATEPARAM"); @@ -1268,7 +1268,7 @@ public void criteriaBuilderValuesTest() throws Exception { Root customer = cquery.from(Customer.class); // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); CriteriaBuilder.In inExp = cbuilder.in(customer.get(Customer_.getSingularAttribute("home", Address.class)) .get(Address_.getSingularAttribute("state", String.class))); @@ -1343,7 +1343,7 @@ public void criteriaBuilderIn1Test() throws Exception { Root customer = cquery.from(Customer.class); // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); CriteriaBuilder.In inExp = cbuilder.in(customer.get(Customer_.getSingularAttribute("home", Address.class)) .get(Address_.getSingularAttribute("state", String.class))); @@ -1496,7 +1496,7 @@ public void criteriaBuilderInValueTest() throws Exception { Root customer = cquery.from(Customer.class); // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); CriteriaBuilder.In inExp = cbuilder.in(customer.get(Customer_.getSingularAttribute("home", Address.class)) .get(Address_.getSingularAttribute("state", String.class))); @@ -1911,7 +1911,7 @@ public void likeExpStringTest() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); cquery.select(customer); @@ -1974,7 +1974,7 @@ public void likeExpExpTest() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); cquery.select(customer); @@ -2041,7 +2041,7 @@ public void notLikeExpStringTest() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); cquery.select(customer); @@ -2108,7 +2108,7 @@ public void notLikeExpExpTest() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); cquery.select(customer); @@ -2175,7 +2175,7 @@ public void notLikeExpExpExpTest() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); cquery.select(customer); @@ -2244,7 +2244,7 @@ public void notLikeExpExpCharTest() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); cquery.select(customer); @@ -2311,7 +2311,7 @@ public void notLikeExpStringExpTest() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); cquery.select(customer); @@ -2378,7 +2378,7 @@ public void notLikeExpStringCharTest() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); cquery.select(customer); @@ -2444,7 +2444,7 @@ public void concatExpStringTest() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); cquery.select(customer); cquery.where(cbuilder.equal( @@ -2511,7 +2511,7 @@ public void concatStringExpTest() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); cquery.select(customer); cquery.where(cbuilder.equal( @@ -2578,7 +2578,7 @@ public void concatExpExpTest() throws Exception { // Get Metamodel from Root EntityType Customer_ = customer.getModel(); - EntityType
Address_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Address.class); + EntityType
Address_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Address.class); cquery.select(customer); cquery.where(cbuilder.equal( diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client3.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client3.java index 67e093553a..589fc228b4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaBuilder; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaBuilder; import java.lang.System.Logger; import java.sql.Date; @@ -28,9 +28,9 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Alias; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.UtilAliasData; +import ee.jakarta.tck.persistence.common.schema30.Alias; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.UtilAliasData; import jakarta.persistence.Tuple; import jakarta.persistence.TupleElement; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client4.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client4.java index 38e18a1ec6..e9be85b0fd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaBuilder; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaBuilder; import java.lang.System.Logger; import java.util.ArrayList; @@ -24,8 +24,8 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Alias; -import com.sun.ts.tests.jpa.common.schema30.UtilAliasOnlyData; +import ee.jakarta.tck.persistence.common.schema30.Alias; +import ee.jakarta.tck.persistence.common.schema30.UtilAliasOnlyData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CriteriaBuilder; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client5.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client5.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client5.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client5.java index 35bcde08b9..e90844d555 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client5.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client5.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaBuilder; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaBuilder; import java.lang.System.Logger; import java.math.BigDecimal; @@ -30,12 +30,12 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.HardwareProduct; -import com.sun.ts.tests.jpa.common.schema30.Product; -import com.sun.ts.tests.jpa.common.schema30.ShelfLife; -import com.sun.ts.tests.jpa.common.schema30.SoftwareProduct; -import com.sun.ts.tests.jpa.common.schema30.SoftwareProduct_; -import com.sun.ts.tests.jpa.common.schema30.UtilProductData; +import ee.jakarta.tck.persistence.common.schema30.HardwareProduct; +import ee.jakarta.tck.persistence.common.schema30.Product; +import ee.jakarta.tck.persistence.common.schema30.ShelfLife; +import ee.jakarta.tck.persistence.common.schema30.SoftwareProduct; +import ee.jakarta.tck.persistence.common.schema30.SoftwareProduct_; +import ee.jakarta.tck.persistence.common.schema30.UtilProductData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CriteriaBuilder; @@ -1465,7 +1465,7 @@ public void neg() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder.neg(product.get(Product_.getSingularAttribute("quantity", Integer.class)))); @@ -1518,7 +1518,7 @@ public void prodExpNumTest() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder.prod(product.get(Product_.getSingularAttribute("quantity", Integer.class)), 10F)); @@ -1575,7 +1575,7 @@ public void prodNumExpTest() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder.prod(10, product.get(Product_.getSingularAttribute("quantity", Integer.class)))); @@ -1626,7 +1626,7 @@ public void prodExpExpTest() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder.prod(product.get(Product_.getSingularAttribute("quantity", Integer.class)), product.get(Product_.getSingularAttribute("quantity", Integer.class)))); @@ -1677,7 +1677,7 @@ public void diffExpNumberTest() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder.diff(product.get(Product_.getSingularAttribute("quantity", Integer.class)), 2)); @@ -1726,7 +1726,7 @@ public void diffNumberExpTest() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder.diff(8, product.get(Product_.getSingularAttribute("quantity", Integer.class)))); @@ -1776,7 +1776,7 @@ public void diffExpExpTest() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder.diff(product.get(Product_.getSingularAttribute("quantity", Integer.class)), product.get(Product_.getSingularAttribute("quantity", Integer.class)))); @@ -1979,7 +1979,7 @@ public void modExpIntTest() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.where(cbuilder.equal(cbuilder.mod(cbuilder.literal(550), 100), product.get(Product_.getSingularAttribute("quantity", Integer.class)))); @@ -2036,7 +2036,7 @@ public void modExpExpTest() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.where(cbuilder.equal(cbuilder.mod(cbuilder.literal(550), cbuilder.literal(100)), product.get(Product_.getSingularAttribute("quantity", Integer.class)))); @@ -2093,7 +2093,7 @@ public void modIntExpTest() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.where(cbuilder.equal(cbuilder.mod(550, cbuilder.literal(100)), product.get(Product_.getSingularAttribute("quantity", Integer.class)))); @@ -2145,7 +2145,7 @@ public void sqrt() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder.sqrt(product.get(Product_.getSingularAttribute("quantity", Integer.class)))); @@ -2198,7 +2198,7 @@ public void toLong() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder .toLong(cbuilder.prod(product.get(Product_.getSingularAttribute("quantity", Integer.class)), 5L))); @@ -2250,7 +2250,7 @@ public void toInteger() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder.toInteger(product.get(Product_.getSingularAttribute("quantity", Integer.class)))); @@ -2301,7 +2301,7 @@ public void toFloat() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder.toFloat( cbuilder.prod(product.get(Product_.getSingularAttribute("quantity", Integer.class)), 0.5f))); @@ -2354,7 +2354,7 @@ public void toDouble() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder .toDouble(cbuilder.sqrt(product.get(Product_.getSingularAttribute("quantity", Integer.class))))); @@ -2406,7 +2406,7 @@ public void toBigDecimal() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder.toBigDecimal(cbuilder.prod( product.get(Product_.getSingularAttribute("quantity", Integer.class)), new BigDecimal("10.1")))); @@ -2456,7 +2456,7 @@ public void toBigInteger() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder .toBigInteger(cbuilder.prod(product.get(Product_.getSingularAttribute("quantity", Integer.class)), @@ -2506,7 +2506,7 @@ public void toStringTest() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(cbuilder.toString(cbuilder.literal('a'))); @@ -2555,7 +2555,7 @@ public void literal() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(product.get(Product_.getSingularAttribute("quantity", Integer.class))); @@ -2748,7 +2748,7 @@ public void treatPathClassTest() throws Exception { if (cquery != null) { Root product = cquery.from(Product.class); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); cquery.select(product.get(Product_.getSingularAttribute("id", String.class))); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client6.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client6.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client6.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client6.java index e5acb00de7..b6c4b2c1dd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client6.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client6.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaBuilder; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaBuilder; import java.lang.System.Logger; import java.util.ArrayList; @@ -24,12 +24,12 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.LineItem; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.Order_; -import com.sun.ts.tests.jpa.common.schema30.UtilOrderData; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.LineItem; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.Order_; +import ee.jakarta.tck.persistence.common.schema30.UtilOrderData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CollectionJoin; @@ -480,9 +480,9 @@ public void some() throws Exception { Root customer = cquery.from(Customer.class); // Get Metamodels - EntityType Order_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Order.class); + EntityType Order_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Order.class); - EntityType LineItem_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.LineItem.class); + EntityType LineItem_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.LineItem.class); EntityType Customer_ = customer.getModel(); @@ -569,9 +569,9 @@ public void any() throws Exception { Root customer = cquery.from(Customer.class); // Get Metamodels - EntityType Order_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Order.class); + EntityType Order_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Order.class); - EntityType LineItem_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.LineItem.class); + EntityType LineItem_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.LineItem.class); EntityType Customer_ = customer.getModel(); @@ -719,7 +719,7 @@ public void conjunction() throws Exception { // Get Metamodel from Root EntityType Order_ = order.getModel(); - EntityType Customer_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Customer.class); + EntityType Customer_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Customer.class); cquery.select(order); cquery.where(cbuilder.and( cbuilder.equal(order.get(Order_.getSingularAttribute("customer", Customer.class)) @@ -785,7 +785,7 @@ public void disjunction() throws Exception { // Get Metamodel from Root EntityType Order_ = order.getModel(); - EntityType Customer_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Customer.class); + EntityType Customer_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Customer.class); cquery.select(order); cquery.where(cbuilder.and( cbuilder.equal(order.get(Order_.getSingularAttribute("customer", Customer.class)) @@ -851,7 +851,7 @@ public void isTrue() throws Exception { // Get Metamodel from Root EntityType Order_ = order.getModel(); - EntityType Customer_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Customer.class); + EntityType Customer_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Customer.class); cquery.select(order); cquery.where(cbuilder.and( cbuilder.equal(order.get(Order_.getSingularAttribute("customer", Customer.class)) @@ -916,7 +916,7 @@ public void isFalse() throws Exception { // Get Metamodel from Root EntityType Order_ = order.getModel(); - EntityType Customer_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Customer.class); + EntityType Customer_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Customer.class); cquery.select(order); cquery.where(cbuilder.and( cbuilder.equal(order.get(Order_.getSingularAttribute("customer", Customer.class)) @@ -981,7 +981,7 @@ public void equalExpObjectTest() throws Exception { // Get Metamodel from Root EntityType Order_ = order.getModel(); - EntityType Customer_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Customer.class); + EntityType Customer_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Customer.class); cquery.select(order); cquery.where(cbuilder.not(cbuilder.equal(order.get(Order_.getSingularAttribute("customer", Customer.class)) .get(Customer_.getSingularAttribute("name", String.class)), "Robert E. Bissett"))); @@ -1044,7 +1044,7 @@ public void equalExpExpTest() throws Exception { // Get Metamodel from Root EntityType Order_ = order.getModel(); - EntityType Customer_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Customer.class); + EntityType Customer_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Customer.class); cquery.select(order); cquery.where(cbuilder.not(cbuilder.equal( order.get(Order_.getSingularAttribute("customer", Customer.class)) @@ -1109,7 +1109,7 @@ public void notEqualExpObjectTest() throws Exception { // Get Metamodel from Root EntityType Order_ = order.getModel(); - EntityType Customer_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Customer.class); + EntityType Customer_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Customer.class); cquery.select(order); cquery.where(cbuilder.notEqual(order.get(Order_.getSingularAttribute("customer", Customer.class)) .get(Customer_.getSingularAttribute("name", String.class)), "Robert E. Bissett")); @@ -1172,7 +1172,7 @@ public void notEqualExpExpTest() throws Exception { // Get Metamodel from Root EntityType Order_ = order.getModel(); - EntityType Customer_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Customer.class); + EntityType Customer_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Customer.class); cquery.select(order); cquery.where(cbuilder.notEqual( order.get(Order_.getSingularAttribute("customer", Customer.class)) diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client7.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client7.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client7.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client7.java index 5a96aad04e..7ddcbe00ea 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client7.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client7.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaBuilder; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaBuilder; import java.lang.System.Logger; import java.util.List; @@ -23,9 +23,9 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Product; -import com.sun.ts.tests.jpa.common.schema30.UtilCustAliasProductData; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Product; +import ee.jakarta.tck.persistence.common.schema30.UtilCustAliasProductData; import jakarta.persistence.Tuple; import jakarta.persistence.TupleElement; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client8.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client8.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client8.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client8.java index 354d022d7b..439f8bd195 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaBuilder/Client8.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaBuilder/Client8.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaBuilder; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaBuilder; import java.lang.System.Logger; @@ -22,8 +22,8 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Trim; -import com.sun.ts.tests.jpa.common.schema30.UtilTrimData; +import ee.jakarta.tck.persistence.common.schema30.Trim; +import ee.jakarta.tck.persistence.common.schema30.UtilTrimData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CriteriaBuilder; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaDelete/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaDelete/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaDelete/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaDelete/Client.java index 9cc6ac5460..05accf8b8d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaDelete/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaDelete/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaDelete; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaDelete; import java.lang.System.Logger; import java.util.ArrayList; @@ -24,9 +24,9 @@ import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.schema30.Product; -import com.sun.ts.tests.jpa.common.schema30.SoftwareProduct; -import com.sun.ts.tests.jpa.common.schema30.UtilProductData; +import ee.jakarta.tck.persistence.common.schema30.Product; +import ee.jakarta.tck.persistence.common.schema30.SoftwareProduct; +import ee.jakarta.tck.persistence.common.schema30.UtilProductData; import jakarta.persistence.Query; import jakarta.persistence.criteria.CriteriaBuilder; @@ -115,7 +115,7 @@ public void fromEntityTypeTest() throws Exception { CriteriaDelete cd = cbuilder.createCriteriaDelete(Product.class); Metamodel mm = getEntityManager().getMetamodel(); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); Root root = cd.from(Product_); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/A.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/A.java index e4670ae348..7ed13c71bf 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaQuery; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaQuery; import java.lang.System.Logger; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client1.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client1.java index 2eb9a00c01..eccd0eef01 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaQuery; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaQuery; import java.lang.System.Logger; import java.util.ArrayList; @@ -26,12 +26,12 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Address_; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.Order_; -import com.sun.ts.tests.jpa.common.schema30.UtilOrderData; +import ee.jakarta.tck.persistence.common.schema30.Address_; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.Order_; +import ee.jakarta.tck.persistence.common.schema30.UtilOrderData; import jakarta.persistence.Query; import jakarta.persistence.TypedQuery; @@ -344,7 +344,7 @@ public void fromGetParentPathTest() throws Exception { boolean pass1 = false; boolean pass2 = false; - String expected = "com.sun.ts.tests.jpa.common.schema30.Order"; + String expected = "ee.jakarta.tck.persistence.common.schema30.Order"; CriteriaBuilder cbuilder = getEntityManager().getCriteriaBuilder(); try { @@ -472,7 +472,7 @@ public void distinctNotSpecifiedTest() throws Exception { EntityType Order_ = order.getModel(); Metamodel mm = getEntityManager().getMetamodel(); - EntityType Customer_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Customer.class); + EntityType Customer_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Customer.class); cquery.select(order.get(Order_.getSingularAttribute("customer", Customer.class)) .get(Customer_.getSingularAttribute("id", String.class))); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client2.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client2.java index c67982dc96..e187799903 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaQuery; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaQuery; import java.lang.System.Logger; import java.util.ArrayList; @@ -24,8 +24,8 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.UtilAliasData; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.UtilAliasData; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CompoundSelection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client3.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client3.java index 7a40094501..e5edb277d5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaQuery; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaQuery; import java.lang.System.Logger; import java.math.BigDecimal; @@ -34,9 +34,9 @@ import com.sun.ts.lib.harness.SetupMethod; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.common.schema30.Country; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.UtilCustomerData; +import ee.jakarta.tck.persistence.common.schema30.Country; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.UtilCustomerData; import jakarta.persistence.Query; import jakarta.persistence.Tuple; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client4.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client4.java index bf3d48eb44..0cecdb8db6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client4.java @@ -14,16 +14,16 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaQuery; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaQuery; import java.lang.System.Logger; import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.UtilSetup; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.UtilSetup; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; @@ -165,7 +165,7 @@ public void fromGetModelTest() throws Exception { CriteriaBuilder cbuilder = getEntityManager().getCriteriaBuilder(); - String expected = "com.sun.ts.tests.jpa.common.schema30.Customer"; + String expected = "ee.jakarta.tck.persistence.common.schema30.Customer"; try { getEntityTransaction().begin(); CriteriaQuery cquery = cbuilder.createQuery(Customer.class); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client5.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client5.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client5.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client5.java index 042240388a..53dbe7a7a3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client5.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client5.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaQuery; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaQuery; import java.lang.System.Logger; import java.math.BigDecimal; @@ -29,7 +29,7 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Util; +import ee.jakarta.tck.persistence.common.schema30.Util; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client6.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client6.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client6.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client6.java index 92f7926b13..eb44973b02 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client6.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client6.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaQuery; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaQuery; import java.lang.System.Logger; import java.util.ArrayList; @@ -25,9 +25,9 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.HardwareProduct; -import com.sun.ts.tests.jpa.common.schema30.Product; -import com.sun.ts.tests.jpa.common.schema30.UtilProductData; +import ee.jakarta.tck.persistence.common.schema30.HardwareProduct; +import ee.jakarta.tck.persistence.common.schema30.Product; +import ee.jakarta.tck.persistence.common.schema30.UtilProductData; import jakarta.persistence.Query; import jakarta.persistence.criteria.CriteriaBuilder; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client7.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client7.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client7.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client7.java index 4c444f496a..c4ac522756 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaQuery/Client7.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaQuery/Client7.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaQuery; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaQuery; import java.lang.System.Logger; import java.util.ArrayList; @@ -24,9 +24,9 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Department; -import com.sun.ts.tests.jpa.common.schema30.Department_; -import com.sun.ts.tests.jpa.common.schema30.UtilDepartmentEmployeeData; +import ee.jakarta.tck.persistence.common.schema30.Department; +import ee.jakarta.tck.persistence.common.schema30.Department_; +import ee.jakarta.tck.persistence.common.schema30.UtilDepartmentEmployeeData; import jakarta.persistence.Query; import jakarta.persistence.criteria.CriteriaBuilder; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaUpdate/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaUpdate/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaUpdate/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaUpdate/Client.java index 12c294d025..610682bd06 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/CriteriaUpdate/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaUpdate/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.CriteriaUpdate; +package ee.jakarta.tck.persistence.core.criteriaapi.CriteriaUpdate; import java.lang.System.Logger; import java.util.ArrayList; @@ -23,9 +23,9 @@ import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.schema30.Product; -import com.sun.ts.tests.jpa.common.schema30.SoftwareProduct; -import com.sun.ts.tests.jpa.common.schema30.UtilProductData; +import ee.jakarta.tck.persistence.common.schema30.Product; +import ee.jakarta.tck.persistence.common.schema30.SoftwareProduct; +import ee.jakarta.tck.persistence.common.schema30.UtilProductData; import jakarta.persistence.Query; import jakarta.persistence.criteria.CriteriaBuilder; @@ -146,7 +146,7 @@ public void fromEntityTypeSetStringObjectTest() throws Exception { CriteriaUpdate cd = cbuilder.createCriteriaUpdate(Product.class); Metamodel mm = getEntityManager().getMetamodel(); - EntityType Product_ = mm.entity(com.sun.ts.tests.jpa.common.schema30.Product.class); + EntityType Product_ = mm.entity(ee.jakarta.tck.persistence.common.schema30.Product.class); Root root = cd.from(Product_); if (root != null) { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/From/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/From/Client1.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/From/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/From/Client1.java index 759fe40e44..b215fc0678 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/From/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/From/Client1.java @@ -14,15 +14,15 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.From; +package ee.jakarta.tck.persistence.core.criteriaapi.From; import java.lang.System.Logger; import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.UtilSetup; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.UtilSetup; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/From/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/From/Client2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/From/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/From/Client2.java index 2b54ac2d0e..a99ed8b020 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/From/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/From/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.From; +package ee.jakarta.tck.persistence.core.criteriaapi.From; import java.lang.System.Logger; import java.util.List; @@ -23,10 +23,10 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Address; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.UtilCustomerData; +import ee.jakarta.tck.persistence.common.schema30.Address; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.UtilCustomerData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CriteriaBuilder; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/From/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/From/Client3.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/From/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/From/Client3.java index cc8f71c5fb..c66964f03f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/From/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/From/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.From; +package ee.jakarta.tck.persistence.core.criteriaapi.From; import java.lang.System.Logger; import java.util.List; @@ -23,10 +23,10 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.UtilOrderData; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.UtilOrderData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CollectionJoin; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/From/Client4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/From/Client4.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/From/Client4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/From/Client4.java index aa4308d309..f8cb9e5c03 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/From/Client4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/From/Client4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.From; +package ee.jakarta.tck.persistence.core.criteriaapi.From; import java.lang.System.Logger; import java.util.ArrayList; @@ -24,10 +24,10 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Department; -import com.sun.ts.tests.jpa.common.schema30.Department_; -import com.sun.ts.tests.jpa.common.schema30.Employee; -import com.sun.ts.tests.jpa.common.schema30.UtilDepartmentEmployeeData; +import ee.jakarta.tck.persistence.common.schema30.Department; +import ee.jakarta.tck.persistence.common.schema30.Department_; +import ee.jakarta.tck.persistence.common.schema30.Employee; +import ee.jakarta.tck.persistence.common.schema30.UtilDepartmentEmployeeData; import jakarta.persistence.Tuple; import jakarta.persistence.TypedQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Join/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Join/Client1.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Join/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Join/Client1.java index 0a0c2b5176..983338e847 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Join/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Join/Client1.java @@ -14,20 +14,20 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.Join; +package ee.jakarta.tck.persistence.core.criteriaapi.Join; import java.lang.System.Logger; import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.Department; -import com.sun.ts.tests.jpa.common.schema30.Employee; -import com.sun.ts.tests.jpa.common.schema30.Employee_; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.UtilSetup; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.Department; +import ee.jakarta.tck.persistence.common.schema30.Employee; +import ee.jakarta.tck.persistence.common.schema30.Employee_; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.UtilSetup; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Join/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Join/Client2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Join/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Join/Client2.java index e8a512d8d3..5e1f0ad9c6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Join/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Join/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.Join; +package ee.jakarta.tck.persistence.core.criteriaapi.Join; import java.lang.System.Logger; import java.util.Iterator; @@ -25,13 +25,13 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.CreditCard; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.LineItem; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.Order_; -import com.sun.ts.tests.jpa.common.schema30.UtilOrderData; +import ee.jakarta.tck.persistence.common.schema30.CreditCard; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.LineItem; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.Order_; +import ee.jakarta.tck.persistence.common.schema30.UtilOrderData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CollectionJoin; @@ -984,12 +984,12 @@ public void pluralJoinTest() throws Exception { } From from = lineItem.getParent(); String parent = from.getJavaType().getName(); - if (parent.equals("com.sun.ts.tests.jpa.common.schema30.Order")) { + if (parent.equals("ee.jakarta.tck.persistence.common.schema30.Order")) { logger.log(Logger.Level.TRACE, "Received expected parent:" + parent); pass4 = true; } else { logger.log(Logger.Level.ERROR, - "Expected parent: com.sun.ts.tests.jpa.common.schema30.Order, actual:" + parent); + "Expected parent: ee.jakarta.tck.persistence.common.schema30.Order, actual:" + parent); } cquery.where(cbuilder.equal(lineItem.get("id"), "1")).select(customer); TypedQuery tquery = getEntityManager().createQuery(cquery); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Join/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Join/Client3.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Join/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Join/Client3.java index cb96b22b61..174f61341a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Join/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Join/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.Join; +package ee.jakarta.tck.persistence.core.criteriaapi.Join; import java.lang.System.Logger; import java.util.ArrayList; @@ -24,11 +24,11 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Department; -import com.sun.ts.tests.jpa.common.schema30.Department_; -import com.sun.ts.tests.jpa.common.schema30.Employee; -import com.sun.ts.tests.jpa.common.schema30.Employee_; -import com.sun.ts.tests.jpa.common.schema30.UtilDepartmentEmployeeData; +import ee.jakarta.tck.persistence.common.schema30.Department; +import ee.jakarta.tck.persistence.common.schema30.Department_; +import ee.jakarta.tck.persistence.common.schema30.Employee; +import ee.jakarta.tck.persistence.common.schema30.Employee_; +import ee.jakarta.tck.persistence.common.schema30.UtilDepartmentEmployeeData; import jakarta.persistence.Tuple; import jakarta.persistence.TypedQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Root/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Root/Client1.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Root/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Root/Client1.java index 440450b566..9620738ab1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Root/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Root/Client1.java @@ -14,15 +14,15 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.Root; +package ee.jakarta.tck.persistence.core.criteriaapi.Root; import java.lang.System.Logger; import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.UtilSetup; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.UtilSetup; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Root/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Root/Client2.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Root/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Root/Client2.java index 173c5844f6..4b1e85667e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Root/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Root/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.Root; +package ee.jakarta.tck.persistence.core.criteriaapi.Root; import java.lang.System.Logger; import java.util.List; @@ -23,10 +23,10 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Address; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.UtilCustomerData; +import ee.jakarta.tck.persistence.common.schema30.Address; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.UtilCustomerData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CriteriaBuilder; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Root/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Root/Client3.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Root/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Root/Client3.java index 45fe696cc3..2c9a025930 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Root/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Root/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.Root; +package ee.jakarta.tck.persistence.core.criteriaapi.Root; import java.lang.System.Logger; import java.util.List; @@ -23,10 +23,10 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.UtilOrderData; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.UtilOrderData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CollectionJoin; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Root/Client4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Root/Client4.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Root/Client4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Root/Client4.java index 1c905c0b09..407d4b908e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/Root/Client4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/Root/Client4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.Root; +package ee.jakarta.tck.persistence.core.criteriaapi.Root; import java.lang.System.Logger; import java.util.List; @@ -23,10 +23,10 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Department; -import com.sun.ts.tests.jpa.common.schema30.Department_; -import com.sun.ts.tests.jpa.common.schema30.Employee; -import com.sun.ts.tests.jpa.common.schema30.UtilDepartmentEmployeeData; +import ee.jakarta.tck.persistence.common.schema30.Department; +import ee.jakarta.tck.persistence.common.schema30.Department_; +import ee.jakarta.tck.persistence.common.schema30.Employee; +import ee.jakarta.tck.persistence.common.schema30.UtilDepartmentEmployeeData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CriteriaBuilder; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client1.java index 17ba74e324..36379b4e20 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.metamodelquery; +package ee.jakarta.tck.persistence.core.criteriaapi.metamodelquery; import java.lang.System.Logger; import java.util.Arrays; @@ -26,14 +26,14 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Address; -import com.sun.ts.tests.jpa.common.schema30.Address_; -import com.sun.ts.tests.jpa.common.schema30.Country_; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.Spouse; -import com.sun.ts.tests.jpa.common.schema30.Spouse_; -import com.sun.ts.tests.jpa.common.schema30.UtilCustomerData; +import ee.jakarta.tck.persistence.common.schema30.Address; +import ee.jakarta.tck.persistence.common.schema30.Address_; +import ee.jakarta.tck.persistence.common.schema30.Country_; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.Spouse; +import ee.jakarta.tck.persistence.common.schema30.Spouse_; +import ee.jakarta.tck.persistence.common.schema30.UtilCustomerData; import jakarta.persistence.NoResultException; import jakarta.persistence.TypedQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client2.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client2.java index 4ef909c91c..c9fdeb10dc 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.metamodelquery; +package ee.jakarta.tck.persistence.core.criteriaapi.metamodelquery; import java.lang.System.Logger; import java.util.Arrays; @@ -28,17 +28,17 @@ import com.sun.ts.lib.harness.SetupMethod; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.common.schema30.Address_; -import com.sun.ts.tests.jpa.common.schema30.CreditCard; -import com.sun.ts.tests.jpa.common.schema30.CreditCard_; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.LineItem; -import com.sun.ts.tests.jpa.common.schema30.LineItem_; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.Order_; -import com.sun.ts.tests.jpa.common.schema30.Product_; -import com.sun.ts.tests.jpa.common.schema30.UtilOrderData; +import ee.jakarta.tck.persistence.common.schema30.Address_; +import ee.jakarta.tck.persistence.common.schema30.CreditCard; +import ee.jakarta.tck.persistence.common.schema30.CreditCard_; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.LineItem; +import ee.jakarta.tck.persistence.common.schema30.LineItem_; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.Order_; +import ee.jakarta.tck.persistence.common.schema30.Product_; +import ee.jakarta.tck.persistence.common.schema30.UtilOrderData; import jakarta.persistence.Tuple; import jakarta.persistence.TypedQuery; @@ -3266,11 +3266,11 @@ public void subQueryDistinctTest() throws Exception { for (Root r : s) { pass4 = true; name = r.getJavaType().getName(); - if (name.equals("com.sun.ts.tests.jpa.common.schema30.LineItem")) { + if (name.equals("ee.jakarta.tck.persistence.common.schema30.LineItem")) { logger.log(Logger.Level.TRACE, "Received expected root:" + name); } else { logger.log(Logger.Level.ERROR, - "Expected Root: com.sun.ts.tests.jpa.common.schema30.LineItem, actual:" + name); + "Expected Root: ee.jakarta.tck.persistence.common.schema30.LineItem, actual:" + name); pass5 = false; } } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client3.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client3.java index 99faf44c8b..8ac3e1254a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.metamodelquery; +package ee.jakarta.tck.persistence.core.criteriaapi.metamodelquery; import java.lang.System.Logger; import java.util.Arrays; @@ -25,11 +25,11 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Alias; -import com.sun.ts.tests.jpa.common.schema30.Alias_; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.UtilAliasData; +import ee.jakarta.tck.persistence.common.schema30.Alias; +import ee.jakarta.tck.persistence.common.schema30.Alias_; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.UtilAliasData; import jakarta.persistence.Tuple; import jakarta.persistence.TypedQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client4.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client4.java index cffa737553..50bbebea62 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.metamodelquery; +package ee.jakarta.tck.persistence.core.criteriaapi.metamodelquery; import java.lang.System.Logger; import java.sql.Date; @@ -26,10 +26,10 @@ import com.sun.ts.lib.harness.SetupMethod; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.common.schema30.Product; -import com.sun.ts.tests.jpa.common.schema30.Product_; -import com.sun.ts.tests.jpa.common.schema30.ShelfLife_; -import com.sun.ts.tests.jpa.common.schema30.UtilProductData; +import ee.jakarta.tck.persistence.common.schema30.Product; +import ee.jakarta.tck.persistence.common.schema30.Product_; +import ee.jakarta.tck.persistence.common.schema30.ShelfLife_; +import ee.jakarta.tck.persistence.common.schema30.UtilProductData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CriteriaBuilder; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client5.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client5.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client5.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client5.java index da2addc96d..9f477ce0e9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client5.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client5.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.metamodelquery; +package ee.jakarta.tck.persistence.core.criteriaapi.metamodelquery; import java.lang.System.Logger; import java.util.List; @@ -24,9 +24,9 @@ import com.sun.ts.lib.harness.SetupMethod; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.common.schema30.Alias; -import com.sun.ts.tests.jpa.common.schema30.Alias_; -import com.sun.ts.tests.jpa.common.schema30.UtilAliasOnlyData; +import ee.jakarta.tck.persistence.common.schema30.Alias; +import ee.jakarta.tck.persistence.common.schema30.Alias_; +import ee.jakarta.tck.persistence.common.schema30.UtilAliasOnlyData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CriteriaBuilder; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client6.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client6.java similarity index 87% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client6.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client6.java index 0e23c39982..cee2336dc6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client6.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client6.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.metamodelquery; +package ee.jakarta.tck.persistence.core.criteriaapi.metamodelquery; import java.lang.System.Logger; import java.util.List; @@ -23,13 +23,13 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Address; -import com.sun.ts.tests.jpa.common.schema30.Address_; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.Phone; -import com.sun.ts.tests.jpa.common.schema30.Phone_; -import com.sun.ts.tests.jpa.common.schema30.UtilPhoneData; +import ee.jakarta.tck.persistence.common.schema30.Address; +import ee.jakarta.tck.persistence.common.schema30.Address_; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.Phone; +import ee.jakarta.tck.persistence.common.schema30.Phone_; +import ee.jakarta.tck.persistence.common.schema30.UtilPhoneData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CriteriaBuilder; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client7.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client7.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client7.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client7.java index 59c3b262c5..2c033118d9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/metamodelquery/Client7.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/metamodelquery/Client7.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.metamodelquery; +package ee.jakarta.tck.persistence.core.criteriaapi.metamodelquery; import java.lang.System.Logger; import java.util.Set; @@ -23,10 +23,10 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.UtilSetup; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.UtilSetup; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/misc/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/misc/Client1.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/misc/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/misc/Client1.java index 1057738f15..7443a5d710 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/misc/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/misc/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.misc; +package ee.jakarta.tck.persistence.core.criteriaapi.misc; import java.lang.System.Logger; import java.util.List; @@ -23,10 +23,10 @@ import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.UtilSetup; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.UtilSetup; import jakarta.persistence.Tuple; import jakarta.persistence.criteria.CriteriaBuilder; @@ -424,11 +424,11 @@ public void getSelection() throws Exception { } String javaName = _select.getJavaType().getName(); - if (javaName.equals("com.sun.ts.tests.jpa.common.schema30.Customer")) { + if (javaName.equals("ee.jakarta.tck.persistence.common.schema30.Customer")) { pass2 = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.common.schema30.Customer, actual:" + javaName); + "Expected: ee.jakarta.tck.persistence.common.schema30.Customer, actual:" + javaName); } } else { logger.log(Logger.Level.ERROR, "get Selection returned null"); @@ -608,7 +608,7 @@ public void getResultType() throws Exception { logger.log(Logger.Level.INFO, "Testing specific class return type"); - String expected = "com.sun.ts.tests.jpa.common.schema30.Customer"; + String expected = "ee.jakarta.tck.persistence.common.schema30.Customer"; CriteriaQuery cquery = qbuilder.createQuery(Customer.class); if (cquery != null) { Class resultType = cquery.getResultType(); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/misc/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/misc/Client2.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/misc/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/misc/Client2.java index 2eadb8846f..4d3e9fca17 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/misc/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/misc/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.misc; +package ee.jakarta.tck.persistence.core.criteriaapi.misc; import java.lang.System.Logger; import java.util.ArrayList; @@ -26,9 +26,9 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.UtilCustomerData; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.UtilCustomerData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CriteriaBuilder; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/misc/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/misc/Client3.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/misc/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/misc/Client3.java index e4bdf4c5f0..d23b7e215c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/misc/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/misc/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.misc; +package ee.jakarta.tck.persistence.core.criteriaapi.misc; import java.lang.System.Logger; import java.util.ArrayList; @@ -25,10 +25,10 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Customer_; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.UtilOrderData; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Customer_; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.UtilOrderData; import jakarta.persistence.Tuple; import jakarta.persistence.TypedQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/parameter/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/parameter/Client.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/parameter/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/parameter/Client.java index 2ac9fc5519..36d01ee2e2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/parameter/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/parameter/Client.java @@ -14,14 +14,14 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.parameter; +package ee.jakarta.tck.persistence.core.criteriaapi.parameter; import java.lang.System.Logger; import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.AfterEach; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public abstract class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/parameter/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/parameter/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/parameter/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/parameter/Client1.java index ca0c7f1225..6770bbfcf0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/parameter/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/parameter/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.parameter; +package ee.jakarta.tck.persistence.core.criteriaapi.parameter; import java.lang.System.Logger; import java.util.ArrayList; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/parameter/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/parameter/Client2.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/parameter/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/parameter/Client2.java index e31243509d..ba3f919136 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/parameter/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/parameter/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.parameter; +package ee.jakarta.tck.persistence.core.criteriaapi.parameter; import java.lang.System.Logger; import java.util.ArrayList; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/persistenceUtil/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/parameter/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/persistenceUtil/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/parameter/Employee.java index dd3995305f..d1ec155a30 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/persistenceUtil/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/parameter/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.persistenceUtil; +package ee.jakarta.tck.persistence.core.criteriaapi.parameter; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client1.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client1.java index a9a8d44189..61dbd22c14 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client1.java @@ -14,15 +14,15 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.strquery; +package ee.jakarta.tck.persistence.core.criteriaapi.strquery; import java.lang.System.Logger; import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.UtilSetup; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.UtilSetup; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client2.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client2.java index f9cdb1a349..68cac18c70 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.strquery; +package ee.jakarta.tck.persistence.core.criteriaapi.strquery; import java.lang.System.Logger; import java.util.Arrays; @@ -25,11 +25,11 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.CreditCard; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.LineItem; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.UtilOrderData; +import ee.jakarta.tck.persistence.common.schema30.CreditCard; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.LineItem; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.UtilOrderData; import jakarta.persistence.Tuple; import jakarta.persistence.TypedQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client3.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client3.java index cc3ea4199f..0e8eb402db 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.strquery; +package ee.jakarta.tck.persistence.core.criteriaapi.strquery; import java.lang.System.Logger; import java.util.Arrays; @@ -25,10 +25,10 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Address; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Spouse; -import com.sun.ts.tests.jpa.common.schema30.UtilCustomerData; +import ee.jakarta.tck.persistence.common.schema30.Address; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Spouse; +import ee.jakarta.tck.persistence.common.schema30.UtilCustomerData; import jakarta.persistence.NoResultException; import jakarta.persistence.TypedQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client4.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client4.java index dc3bccdaac..1e9e808704 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.strquery; +package ee.jakarta.tck.persistence.core.criteriaapi.strquery; import java.lang.System.Logger; import java.sql.Date; @@ -24,8 +24,8 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Product; -import com.sun.ts.tests.jpa.common.schema30.UtilProductData; +import ee.jakarta.tck.persistence.common.schema30.Product; +import ee.jakarta.tck.persistence.common.schema30.UtilProductData; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CriteriaBuilder; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client5.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client5.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client5.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client5.java index 754a0563b5..5f08c53392 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/strquery/Client5.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/strquery/Client5.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.strquery; +package ee.jakarta.tck.persistence.core.criteriaapi.strquery; import java.lang.System.Logger; import java.util.Arrays; @@ -26,9 +26,9 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Alias; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.UtilAliasData; +import ee.jakarta.tck.persistence.common.schema30.Alias; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.UtilAliasData; import jakarta.persistence.Tuple; import jakarta.persistence.TypedQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1a/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1a/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1a/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1a/Client.java index 91828be9e6..12f7f8017f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1a/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1a/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex1a; +package ee.jakarta.tck.persistence.core.derivedid.ex1a; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1a/DID1Dependent.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1a/DID1Dependent.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1a/DID1Dependent.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1a/DID1Dependent.java index 4370c10b49..8d8587ff13 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1a/DID1Dependent.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1a/DID1Dependent.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex1a; +package ee.jakarta.tck.persistence.core.derivedid.ex1a; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1a/DID1DependentId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1a/DID1DependentId.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1a/DID1DependentId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1a/DID1DependentId.java index f94ddee37d..851a144ab0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1a/DID1DependentId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1a/DID1DependentId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex1a; +package ee.jakarta.tck.persistence.core.derivedid.ex1a; /** * diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1a/DID1Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1a/DID1Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1a/DID1Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1a/DID1Employee.java index a637c717bb..00f0ee0881 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1a/DID1Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1a/DID1Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex1a; +package ee.jakarta.tck.persistence.core.derivedid.ex1a; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1b/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1b/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1b/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1b/Client.java index 50a57e5dde..2a4b21b06c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1b/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1b/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex1b; +package ee.jakarta.tck.persistence.core.derivedid.ex1b; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1b/DID1bDependent.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1b/DID1bDependent.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1b/DID1bDependent.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1b/DID1bDependent.java index f65544e656..cbfc3f5c2c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1b/DID1bDependent.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1b/DID1bDependent.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex1b; +package ee.jakarta.tck.persistence.core.derivedid.ex1b; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1b/DID1bDependentId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1b/DID1bDependentId.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1b/DID1bDependentId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1b/DID1bDependentId.java index 65c85a787f..1ca21532fa 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1b/DID1bDependentId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1b/DID1bDependentId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex1b; +package ee.jakarta.tck.persistence.core.derivedid.ex1b; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1b/DID1bEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1b/DID1bEmployee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1b/DID1bEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1b/DID1bEmployee.java index c9cff316ae..602d0ac87c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex1b/DID1bEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex1b/DID1bEmployee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex1b; +package ee.jakarta.tck.persistence.core.derivedid.ex1b; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/Client.java index e0c5fb82b7..74e93533b1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex2a; +package ee.jakarta.tck.persistence.core.derivedid.ex2a; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/DID2Dependent.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/DID2Dependent.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/DID2Dependent.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/DID2Dependent.java index c4dd4d75f8..48fdaf0a2f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/DID2Dependent.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/DID2Dependent.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex2a; +package ee.jakarta.tck.persistence.core.derivedid.ex2a; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/DID2DependentId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/DID2DependentId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/DID2DependentId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/DID2DependentId.java index a73456025e..565c5ef8cb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/DID2DependentId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/DID2DependentId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex2a; +package ee.jakarta.tck.persistence.core.derivedid.ex2a; /** * diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/DID2Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/DID2Employee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/DID2Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/DID2Employee.java index 1e69a160bb..52413bb9a4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/DID2Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/DID2Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex2a; +package ee.jakarta.tck.persistence.core.derivedid.ex2a; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/DID2EmployeeId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/DID2EmployeeId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/DID2EmployeeId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/DID2EmployeeId.java index f55ada7b60..e0b533da6c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2a/DID2EmployeeId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2a/DID2EmployeeId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex2a; +package ee.jakarta.tck.persistence.core.derivedid.ex2a; /** * diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/Client.java index a5b728b78e..ed42deb850 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex2b; +package ee.jakarta.tck.persistence.core.derivedid.ex2b; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/DID2bDependent.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/DID2bDependent.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/DID2bDependent.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/DID2bDependent.java index f4c89a7343..88e2dcd184 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/DID2bDependent.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/DID2bDependent.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex2b; +package ee.jakarta.tck.persistence.core.derivedid.ex2b; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/DID2bDependentId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/DID2bDependentId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/DID2bDependentId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/DID2bDependentId.java index 61a2231816..53192cf900 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/DID2bDependentId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/DID2bDependentId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex2b; +package ee.jakarta.tck.persistence.core.derivedid.ex2b; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/DID2bEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/DID2bEmployee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/DID2bEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/DID2bEmployee.java index e9412dedd9..68e751b4aa 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/DID2bEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/DID2bEmployee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex2b; +package ee.jakarta.tck.persistence.core.derivedid.ex2b; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/DID2bEmployeeId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/DID2bEmployeeId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/DID2bEmployeeId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/DID2bEmployeeId.java index d8a3b48470..d4abf7d661 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex2b/DID2bEmployeeId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex2b/DID2bEmployeeId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex2b; +package ee.jakarta.tck.persistence.core.derivedid.ex2b; /** * diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/Client.java index 31bd2faed0..98987409ed 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex3a; +package ee.jakarta.tck.persistence.core.derivedid.ex3a; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/DID3Dependent.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/DID3Dependent.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/DID3Dependent.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/DID3Dependent.java index 4094a4a852..9cf1ec4614 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/DID3Dependent.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/DID3Dependent.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex3a; +package ee.jakarta.tck.persistence.core.derivedid.ex3a; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/DID3DependentId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/DID3DependentId.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/DID3DependentId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/DID3DependentId.java index ff96700a9b..f98fef7fcb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/DID3DependentId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/DID3DependentId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex3a; +package ee.jakarta.tck.persistence.core.derivedid.ex3a; /** * diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/DID3Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/DID3Employee.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/DID3Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/DID3Employee.java index 451cda9508..3472c9e8ce 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/DID3Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/DID3Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex3a; +package ee.jakarta.tck.persistence.core.derivedid.ex3a; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/DID3EmployeeId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/DID3EmployeeId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/DID3EmployeeId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/DID3EmployeeId.java index 3c1aaa5212..24f0b8bd85 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3a/DID3EmployeeId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3a/DID3EmployeeId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex3a; +package ee.jakarta.tck.persistence.core.derivedid.ex3a; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/Client.java index 3667c5100b..7d2f63b0db 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex3b; +package ee.jakarta.tck.persistence.core.derivedid.ex3b; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/DID3bDependent.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/DID3bDependent.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/DID3bDependent.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/DID3bDependent.java index f5510527e7..1d4ca88230 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/DID3bDependent.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/DID3bDependent.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex3b; +package ee.jakarta.tck.persistence.core.derivedid.ex3b; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/DID3bDependentId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/DID3bDependentId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/DID3bDependentId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/DID3bDependentId.java index 657c26cb51..588f99c80f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/DID3bDependentId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/DID3bDependentId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex3b; +package ee.jakarta.tck.persistence.core.derivedid.ex3b; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/DID3bEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/DID3bEmployee.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/DID3bEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/DID3bEmployee.java index 6d180840e5..f932115b1c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/DID3bEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/DID3bEmployee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex3b; +package ee.jakarta.tck.persistence.core.derivedid.ex3b; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/DID3bEmployeeId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/DID3bEmployeeId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/DID3bEmployeeId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/DID3bEmployeeId.java index a099692576..5215541957 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex3b/DID3bEmployeeId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex3b/DID3bEmployeeId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex3b; +package ee.jakarta.tck.persistence.core.derivedid.ex3b; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4a/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4a/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4a/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4a/Client.java index 675387013c..55104a97f3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4a/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4a/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex4a; +package ee.jakarta.tck.persistence.core.derivedid.ex4a; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4a/DID4MedicalHistory.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4a/DID4MedicalHistory.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4a/DID4MedicalHistory.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4a/DID4MedicalHistory.java index f22960f3a2..a6325a0c32 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4a/DID4MedicalHistory.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4a/DID4MedicalHistory.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex4a; +package ee.jakarta.tck.persistence.core.derivedid.ex4a; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4a/DID4Person.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4a/DID4Person.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4a/DID4Person.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4a/DID4Person.java index 1f8757e2a1..88152dc027 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4a/DID4Person.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4a/DID4Person.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex4a; +package ee.jakarta.tck.persistence.core.derivedid.ex4a; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4b/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4b/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4b/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4b/Client.java index 7d53b808d4..1d5490fb23 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4b/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4b/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex4b; +package ee.jakarta.tck.persistence.core.derivedid.ex4b; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4b/DID4bMedicalHistory.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4b/DID4bMedicalHistory.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4b/DID4bMedicalHistory.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4b/DID4bMedicalHistory.java index 20f9367a73..a3ea6d5fc3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4b/DID4bMedicalHistory.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4b/DID4bMedicalHistory.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex4b; +package ee.jakarta.tck.persistence.core.derivedid.ex4b; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4b/DID4bPerson.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4b/DID4bPerson.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4b/DID4bPerson.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4b/DID4bPerson.java index f513cdd5e6..f138fb5bb7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex4b/DID4bPerson.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex4b/DID4bPerson.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex4b; +package ee.jakarta.tck.persistence.core.derivedid.ex4b; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5a/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5a/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5a/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5a/Client.java index 2fa3bf888a..e60c458c92 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5a/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5a/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex5a; +package ee.jakarta.tck.persistence.core.derivedid.ex5a; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5a/DID5MedicalHistory.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5a/DID5MedicalHistory.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5a/DID5MedicalHistory.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5a/DID5MedicalHistory.java index f2d73fa1a2..eff8feee4e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5a/DID5MedicalHistory.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5a/DID5MedicalHistory.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex5a; +package ee.jakarta.tck.persistence.core.derivedid.ex5a; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5a/DID5Person.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5a/DID5Person.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5a/DID5Person.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5a/DID5Person.java index 682edadf0c..51e8e89fc4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5a/DID5Person.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5a/DID5Person.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex5a; +package ee.jakarta.tck.persistence.core.derivedid.ex5a; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5a/DID5PersonId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5a/DID5PersonId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5a/DID5PersonId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5a/DID5PersonId.java index b311801f51..a8b1ff1e9a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5a/DID5PersonId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5a/DID5PersonId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex5a; +package ee.jakarta.tck.persistence.core.derivedid.ex5a; /** * diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5b/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5b/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5b/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5b/Client.java index f693c328da..8ba8033cb9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5b/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5b/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex5b; +package ee.jakarta.tck.persistence.core.derivedid.ex5b; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5b/DID5bMedicalHistory.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5b/DID5bMedicalHistory.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5b/DID5bMedicalHistory.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5b/DID5bMedicalHistory.java index 25465e5c72..6ada61174e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5b/DID5bMedicalHistory.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5b/DID5bMedicalHistory.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex5b; +package ee.jakarta.tck.persistence.core.derivedid.ex5b; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5b/DID5bPerson.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5b/DID5bPerson.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5b/DID5bPerson.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5b/DID5bPerson.java index 7ccd10f005..d39c6d074b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5b/DID5bPerson.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5b/DID5bPerson.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex5b; +package ee.jakarta.tck.persistence.core.derivedid.ex5b; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5b/DID5bPersonId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5b/DID5bPersonId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5b/DID5bPersonId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5b/DID5bPersonId.java index 7787dee190..8ecb52458f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex5b/DID5bPersonId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex5b/DID5bPersonId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex5b; +package ee.jakarta.tck.persistence.core.derivedid.ex5b; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6a/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6a/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6a/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6a/Client.java index bd7beed3bf..886031a278 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6a/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6a/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex6a; +package ee.jakarta.tck.persistence.core.derivedid.ex6a; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6a/DID6MedicalHistory.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6a/DID6MedicalHistory.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6a/DID6MedicalHistory.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6a/DID6MedicalHistory.java index 0cc1c73bf0..a030a6dc68 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6a/DID6MedicalHistory.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6a/DID6MedicalHistory.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex6a; +package ee.jakarta.tck.persistence.core.derivedid.ex6a; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6a/DID6Person.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6a/DID6Person.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6a/DID6Person.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6a/DID6Person.java index d5a77f8e55..7c0b619274 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6a/DID6Person.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6a/DID6Person.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex6a; +package ee.jakarta.tck.persistence.core.derivedid.ex6a; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6a/DID6PersonId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6a/DID6PersonId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6a/DID6PersonId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6a/DID6PersonId.java index 2dc24b13ba..ec9385854a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6a/DID6PersonId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6a/DID6PersonId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex6a; +package ee.jakarta.tck.persistence.core.derivedid.ex6a; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6b/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6b/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6b/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6b/Client.java index 199ca8f0b0..66b7ce7861 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6b/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6b/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex6b; +package ee.jakarta.tck.persistence.core.derivedid.ex6b; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6b/DID6bMedicalHistory.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6b/DID6bMedicalHistory.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6b/DID6bMedicalHistory.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6b/DID6bMedicalHistory.java index 93187c5fdd..85dfa854ec 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6b/DID6bMedicalHistory.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6b/DID6bMedicalHistory.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex6b; +package ee.jakarta.tck.persistence.core.derivedid.ex6b; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6b/DID6bPerson.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6b/DID6bPerson.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6b/DID6bPerson.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6b/DID6bPerson.java index 94c5c51b3f..1a888f9db8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6b/DID6bPerson.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6b/DID6bPerson.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex6b; +package ee.jakarta.tck.persistence.core.derivedid.ex6b; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6b/DID6bPersonId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6b/DID6bPersonId.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6b/DID6bPersonId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6b/DID6bPersonId.java index 4370856324..f443208049 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/derivedid/ex6b/DID6bPersonId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/derivedid/ex6b/DID6bPersonId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.derivedid.ex6b; +package ee.jakarta.tck.persistence.core.derivedid.ex6b; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Client1.java index 11e2a85a69..ae29bc4099 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManager; +package ee.jakarta.tck.persistence.core.entityManager; import java.lang.System.Logger; import java.util.ArrayList; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.CacheRetrieveMode; import jakarta.persistence.EntityManager; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Client2.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Client2.java index c578097e84..e17d8705d4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManager; +package ee.jakarta.tck.persistence.core.entityManager; import java.lang.System.Logger; import java.util.ArrayList; @@ -31,7 +31,7 @@ import com.sun.ts.lib.harness.CleanupMethod; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityExistsException; import jakarta.persistence.EntityNotFoundException; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Client3.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Client3.java index a87e02948e..5bcf44adcc 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManager; +package ee.jakarta.tck.persistence.core.entityManager; import java.lang.System.Logger; import java.util.ArrayList; @@ -29,7 +29,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.ParameterMode; import jakarta.persistence.StoredProcedureQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Employee.java index 1803cc8732..47c383b049 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManager; +package ee.jakarta.tck.persistence.core.entityManager; import java.util.Date; @@ -51,7 +51,7 @@ @StoredProcedureParameter(type = void.class, mode = ParameterMode.REF_CURSOR) }, resultSetMappings = "id-firstname-lastname") }) @SqlResultSetMappings({ @SqlResultSetMapping(name = "id-firstname-lastname", classes = { - @ConstructorResult(targetClass = com.sun.ts.tests.jpa.core.entityManager.Employee.class, columns = { + @ConstructorResult(targetClass = ee.jakarta.tck.persistence.core.entityManager.Employee.class, columns = { @ColumnResult(name = "ID"), @ColumnResult(name = "FIRSTNAME"), @ColumnResult(name = "LASTNAME") }) }) }) @Entity diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Order.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Order.java index 8a1c8ea1bd..7ff1c0a468 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManager; +package ee.jakarta.tck.persistence.core.entityManager; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/Client1.java index 24fb44ea65..2152d45337 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManager2; +package ee.jakarta.tck.persistence.core.entityManager2; import java.lang.System.Logger; import java.util.HashMap; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.LockModeType; import jakarta.persistence.Query; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/Client2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/Client2.java index 13d93f6455..06bd163ac4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManager2; +package ee.jakarta.tck.persistence.core.entityManager2; import java.lang.System.Logger; import java.util.HashMap; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.LockModeType; import jakarta.persistence.TransactionRequiredException; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/DoesNotExist.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/DoesNotExist.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/DoesNotExist.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/DoesNotExist.java index 4a560ccb0a..f4a8b9f340 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/DoesNotExist.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/DoesNotExist.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManager2; +package ee.jakarta.tck.persistence.core.entityManager2; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/Employee.java index 57f3064d0a..a957328434 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManager2; +package ee.jakarta.tck.persistence.core.entityManager2; import java.util.Date; @@ -51,7 +51,7 @@ @StoredProcedureParameter(type = void.class, mode = ParameterMode.REF_CURSOR) }, resultSetMappings = "id-firstname-lastname") }) @SqlResultSetMappings({ @SqlResultSetMapping(name = "id-firstname-lastname", classes = { - @ConstructorResult(targetClass = com.sun.ts.tests.jpa.core.entityManager2.Employee.class, columns = { + @ConstructorResult(targetClass = ee.jakarta.tck.persistence.core.entityManager2.Employee.class, columns = { @ColumnResult(name = "ID"), @ColumnResult(name = "FIRSTNAME"), @ColumnResult(name = "LASTNAME") }) }) }) @Entity diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManager/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/Order.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManager/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/Order.java index 376d7d60a8..0ba0d08446 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManager/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManager2/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.entityManager; +package ee.jakarta.tck.persistence.core.entityManager2; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Client1.java index d4a914011b..c1ac1e3e92 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManagerFactory; +package ee.jakarta.tck.persistence.core.entityManagerFactory; import java.lang.System.Logger; import java.util.ArrayList; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.FlushModeType; import jakarta.persistence.Query; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Client2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Client2.java index 465b08f02a..2b84268934 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManagerFactory; +package ee.jakarta.tck.persistence.core.entityManagerFactory; import java.lang.System.Logger; import java.util.Properties; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Client3.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Client3.java index 1d22b35851..2beefb765b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManagerFactory; +package ee.jakarta.tck.persistence.core.entityManagerFactory; import java.lang.System.Logger; import java.util.List; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.LockModeType; import jakarta.persistence.Query; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Member.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Member.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Member.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Member.java index 7ce484de10..852bc14011 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Member.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Member.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.entityManagerFactory; +package ee.jakarta.tck.persistence.core.entityManagerFactory; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Member_.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Member_.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Member_.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Member_.java index 87c3bf4eaa..297d1b853e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Member_.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Member_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.entityManagerFactory; +package ee.jakarta.tck.persistence.core.entityManagerFactory; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.SingularAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/entityManagerFactory/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Order.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/ee/entityManagerFactory/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Order.java index d86907b772..1f73281566 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/ee/entityManagerFactory/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.ee.entityManagerFactory; +package ee.jakarta.tck.persistence.core.entityManagerFactory; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Order_.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Order_.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Order_.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Order_.java index efd87a7407..39298ddca5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Order_.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactory/Order_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManagerFactory; +package ee.jakarta.tck.persistence.core.entityManagerFactory; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.SingularAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactoryCloseExceptions/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactoryCloseExceptions/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactoryCloseExceptions/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactoryCloseExceptions/Client.java index b45350d61b..d4149a29dd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactoryCloseExceptions/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityManagerFactoryCloseExceptions/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManagerFactoryCloseExceptions; +package ee.jakarta.tck.persistence.core.entityManagerFactoryCloseExceptions; import java.lang.System.Logger; import java.util.HashMap; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.CleanupMethod; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityTransaction/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityTransaction/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityTransaction/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityTransaction/Client.java index 8b263bab16..f162f56f5d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityTransaction/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entityTransaction/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityTransaction; +package ee.jakarta.tck.persistence.core.entityTransaction; import java.lang.System.Logger; import java.util.Properties; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityTransaction; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/Bar.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/Bar.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/Bar.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/Bar.java index c5bbf1ef4e..3e13142f70 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/Bar.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/Bar.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.apitests; +package ee.jakarta.tck.persistence.core.entitytest.apitests; public class Bar implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/Client.java index d8de4d47e2..614507a69c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.apitests; +package ee.jakarta.tck.persistence.core.entitytest.apitests; import java.lang.System.Logger; import java.util.List; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { @@ -545,7 +545,7 @@ public void entityAPITest15() throws Exception { getEntityTransaction().begin(); logger.log(Logger.Level.TRACE, "try same constructor expression query using createQuery"); result = getEntityManager().createQuery( - "Select NEW com.sun.ts.tests.jpa.core.entitytest.apitests.Coffee(c.id, c.brandName, c.price)" + "Select NEW ee.jakarta.tck.persistence.core.entitytest.apitests.Coffee(c.id, c.brandName, c.price)" + " from Coffee c where c.price <> 0") .getResultList(); @@ -590,7 +590,7 @@ public void entityAPITest16() throws Exception { logger.log(Logger.Level.TRACE, "Execute query in entityAPITest16"); result = getEntityManager().createQuery( - "Select NEW com.sun.ts.tests.jpa.core.entitytest.apitests.Bar(c.id, c.brandName, c.price)" + "Select NEW ee.jakarta.tck.persistence.core.entitytest.apitests.Bar(c.id, c.brandName, c.price)" + " from Coffee c where c.brandName = 'mocha'") .getResultList(); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/Coffee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/Coffee.java similarity index 87% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/Coffee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/Coffee.java index 34d26b6865..d532f07ce8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/Coffee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/Coffee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entitytest.apitests; +package ee.jakarta.tck.persistence.core.entitytest.apitests; import jakarta.persistence.Column; import jakarta.persistence.Entity; @@ -29,13 +29,13 @@ import jakarta.persistence.Table; @NamedNativeQueries({ - @NamedNativeQuery(name = "findAllSQLCoffees2", query = "select \"ID\", \"BRANDNAME\", \"PRICE\" from \"COFFEE\"", resultClass = com.sun.ts.tests.jpa.core.entitytest.apitests.Coffee.class), + @NamedNativeQuery(name = "findAllSQLCoffees2", query = "select \"ID\", \"BRANDNAME\", \"PRICE\" from \"COFFEE\"", resultClass = ee.jakarta.tck.persistence.core.entitytest.apitests.Coffee.class), @NamedNativeQuery(name = "findAllSQLCoffees", query = "select \"ID\", \"BRANDNAME\", \"PRICE\" from \"COFFEE\"", resultSetMapping = "CoffeeResult"), - @NamedNativeQuery(name = "xmlOverridesNamedNativeQuery", query = "select \"ID\", \"BRANDNAME\", \"PRICE\" from \"COFFEE\"", resultClass = com.sun.ts.tests.jpa.core.entitytest.apitests.Coffee.class) }) -@SqlResultSetMapping(name = "CoffeeResult", entities = @EntityResult(entityClass = com.sun.ts.tests.jpa.core.entitytest.apitests.Coffee.class)) + @NamedNativeQuery(name = "xmlOverridesNamedNativeQuery", query = "select \"ID\", \"BRANDNAME\", \"PRICE\" from \"COFFEE\"", resultClass = ee.jakarta.tck.persistence.core.entitytest.apitests.Coffee.class) }) +@SqlResultSetMapping(name = "CoffeeResult", entities = @EntityResult(entityClass = ee.jakarta.tck.persistence.core.entitytest.apitests.Coffee.class)) @NamedQueries({ @NamedQuery(name = "findAllCoffees", query = "Select c from Coffee c", lockMode = LockModeType.PESSIMISTIC_READ), - @NamedQuery(name = "findAllNewCoffees", query = "Select NEW com.sun.ts.tests.jpa.core.entitytest.apitests.Coffee(c.id, c.brandName, c.price) from Coffee c where c.price <> 0"), + @NamedQuery(name = "findAllNewCoffees", query = "Select NEW ee.jakarta.tck.persistence.core.entitytest.apitests.Coffee(c.id, c.brandName, c.price) from Coffee c where c.price <> 0"), @NamedQuery(name = "xmlOverridesNamedQuery", query = "Select c from Coffee c ") }) @Entity @Table(name = "COFFEE") diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/CoffeeMappedSC.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/CoffeeMappedSC.java similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/CoffeeMappedSC.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/CoffeeMappedSC.java index 34a8471b27..893bb493be 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/CoffeeMappedSC.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/CoffeeMappedSC.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entitytest.apitests; +package ee.jakarta.tck.persistence.core.entitytest.apitests; import jakarta.persistence.Column; import jakarta.persistence.MappedSuperclass; @@ -24,7 +24,7 @@ import jakarta.persistence.NamedQuery; @NamedNativeQueries({ - @NamedNativeQuery(name = "findDecafSQLCoffees", query = "Select c.\"ID\", c.\"BRANDNAME\", c.\"PRICE\" from \"COFFEE\" c where c.\"BRANDNAME\" like '%decaf%' ", resultClass = com.sun.ts.tests.jpa.core.entitytest.apitests.Coffee.class) }) + @NamedNativeQuery(name = "findDecafSQLCoffees", query = "Select c.\"ID\", c.\"BRANDNAME\", c.\"PRICE\" from \"COFFEE\" c where c.\"BRANDNAME\" like '%decaf%' ", resultClass = ee.jakarta.tck.persistence.core.entitytest.apitests.Coffee.class) }) @NamedQueries({ @NamedQuery(name = "findDecafCoffees", query = "Select c from Coffee c where c.brandName like '%decaf%'") }) diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/Foo.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/Foo.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/Foo.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/Foo.java index fb12174cec..7e3f9bae50 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/apitests/Foo.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/apitests/Foo.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.apitests; +package ee.jakarta.tck.persistence.core.entitytest.apitests; public class Foo implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/bigdecimal/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/bigdecimal/A.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/bigdecimal/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/bigdecimal/A.java index 05dfe36ff3..8995e4de80 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/bigdecimal/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/bigdecimal/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entitytest.bigdecimal; +package ee.jakarta.tck.persistence.core.entitytest.bigdecimal; import java.lang.System.Logger; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/bigdecimal/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/bigdecimal/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/bigdecimal/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/bigdecimal/Client.java index c68e8f7c04..70e0ada6ff 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/bigdecimal/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/bigdecimal/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entitytest.bigdecimal; +package ee.jakarta.tck.persistence.core.entitytest.bigdecimal; import java.lang.System.Logger; import java.math.BigDecimal; @@ -29,7 +29,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/biginteger/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/biginteger/A.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/biginteger/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/biginteger/A.java index c56f30e347..6530632f19 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/biginteger/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/biginteger/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entitytest.biginteger; +package ee.jakarta.tck.persistence.core.entitytest.biginteger; import java.lang.System.Logger; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/biginteger/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/biginteger/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/biginteger/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/biginteger/Client.java index 5e366bbe65..712a88d144 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/biginteger/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/biginteger/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entitytest.biginteger; +package ee.jakarta.tck.persistence.core.entitytest.biginteger; import java.lang.System.Logger; import java.math.BigDecimal; @@ -29,7 +29,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXmany/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXmany/A.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXmany/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXmany/A.java index 02ca1e2c49..c3a4becdcd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXmany/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXmany/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.cascadeall.manyXmany; +package ee.jakarta.tck.persistence.core.entitytest.cascadeall.manyXmany; import java.lang.System.Logger; import java.util.Collection; @@ -74,7 +74,7 @@ public A(String id, String name, int value, Collection bCol) { // =========================================================== // relationship fields - @ManyToMany(targetEntity = com.sun.ts.tests.jpa.core.entitytest.cascadeall.manyXmany.B.class, cascade = CascadeType.ALL, fetch = FetchType.EAGER) + @ManyToMany(targetEntity = ee.jakarta.tck.persistence.core.entitytest.cascadeall.manyXmany.B.class, cascade = CascadeType.ALL, fetch = FetchType.EAGER) @JoinTable(name = "FKEYS_MXM_BI_BTOB", joinColumns = @JoinColumn(name = "FK_FOR_AEJB_MXM_BI_BTOB", referencedColumnName = "ID"), inverseJoinColumns = @JoinColumn(name = "FK_FOR_BEJB_MXM_BI_BTOB", referencedColumnName = "ID")) protected Collection bCol = new java.util.ArrayList(); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXmany/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXmany/B.java similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXmany/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXmany/B.java index dd93923911..e479821160 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXmany/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXmany/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.cascadeall.manyXmany; +package ee.jakarta.tck.persistence.core.entitytest.cascadeall.manyXmany; import java.lang.System.Logger; import java.util.Collection; @@ -51,7 +51,7 @@ public class B implements java.io.Serializable { // =========================================================== // relationship fields - @ManyToMany(targetEntity = com.sun.ts.tests.jpa.core.entitytest.cascadeall.manyXmany.A.class, mappedBy = "bCol", cascade = CascadeType.ALL, fetch = FetchType.EAGER) + @ManyToMany(targetEntity = ee.jakarta.tck.persistence.core.entitytest.cascadeall.manyXmany.A.class, mappedBy = "bCol", cascade = CascadeType.ALL, fetch = FetchType.EAGER) protected Collection aCol = new java.util.ArrayList(); // =========================================================== diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXmany/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXmany/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXmany/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXmany/Client.java index a84dbf1ace..80180e310f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXmany/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXmany/Client.java @@ -17,7 +17,7 @@ /* * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.cascadeall.manyXmany; +package ee.jakarta.tck.persistence.core.entitytest.cascadeall.manyXmany; import java.lang.System.Logger; import java.util.Collection; @@ -29,7 +29,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXone/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXone/A.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXone/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXone/A.java index 0fbb9b02eb..a8c61b3d08 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXone/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXone/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.cascadeall.manyXone; +package ee.jakarta.tck.persistence.core.entitytest.cascadeall.manyXone; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXone/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXone/B.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXone/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXone/B.java index 662b73c3f6..2dcfe86168 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXone/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXone/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.cascadeall.manyXone; +package ee.jakarta.tck.persistence.core.entitytest.cascadeall.manyXone; import java.lang.System.Logger; @@ -50,7 +50,7 @@ public class B implements java.io.Serializable { // =========================================================== // relationship fields - @ManyToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.cascadeall.manyXone.A.class, cascade = CascadeType.ALL, optional = true) + @ManyToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.cascadeall.manyXone.A.class, cascade = CascadeType.ALL, optional = true) @JoinColumn(name = "FK_FOR_AEJB_MX1_UNI_BTOB") protected A a1; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXone/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXone/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXone/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXone/Client.java index bfd3748c61..bbfa075b00 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/manyXone/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/manyXone/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.cascadeall.manyXone; +package ee.jakarta.tck.persistence.core.entitytest.cascadeall.manyXone; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmany/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXmany/A.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmany/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXmany/A.java index 2de51299f7..12b6ac806c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmany/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXmany/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.persist.oneXmany; +package ee.jakarta.tck.persistence.core.entitytest.cascadeall.oneXmany; import java.lang.System.Logger; import java.util.Collection; @@ -73,7 +73,7 @@ public A(String id, String name, int value, Collection bCol) { // =========================================================== // relationship fields - @OneToMany(targetEntity = com.sun.ts.tests.jpa.core.entitytest.persist.oneXmany.B.class, cascade = CascadeType.PERSIST, mappedBy = "a1") + @OneToMany(targetEntity = ee.jakarta.tck.persistence.core.entitytest.cascadeall.oneXmany.B.class, cascade = CascadeType.ALL, mappedBy = "a1") protected Collection bCol = new java.util.ArrayList(); // ======================================================================= diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmany/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXmany/B.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmany/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXmany/B.java index 2bca02478d..e79bd11761 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmany/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXmany/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.persist.oneXmany; +package ee.jakarta.tck.persistence.core.entitytest.cascadeall.oneXmany; import java.lang.System.Logger; import java.util.Collection; @@ -52,7 +52,7 @@ public class B implements java.io.Serializable { // =========================================================== // relationship fields - @ManyToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.persist.oneXmany.A.class) + @ManyToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.cascadeall.oneXmany.A.class) @JoinColumn(name = "FK_FOR_AEJB_1XM_BI_BTOB", nullable = true) protected A a1; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXmany/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXmany/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXmany/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXmany/Client.java index 3655862ef9..8cc2f1dcc7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXmany/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXmany/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXmany; +package ee.jakarta.tck.persistence.core.entitytest.cascadeall.oneXmany; import java.lang.System.Logger; import java.util.Collection; @@ -30,7 +30,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXone/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXone/A.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXone/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXone/A.java index 0d97fa9cbc..7cd13b9e70 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXone/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXone/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXone; +package ee.jakarta.tck.persistence.core.entitytest.cascadeall.oneXone; import java.lang.System.Logger; @@ -69,7 +69,7 @@ public A(String id, String name, int value, B b1) { // =========================================================== // relationship fields - @OneToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXone.B.class, mappedBy = "a1", orphanRemoval = true) + @OneToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.cascadeall.oneXone.B.class, mappedBy = "a1", orphanRemoval = true) protected B b1; // ======================================================================= diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXone/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXone/B.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXone/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXone/B.java index ae66985c83..094bb8e36c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXone/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXone/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXone; +package ee.jakarta.tck.persistence.core.entitytest.cascadeall.oneXone; import java.lang.System.Logger; @@ -50,7 +50,7 @@ public class B implements java.io.Serializable { // =========================================================== // relationship fields - @OneToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXone.A.class, cascade = CascadeType.ALL, optional = true, orphanRemoval = true) + @OneToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.cascadeall.oneXone.A.class, cascade = CascadeType.ALL, optional = true, orphanRemoval = true) @JoinColumn(name = "FK_FOR_AEJB_1X1_BI_BTOB") protected A a1; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXone/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXone/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXone/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXone/Client.java index 295c24f915..3859fc5f47 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXone/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/cascadeall/oneXone/Client.java @@ -17,7 +17,7 @@ /* * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXone; +package ee.jakarta.tck.persistence.core.entitytest.cascadeall.oneXone; import java.lang.System.Logger; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/basic/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/basic/A.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/basic/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/basic/A.java index 1542e6a238..b94af6c4b0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/basic/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/basic/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.detach.basic; +package ee.jakarta.tck.persistence.core.entitytest.detach.basic; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/basic/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/basic/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/basic/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/basic/Client.java index 6ab27de66e..206049112b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/basic/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/basic/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.detach.basic; +package ee.jakarta.tck.persistence.core.entitytest.detach.basic; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXmany/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXmany/A.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXmany/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXmany/A.java index b91ca61b22..08a5e17b83 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXmany/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXmany/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.detach.manyXmany; +package ee.jakarta.tck.persistence.core.entitytest.detach.manyXmany; import java.lang.System.Logger; import java.util.Collection; @@ -73,7 +73,7 @@ public A(String id, String name, int value, Collection bCol) { // =========================================================== // relationship fields - @ManyToMany(targetEntity = com.sun.ts.tests.jpa.core.entitytest.detach.manyXmany.B.class, cascade = { + @ManyToMany(targetEntity = ee.jakarta.tck.persistence.core.entitytest.detach.manyXmany.B.class, cascade = { CascadeType.PERSIST, CascadeType.MERGE, CascadeType.REMOVE, CascadeType.REFRESH }) @JoinTable(name = "FKEYS_MXM_BI_BTOB", joinColumns = @JoinColumn(name = "FK_FOR_AEJB_MXM_BI_BTOB", referencedColumnName = "ID"), inverseJoinColumns = @JoinColumn(name = "FK_FOR_BEJB_MXM_BI_BTOB", referencedColumnName = "ID")) protected Collection bCol = new java.util.ArrayList(); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXmany/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXmany/B.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXmany/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXmany/B.java index f9cace82b8..c436e26579 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXmany/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXmany/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.detach.manyXmany; +package ee.jakarta.tck.persistence.core.entitytest.detach.manyXmany; import java.lang.System.Logger; import java.util.Collection; @@ -50,7 +50,7 @@ public class B implements java.io.Serializable { // =========================================================== // relationship fields - @ManyToMany(targetEntity = com.sun.ts.tests.jpa.core.entitytest.detach.manyXmany.A.class, cascade = { + @ManyToMany(targetEntity = ee.jakarta.tck.persistence.core.entitytest.detach.manyXmany.A.class, cascade = { CascadeType.PERSIST, CascadeType.MERGE, CascadeType.REMOVE, CascadeType.REFRESH }, mappedBy = "bCol") protected Collection aCol = new java.util.ArrayList(); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXmany/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXmany/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXmany/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXmany/Client.java index 5b7947243f..8eae68dcea 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXmany/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXmany/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.detach.manyXmany; +package ee.jakarta.tck.persistence.core.entitytest.detach.manyXmany; import java.lang.System.Logger; import java.util.Collection; @@ -29,7 +29,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXone/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXone/A.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXone/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXone/A.java index 643940c08b..1c863b5179 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXone/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXone/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.persist.manyXone; +package ee.jakarta.tck.persistence.core.entitytest.detach.manyXone; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXone/B.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXone/B.java index a1a1656a81..a9e33bea3f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXone/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.detach.manyXone; +package ee.jakarta.tck.persistence.core.entitytest.detach.manyXone; import java.lang.System.Logger; @@ -50,7 +50,7 @@ public class B implements java.io.Serializable { // ========================================================== // relationship fields - @ManyToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.detach.manyXone.A.class, cascade = { + @ManyToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.detach.manyXone.A.class, cascade = { CascadeType.PERSIST, CascadeType.MERGE, CascadeType.REFRESH }) @JoinColumn(name = "FK_FOR_AEJB_MX1_UNI_BTOB") protected A a1; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXone/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXone/Client.java index faf4cbd475..8ecf42c087 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/manyXone/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.detach.manyXone; +package ee.jakarta.tck.persistence.core.entitytest.detach.manyXone; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityExistsException; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXmany/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXmany/A.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXmany/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXmany/A.java index eadb4315dd..9a929c306f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXmany/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXmany/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.detach.oneXmany; +package ee.jakarta.tck.persistence.core.entitytest.detach.oneXmany; import java.lang.System.Logger; import java.util.Collection; @@ -73,7 +73,7 @@ public A(String id, String name, int value, Collection bCol) { // =========================================================== // relationship fields - @OneToMany(targetEntity = com.sun.ts.tests.jpa.core.entitytest.detach.oneXmany.B.class, cascade = { + @OneToMany(targetEntity = ee.jakarta.tck.persistence.core.entitytest.detach.oneXmany.B.class, cascade = { CascadeType.PERSIST, CascadeType.MERGE, CascadeType.REMOVE, CascadeType.REFRESH }, mappedBy = "a1") protected Collection bCol = new java.util.ArrayList(); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXmany/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXmany/B.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXmany/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXmany/B.java index e77592611b..1b9ee885f6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXmany/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXmany/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.detach.oneXmany; +package ee.jakarta.tck.persistence.core.entitytest.detach.oneXmany; import java.lang.System.Logger; import java.util.Collection; @@ -52,7 +52,7 @@ public class B implements java.io.Serializable { // =========================================================== // relationship fields - @ManyToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.detach.oneXmany.A.class) + @ManyToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.detach.oneXmany.A.class) @JoinColumn(name = "FK_FOR_AEJB_1XM_BI_BTOB", nullable = true) protected A a1; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXmany/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXmany/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXmany/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXmany/Client.java index f2db6e99e7..12d6494308 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXmany/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXmany/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.detach.oneXmany; +package ee.jakarta.tck.persistence.core.entitytest.detach.oneXmany; import java.lang.System.Logger; import java.util.Collection; @@ -30,7 +30,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityExistsException; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXone/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXone/A.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXone/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXone/A.java index 0b23d7d06f..e76b2304b0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXone/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXone/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.persist.oneXone; +package ee.jakarta.tck.persistence.core.entitytest.detach.oneXone; import java.lang.System.Logger; @@ -69,7 +69,7 @@ public A(String id, String name, int value, B b1) { // =========================================================== // relationship fields - @OneToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.persist.oneXone.B.class, mappedBy = "a1") + @OneToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.detach.oneXone.B.class, mappedBy = "a1") protected B b1; // ======================================================================= diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXone/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXone/B.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXone/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXone/B.java index 28e2e4bf14..f9d772b8f9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXone/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXone/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.detach.oneXone; +package ee.jakarta.tck.persistence.core.entitytest.detach.oneXone; import java.lang.System.Logger; @@ -50,7 +50,7 @@ public class B implements java.io.Serializable { // =========================================================== // relationship fields - @OneToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.detach.oneXone.A.class, cascade = { + @OneToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.detach.oneXone.A.class, cascade = { CascadeType.PERSIST, CascadeType.MERGE, CascadeType.REMOVE, CascadeType.REFRESH }) @JoinColumn(name = "FK_FOR_AEJB_1X1_BI_BTOB") diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXone/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXone/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXone/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXone/Client.java index 8f0b8a54e1..50771cf6f3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXone/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/detach/oneXone/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.detach.oneXone; +package ee.jakarta.tck.persistence.core.entitytest.detach.oneXone; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityExistsException; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/basic/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/basic/A.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/basic/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/basic/A.java index 7f2fe712da..7be730f991 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/basic/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/basic/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.persist.basic; +package ee.jakarta.tck.persistence.core.entitytest.persist.basic; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/basic/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/basic/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/basic/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/basic/Client.java index 670dccff0a..3b6856579a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/basic/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/basic/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.persist.basic; +package ee.jakarta.tck.persistence.core.entitytest.persist.basic; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXmany/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXmany/A.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXmany/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXmany/A.java index 03f7907e52..2eaee203fd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXmany/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXmany/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.persist.manyXmany; +package ee.jakarta.tck.persistence.core.entitytest.persist.manyXmany; import java.lang.System.Logger; import java.util.Collection; @@ -73,7 +73,7 @@ public A(String id, String name, int value, Collection bCol) { // =========================================================== // relationship fields - @ManyToMany(targetEntity = com.sun.ts.tests.jpa.core.entitytest.persist.manyXmany.B.class, cascade = CascadeType.PERSIST) + @ManyToMany(targetEntity = ee.jakarta.tck.persistence.core.entitytest.persist.manyXmany.B.class, cascade = CascadeType.PERSIST) @JoinTable(name = "FKEYS_MXM_BI_BTOB", joinColumns = @JoinColumn(name = "FK_FOR_AEJB_MXM_BI_BTOB", referencedColumnName = "ID"), inverseJoinColumns = @JoinColumn(name = "FK_FOR_BEJB_MXM_BI_BTOB", referencedColumnName = "ID")) protected Collection bCol = new java.util.ArrayList(); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXmany/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXmany/B.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXmany/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXmany/B.java index 7cc919e9c5..9eeaa008b9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXmany/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXmany/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.persist.manyXmany; +package ee.jakarta.tck.persistence.core.entitytest.persist.manyXmany; import java.lang.System.Logger; import java.util.Collection; @@ -50,7 +50,7 @@ public class B implements java.io.Serializable { // =========================================================== // relationship fields - @ManyToMany(targetEntity = com.sun.ts.tests.jpa.core.entitytest.persist.manyXmany.A.class, cascade = CascadeType.PERSIST, mappedBy = "bCol") + @ManyToMany(targetEntity = ee.jakarta.tck.persistence.core.entitytest.persist.manyXmany.A.class, cascade = CascadeType.PERSIST, mappedBy = "bCol") protected Collection aCol = new java.util.ArrayList(); // =========================================================== diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXmany/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXmany/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXmany/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXmany/Client.java index c04a66f6cc..cf86c24963 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXmany/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXmany/Client.java @@ -17,7 +17,7 @@ /* * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.persist.manyXmany; +package ee.jakarta.tck.persistence.core.entitytest.persist.manyXmany; import java.lang.System.Logger; import java.util.Collection; @@ -29,7 +29,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXone/A.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXone/A.java index f77a9d70bd..281899d4d1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXone/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.detach.manyXone; +package ee.jakarta.tck.persistence.core.entitytest.persist.manyXone; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXone/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXone/B.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXone/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXone/B.java index 59f9b5ffbc..85897724c6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXone/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXone/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.persist.manyXone; +package ee.jakarta.tck.persistence.core.entitytest.persist.manyXone; import java.lang.System.Logger; @@ -50,7 +50,7 @@ public class B implements java.io.Serializable { // =========================================================== // relationship fields - @ManyToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.persist.manyXone.A.class, cascade = CascadeType.PERSIST) + @ManyToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.persist.manyXone.A.class, cascade = CascadeType.PERSIST) @JoinColumn(name = "FK_FOR_AEJB_MX1_UNI_BTOB") protected A a1; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXone/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXone/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXone/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXone/Client.java index e828bb9642..4cbf06bc58 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/manyXone/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/manyXone/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.persist.manyXone; +package ee.jakarta.tck.persistence.core.entitytest.persist.manyXone; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXmany/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXmany/A.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXmany/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXmany/A.java index 3319730f19..ba9f24c3a6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXmany/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXmany/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXmany; +package ee.jakarta.tck.persistence.core.entitytest.persist.oneXmany; import java.lang.System.Logger; import java.util.Collection; @@ -73,7 +73,7 @@ public A(String id, String name, int value, Collection bCol) { // =========================================================== // relationship fields - @OneToMany(targetEntity = com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXmany.B.class, cascade = CascadeType.ALL, mappedBy = "a1") + @OneToMany(targetEntity = ee.jakarta.tck.persistence.core.entitytest.persist.oneXmany.B.class, cascade = CascadeType.PERSIST, mappedBy = "a1") protected Collection bCol = new java.util.ArrayList(); // ======================================================================= diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXmany/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXmany/B.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXmany/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXmany/B.java index 5cdbba257d..32d445f189 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/cascadeall/oneXmany/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXmany/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXmany; +package ee.jakarta.tck.persistence.core.entitytest.persist.oneXmany; import java.lang.System.Logger; import java.util.Collection; @@ -52,7 +52,7 @@ public class B implements java.io.Serializable { // =========================================================== // relationship fields - @ManyToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXmany.A.class) + @ManyToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.persist.oneXmany.A.class) @JoinColumn(name = "FK_FOR_AEJB_1XM_BI_BTOB", nullable = true) protected A a1; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmany/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXmany/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmany/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXmany/Client.java index 33e80ab3d7..18e746cee4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmany/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXmany/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.persist.oneXmany; +package ee.jakarta.tck.persistence.core.entitytest.persist.oneXmany; import java.lang.System.Logger; import java.util.Collection; @@ -30,7 +30,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXone/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXone/A.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXone/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXone/A.java index 2d17576b99..2905eec962 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/detach/oneXone/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXone/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.detach.oneXone; +package ee.jakarta.tck.persistence.core.entitytest.persist.oneXone; import java.lang.System.Logger; @@ -69,7 +69,7 @@ public A(String id, String name, int value, B b1) { // =========================================================== // relationship fields - @OneToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.detach.oneXone.B.class, mappedBy = "a1") + @OneToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.persist.oneXone.B.class, mappedBy = "a1") protected B b1; // ======================================================================= diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXone/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXone/B.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXone/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXone/B.java index 1272c0992c..ea3a8ace7e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXone/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXone/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.persist.oneXone; +package ee.jakarta.tck.persistence.core.entitytest.persist.oneXone; import java.lang.System.Logger; @@ -51,7 +51,7 @@ public class B implements java.io.Serializable { // =========================================================== // relationship fields - @OneToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.persist.oneXone.A.class, cascade = CascadeType.PERSIST, fetch = FetchType.EAGER, orphanRemoval = true) + @OneToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.persist.oneXone.A.class, cascade = CascadeType.PERSIST, fetch = FetchType.EAGER, orphanRemoval = true) @JoinColumn(name = "FK_FOR_AEJB_1X1_BI_BTOB") protected A a1; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXone/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXone/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXone/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXone/Client.java index 1365f1a86b..99b3e927e7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXone/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/persist/oneXone/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.persist.oneXone; +package ee.jakarta.tck.persistence.core.entitytest.persist.oneXone; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/basic/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/basic/A.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/basic/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/basic/A.java index f9414862da..1b84255739 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/basic/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/basic/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.remove.basic; +package ee.jakarta.tck.persistence.core.entitytest.remove.basic; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/basic/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/basic/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/basic/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/basic/Client.java index 8255530268..5ab42241e6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/basic/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/basic/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.remove.basic; +package ee.jakarta.tck.persistence.core.entitytest.remove.basic; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXmany/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXmany/A.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXmany/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXmany/A.java index 6fb49c58cb..e1fa11ad56 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXmany/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXmany/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.remove.oneXmany; +package ee.jakarta.tck.persistence.core.entitytest.remove.oneXmany; import java.lang.System.Logger; import java.util.Collection; @@ -71,7 +71,7 @@ public A(String id, String name, int value, Collection bCol) { // =========================================================== // relationship fields - @OneToMany(targetEntity = com.sun.ts.tests.jpa.core.entitytest.remove.oneXmany.B.class, mappedBy = "a1", cascade = CascadeType.REMOVE) + @OneToMany(targetEntity = ee.jakarta.tck.persistence.core.entitytest.remove.oneXmany.B.class, mappedBy = "a1", cascade = CascadeType.REMOVE) protected Collection bCol = new java.util.ArrayList(); // ======================================================================= diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXmany/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXmany/B.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXmany/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXmany/B.java index c5c92757b3..4b9b478420 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXmany/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXmany/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.remove.oneXmany; +package ee.jakarta.tck.persistence.core.entitytest.remove.oneXmany; import java.lang.System.Logger; @@ -49,7 +49,7 @@ public class B implements java.io.Serializable { // =========================================================== // relationship fields - @ManyToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.remove.oneXmany.A.class) + @ManyToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.remove.oneXmany.A.class) @JoinColumn(name = "FK_FOR_AEJB_1XM_BI_BTOB") protected A a1; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXmany/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXmany/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXmany/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXmany/Client.java index 8f0ba268f3..ab79b401ef 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXmany/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXmany/Client.java @@ -18,7 +18,7 @@ * @(#)Client.java 1.5 06/02/14 */ -package com.sun.ts.tests.jpa.core.entitytest.remove.oneXmany; +package ee.jakarta.tck.persistence.core.entitytest.remove.oneXmany; import java.lang.System.Logger; import java.util.Collection; @@ -30,7 +30,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXone/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXone/A.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXone/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXone/A.java index b80f7e026d..99dbf0465e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXone/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXone/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.remove.oneXone; +package ee.jakarta.tck.persistence.core.entitytest.remove.oneXone; import java.lang.System.Logger; @@ -69,7 +69,7 @@ public A(String id, String name, int value, B b1) { // =========================================================== // relationship fields - @OneToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.remove.oneXone.B.class, mappedBy = "a1") + @OneToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.remove.oneXone.B.class, mappedBy = "a1") protected B b1; // ======================================================================= diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXone/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXone/B.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXone/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXone/B.java index 87db536fc3..073f2dbfde 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXone/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXone/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.remove.oneXone; +package ee.jakarta.tck.persistence.core.entitytest.remove.oneXone; import java.lang.System.Logger; @@ -50,7 +50,7 @@ public class B implements java.io.Serializable { // =========================================================== // relationship fields - @OneToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.remove.oneXone.A.class, cascade = CascadeType.REMOVE) + @OneToOne(targetEntity = ee.jakarta.tck.persistence.core.entitytest.remove.oneXone.A.class, cascade = CascadeType.REMOVE) @JoinColumn(name = "FK_FOR_AEJB_1X1_BI_BTOB") protected A a1; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXone/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXone/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXone/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXone/Client.java index 1b8b1f6030..0a55b98d9b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/remove/oneXone/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/entitytest/remove/oneXone/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.entitytest.remove.oneXone; +package ee.jakarta.tck.persistence.core.entitytest.remove.oneXone; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/enums/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/enums/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/enums/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/enums/Client.java index 89c943343f..d737c486d1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/enums/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/enums/Client.java @@ -18,7 +18,7 @@ * $Id: Client.java 63518 2011-09-16 11:36:26Z sdimilla $ */ -package com.sun.ts.tests.jpa.core.enums; +package ee.jakarta.tck.persistence.core.enums; import java.lang.System.Logger; import java.util.Arrays; @@ -29,7 +29,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.AccessType; import jakarta.persistence.CacheRetrieveMode; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/enums/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/enums/Order.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/enums/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/enums/Order.java index e8c0dec2eb..aa33309d9f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/enums/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/enums/Order.java @@ -18,7 +18,7 @@ * $Id: Order.java 62604 2011-04-21 15:04:28Z sdimilla $ */ -package com.sun.ts.tests.jpa.core.enums; +package ee.jakarta.tck.persistence.core.enums; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/exceptions/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/exceptions/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/exceptions/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/exceptions/Client.java index 70decd806c..122c441a9d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/exceptions/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/exceptions/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.exceptions; +package ee.jakarta.tck.persistence.core.exceptions; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityExistsException; import jakarta.persistence.EntityNotFoundException; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/exceptions/Coffee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/exceptions/Coffee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/exceptions/Coffee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/exceptions/Coffee.java index d79ee532c1..6add18b395 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/exceptions/Coffee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/exceptions/Coffee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.exceptions; +package ee.jakarta.tck.persistence.core.exceptions; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/AbstractPersonnel.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/AbstractPersonnel.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/AbstractPersonnel.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/AbstractPersonnel.java index 985edf763f..adc4904d18 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/AbstractPersonnel.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/AbstractPersonnel.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.mappedsc.descriptors; +package ee.jakarta.tck.persistence.core.inheritance.abstractentity; /* * AbstractPersonnel diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/Client.java index 1d8f59f62e..3c0f463350 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.abstractentity; +package ee.jakarta.tck.persistence.core.inheritance.abstractentity; import java.lang.System.Logger; import java.sql.Date; @@ -30,7 +30,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/Department.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/Department.java index 5ae764eb3d..d81873c07d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/Department.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.abstractentity; +package ee.jakarta.tck.persistence.core.inheritance.abstractentity; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/Employee.java index 926eaf287e..2ea23f5ded 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/Employee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.abstractentity; +package ee.jakarta.tck.persistence.core.inheritance.abstractentity; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/FullTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/FullTimeEmployee.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/FullTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/FullTimeEmployee.java index 2615536a07..48be4e9891 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/FullTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/FullTimeEmployee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.abstractentity; +package ee.jakarta.tck.persistence.core.inheritance.abstractentity; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/PartTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/PartTimeEmployee.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/PartTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/PartTimeEmployee.java index baaf0a9e33..cff051bc0c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/PartTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/PartTimeEmployee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.abstractentity; +package ee.jakarta.tck.persistence.core.inheritance.abstractentity; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/Project.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/Project.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/Project.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/Project.java index d8f283fbd3..58910db5cb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/Project.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/abstractentity/Project.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.abstractentity; +package ee.jakarta.tck.persistence.core.inheritance.abstractentity; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/AbstractPersonnel.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/AbstractPersonnel.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/AbstractPersonnel.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/AbstractPersonnel.java index 612a04ca1d..97a07dd1e4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/AbstractPersonnel.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/AbstractPersonnel.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.mappedsc.annotation; +package ee.jakarta.tck.persistence.core.inheritance.mappedsc.annotation; /* * AbstractPersonnel diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/Client.java index d617d03ca5..f11b006237 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.mappedsc.annotation; +package ee.jakarta.tck.persistence.core.inheritance.mappedsc.annotation; import java.lang.System.Logger; import java.sql.Date; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/Department.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/Department.java index 9ebf70df75..ca6f203c3b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/Department.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.mappedsc.annotation; +package ee.jakarta.tck.persistence.core.inheritance.mappedsc.annotation; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/Employee.java index 62e3c72c4f..b055db0c21 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/Employee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.mappedsc.annotation; +package ee.jakarta.tck.persistence.core.inheritance.mappedsc.annotation; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/FullTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/FullTimeEmployee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/FullTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/FullTimeEmployee.java index 2e2fd3a848..33b32356f3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/FullTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/FullTimeEmployee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.mappedsc.annotation; +package ee.jakarta.tck.persistence.core.inheritance.mappedsc.annotation; import java.io.Serializable; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/PartTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/PartTimeEmployee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/PartTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/PartTimeEmployee.java index 6037ad4543..d17b387b1c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/PartTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/PartTimeEmployee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.mappedsc.annotation; +package ee.jakarta.tck.persistence.core.inheritance.mappedsc.annotation; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/Project.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/Project.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/Project.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/Project.java index aa17c35c91..6c51197093 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/annotation/Project.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/annotation/Project.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.mappedsc.annotation; +package ee.jakarta.tck.persistence.core.inheritance.mappedsc.annotation; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/AbstractPersonnel.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/AbstractPersonnel.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/AbstractPersonnel.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/AbstractPersonnel.java index 26349fbe9b..7f099422e3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/abstractentity/AbstractPersonnel.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/AbstractPersonnel.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.abstractentity; +package ee.jakarta.tck.persistence.core.inheritance.mappedsc.descriptors; /* * AbstractPersonnel diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/Client.java index 44aadb964b..a8a994622b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.mappedsc.descriptors; +package ee.jakarta.tck.persistence.core.inheritance.mappedsc.descriptors; import java.lang.System.Logger; import java.sql.Date; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/Department.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/Department.java index 7601ba4f74..6927a33ff9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/Department.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.mappedsc.descriptors; +package ee.jakarta.tck.persistence.core.inheritance.mappedsc.descriptors; /* * Department diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/Employee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/Employee.java index 5518891f90..bf31a05dc8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/Employee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.mappedsc.descriptors; +package ee.jakarta.tck.persistence.core.inheritance.mappedsc.descriptors; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/FullTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/FullTimeEmployee.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/FullTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/FullTimeEmployee.java index 1f080f19b5..805f9da532 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/FullTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/FullTimeEmployee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.mappedsc.descriptors; +package ee.jakarta.tck.persistence.core.inheritance.mappedsc.descriptors; import java.io.Serializable; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/PartTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/PartTimeEmployee.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/PartTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/PartTimeEmployee.java index 89b3ed0e3e..7a0271510d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/PartTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/PartTimeEmployee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.mappedsc.descriptors; +package ee.jakarta.tck.persistence.core.inheritance.mappedsc.descriptors; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/Project.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/Project.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/Project.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/Project.java index 043b03cf8d..486aebd5ee 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/Project.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/Project.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.mappedsc.descriptors; +package ee.jakarta.tck.persistence.core.inheritance.mappedsc.descriptors; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Client.java index 3a181d1351..29782803c1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.nonentity; +package ee.jakarta.tck.persistence.core.inheritance.nonentity; import java.lang.System.Logger; import java.sql.Date; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Department.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Department.java index c78e38f728..c4be2268f1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Department.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.nonentity; +package ee.jakarta.tck.persistence.core.inheritance.nonentity; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Employee.java index 1ced7c63ba..66e215b80f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Employee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.nonentity; +package ee.jakarta.tck.persistence.core.inheritance.nonentity; import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorColumn; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/FTEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/FTEmployee.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/FTEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/FTEmployee.java index 29c69c558d..d1f999aca2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/FTEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/FTEmployee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.nonentity; +package ee.jakarta.tck.persistence.core.inheritance.nonentity; import java.lang.System.Logger; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/FullTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/FullTimeEmployee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/FullTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/FullTimeEmployee.java index 2353181d0a..fae701ed5b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/FullTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/FullTimeEmployee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.nonentity; +package ee.jakarta.tck.persistence.core.inheritance.nonentity; import java.lang.System.Logger; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/PartTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/PartTimeEmployee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/PartTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/PartTimeEmployee.java index 2b8841157c..e8ed267d2f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/PartTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/PartTimeEmployee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.nonentity; +package ee.jakarta.tck.persistence.core.inheritance.nonentity; import java.lang.System.Logger; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Personnel.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Personnel.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Personnel.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Personnel.java index 1ae3e8c149..d669dd0dd3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Personnel.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Personnel.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.nonentity; +package ee.jakarta.tck.persistence.core.inheritance.nonentity; /** * A non-entity super class (can be abstract or concrete) for entities. diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Project.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Project.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Project.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Project.java index b9b9f44c32..bf412250d2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/inheritance/nonentity/Project.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/inheritance/nonentity/Project.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.inheritance.nonentity; +package ee.jakarta.tck.persistence.core.inheritance.nonentity; import java.lang.System.Logger; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/entitymanager/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/entitymanager/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/entitymanager/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/entitymanager/Client.java index 90c722b747..d90e97c9da 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/entitymanager/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/entitymanager/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.lock.entitymanager; +package ee.jakarta.tck.persistence.core.lock.entitymanager; import java.lang.System.Logger; import java.util.HashMap; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.LockModeType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/entitymanager/Coffee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/entitymanager/Coffee.java similarity index 84% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/entitymanager/Coffee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/entitymanager/Coffee.java index d1a71eecae..e3aa16d896 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/entitymanager/Coffee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/entitymanager/Coffee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.lock.entitymanager; +package ee.jakarta.tck.persistence.core.lock.entitymanager; import jakarta.persistence.Column; import jakarta.persistence.Entity; @@ -28,11 +28,11 @@ import jakarta.persistence.Table; @NamedNativeQueries({ - @NamedNativeQuery(name = "findAllSQLCoffees2", query = "select * from COFFEE", resultClass = com.sun.ts.tests.jpa.core.lock.entitymanager.Coffee.class), + @NamedNativeQuery(name = "findAllSQLCoffees2", query = "select * from COFFEE", resultClass = ee.jakarta.tck.persistence.core.lock.entitymanager.Coffee.class), @NamedNativeQuery(name = "findAllSQLCoffees", query = "select * from COFFEE", resultSetMapping = "CoffeeResult") }) -@SqlResultSetMapping(name = "CoffeeResult", entities = @EntityResult(entityClass = com.sun.ts.tests.jpa.core.lock.entitymanager.Coffee.class)) +@SqlResultSetMapping(name = "CoffeeResult", entities = @EntityResult(entityClass = ee.jakarta.tck.persistence.core.lock.entitymanager.Coffee.class)) @NamedQueries({ @NamedQuery(name = "findAllCoffees", query = "Select Distinct c from Coffee c"), - @NamedQuery(name = "findAllNewCoffees", query = "Select NEW com.sun.ts.tests.jpa.core.lock.entitymanager.Coffee(c.id, c.brandName, c.price) from Coffee c where c.price <> 0") }) + @NamedQuery(name = "findAllNewCoffees", query = "Select NEW ee.jakarta.tck.persistence.core.lock.entitymanager.Coffee(c.id, c.brandName, c.price) from Coffee c where c.price <> 0") }) @Entity @Table(name = "COFFEE") public class Coffee implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/query/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/query/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/query/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/query/Client.java index 7d7b145865..b598f99c55 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/query/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/query/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.lock.query; +package ee.jakarta.tck.persistence.core.lock.query; import java.lang.System.Logger; import java.sql.Date; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManager; import jakarta.persistence.LockModeType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/query/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/query/Department.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/query/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/query/Department.java index 628c6f1495..e8974591b6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/query/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/query/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.lock.query; +package ee.jakarta.tck.persistence.core.lock.query; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/query/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/query/Employee.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/query/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/query/Employee.java index 535081f4f0..3d053fafbf 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/query/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/query/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.lock.query; +package ee.jakarta.tck.persistence.core.lock.query; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/query/Insurance.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/query/Insurance.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/query/Insurance.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/query/Insurance.java index 40f1f28307..f47712e246 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/lock/query/Insurance.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/lock/query/Insurance.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.lock.query; +package ee.jakarta.tck.persistence.core.lock.query; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/attribute/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/attribute/Client.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/attribute/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/attribute/Client.java index e29dc720bc..c75e4db7ce 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/attribute/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/attribute/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.attribute; +package ee.jakarta.tck.persistence.core.metamodelapi.attribute; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.Attribute; import jakarta.persistence.metamodel.ManagedType; @@ -75,7 +75,7 @@ public void getName() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeOrder = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.attribute.Order.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.attribute.Order.class); if (mTypeOrder != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); Attribute attrib = mTypeOrder.getDeclaredAttribute("total"); @@ -120,7 +120,7 @@ public void getPersistentAttributeType() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeOrder = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.attribute.Order.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.attribute.Order.class); if (mTypeOrder != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); Attribute attrib = mTypeOrder.getDeclaredAttribute("total"); @@ -163,7 +163,7 @@ public void getDeclaringType() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeOrder = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.attribute.Order.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.attribute.Order.class); if (mTypeOrder != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); Attribute attrib = mTypeOrder.getDeclaredAttribute("total"); @@ -172,12 +172,12 @@ public void getDeclaringType() throws Exception { ManagedType newTypeOrder = attrib.getDeclaringType(); if (newTypeOrder != null) { Class javaType = newTypeOrder.getJavaType(); - if (javaType.getName().equals("com.sun.ts.tests.jpa.core.metamodelapi.attribute.Order")) { + if (javaType.getName().equals("ee.jakarta.tck.persistence.core.metamodelapi.attribute.Order")) { logger.log(Logger.Level.TRACE, "Received expected result:" + javaType.getName()); pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.attribute.Order, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.attribute.Order, actual:" + javaType.getName()); } } @@ -209,7 +209,7 @@ public void getJavaType() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeOrder = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.attribute.Order.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.attribute.Order.class); if (mTypeOrder != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); Attribute attrib = mTypeOrder.getDeclaredAttribute("total"); @@ -250,7 +250,7 @@ public void getJavaMember() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeOrder = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.attribute.Order.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.attribute.Order.class); if (mTypeOrder != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); Attribute attrib = mTypeOrder.getDeclaredAttribute("total"); @@ -291,7 +291,7 @@ public void isAssociation() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeOrder = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.attribute.Order.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.attribute.Order.class); if (mTypeOrder != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); Attribute attrib = mTypeOrder.getDeclaredAttribute("total"); @@ -331,7 +331,7 @@ public void isCollection() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeOrder = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.attribute.Order.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.attribute.Order.class); if (mTypeOrder != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); Attribute attrib = mTypeOrder.getDeclaredAttribute("total"); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/attribute/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/attribute/Order.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/attribute/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/attribute/Order.java index 4786dd749d..8beb7b57e6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/attribute/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/attribute/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.attribute; +package ee.jakarta.tck.persistence.core.metamodelapi.attribute; import java.util.Collection; import java.util.Vector; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/basictype/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/basictype/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/basictype/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/basictype/Client.java index 790242dc6e..5dd757914a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/basictype/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/basictype/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.basictype; +package ee.jakarta.tck.persistence.core.metamodelapi.basictype; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.Attribute; import jakarta.persistence.metamodel.EntityType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/basictype/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/basictype/Order.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/basictype/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/basictype/Order.java index 21687babe4..4b3521f239 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/basictype/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/basictype/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.basictype; +package ee.jakarta.tck.persistence.core.metamodelapi.basictype; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/bindable/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/bindable/A.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/bindable/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/bindable/A.java index 0a2ed1bc64..051c89154e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/bindable/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/bindable/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.bindable; +package ee.jakarta.tck.persistence.core.metamodelapi.bindable; import java.lang.System.Logger; import java.util.HashSet; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/bindable/Address.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/bindable/Address.java index ce3da2226c..081838455b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/bindable/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.entitytype; +package ee.jakarta.tck.persistence.core.metamodelapi.bindable; import jakarta.persistence.Embeddable; import jakarta.persistence.Embedded; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/bindable/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/bindable/Client.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/bindable/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/bindable/Client.java index 6604dc9b02..ad125bbad4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/bindable/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/bindable/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.bindable; +package ee.jakarta.tck.persistence.core.metamodelapi.bindable; import java.lang.System.Logger; import java.util.Set; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.Bindable; import jakarta.persistence.metamodel.EntityType; @@ -122,7 +122,7 @@ public void getBindableJavaType() throws Exception { String bindableJavaType = eType.getBindableJavaType().getName(); if (bindableJavaType != null) { - if (bindableJavaType.equals("com.sun.ts.tests.jpa.core.metamodelapi.bindable.A")) { + if (bindableJavaType.equals("ee.jakarta.tck.persistence.core.metamodelapi.bindable.A")) { logger.log(Logger.Level.TRACE, "as Expected BindableJavaType for A is " + bindableJavaType); pass = true; } else { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/embeddabletype/ZipCode.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/bindable/ZipCode.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/embeddabletype/ZipCode.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/bindable/ZipCode.java index 304b75c970..c835ec248f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/embeddabletype/ZipCode.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/bindable/ZipCode.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.embeddabletype; +package ee.jakarta.tck.persistence.core.metamodelapi.bindable; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/collectionattribute/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/collectionattribute/Client.java similarity index 89% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/collectionattribute/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/collectionattribute/Client.java index 0fc8b7eaf9..0ee73b4dd9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/collectionattribute/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/collectionattribute/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.collectionattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.collectionattribute; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.CollectionAttribute; import jakarta.persistence.metamodel.ManagedType; @@ -75,11 +75,11 @@ public void getCollectionType() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mType = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.collectionattribute.Uni1XMPerson.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.collectionattribute.Uni1XMPerson.class); if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); CollectionAttribute colAttrib = mType.getCollection("projects", - com.sun.ts.tests.jpa.core.metamodelapi.collectionattribute.Uni1XMProject.class); + ee.jakarta.tck.persistence.core.metamodelapi.collectionattribute.Uni1XMProject.class); PluralAttribute.CollectionType pluralColType = colAttrib.getCollectionType(); logger.log(Logger.Level.TRACE, "collection Type = " + colAttrib.getCollectionType()); @@ -122,17 +122,17 @@ public void getElementType() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mType = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.collectionattribute.Uni1XMPerson.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.collectionattribute.Uni1XMPerson.class); if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); CollectionAttribute colAttrib = mType.getCollection("projects", - com.sun.ts.tests.jpa.core.metamodelapi.collectionattribute.Uni1XMProject.class); + ee.jakarta.tck.persistence.core.metamodelapi.collectionattribute.Uni1XMProject.class); logger.log(Logger.Level.TRACE, "collection Element Type = " + colAttrib.getElementType().getJavaType().getName()); String elementTypeName = colAttrib.getElementType().getJavaType().getName(); if (elementTypeName - .equals("com.sun.ts.tests.jpa.core.metamodelapi.collectionattribute.Uni1XMProject")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.collectionattribute.Uni1XMProject")) { logger.log(Logger.Level.TRACE, "Received Expected Element type = " + elementTypeName); pass = true; } else { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/pluralattribute/Uni1XMPerson.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/collectionattribute/Uni1XMPerson.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/pluralattribute/Uni1XMPerson.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/collectionattribute/Uni1XMPerson.java index 7f8d1a628f..ce7a6d539a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/pluralattribute/Uni1XMPerson.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/collectionattribute/Uni1XMPerson.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.pluralattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.collectionattribute; import java.io.Serializable; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Uni1XMProject.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/collectionattribute/Uni1XMProject.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Uni1XMProject.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/collectionattribute/Uni1XMProject.java index 505bd9fd11..aff268e405 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Uni1XMProject.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/collectionattribute/Uni1XMProject.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.managedtype; +package ee.jakarta.tck.persistence.core.metamodelapi.collectionattribute; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/embeddabletype/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/embeddabletype/A.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/embeddabletype/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/embeddabletype/A.java index 8546fa626c..6bb2166592 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/embeddabletype/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/embeddabletype/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.embeddabletype; +package ee.jakarta.tck.persistence.core.metamodelapi.embeddabletype; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/embeddabletype/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/embeddabletype/Address.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/embeddabletype/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/embeddabletype/Address.java index 63edab941c..14678cb52a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/embeddabletype/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/embeddabletype/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.embeddabletype; +package ee.jakarta.tck.persistence.core.metamodelapi.embeddabletype; import java.util.ArrayList; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/embeddabletype/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/embeddabletype/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/embeddabletype/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/embeddabletype/Client.java index 703a1e4cfe..38a7409089 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/embeddabletype/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/embeddabletype/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.embeddabletype; +package ee.jakarta.tck.persistence.core.metamodelapi.embeddabletype; import java.lang.System.Logger; import java.util.ArrayList; @@ -29,7 +29,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.Attribute; import jakarta.persistence.metamodel.CollectionAttribute; diff --git a/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/embeddabletype/ZipCode.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/embeddabletype/ZipCode.java new file mode 100644 index 0000000000..243361ac20 --- /dev/null +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/embeddabletype/ZipCode.java @@ -0,0 +1,51 @@ +/* + * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v. 2.0, which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * This Source Code may also be made available under the following Secondary + * Licenses when the conditions for such availability set forth in the + * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, + * version 2 with the GNU Classpath Exception, which is available at + * https://www.gnu.org/software/classpath/license.html. + * + * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 + */ + +package ee.jakarta.tck.persistence.core.metamodelapi.embeddabletype; + +import jakarta.persistence.Embeddable; + +@Embeddable +public class ZipCode implements java.io.Serializable { + + protected String zip; + + protected String plusFour; + + public ZipCode() { + } + + public ZipCode(String zip, String plusFour) { + this.zip = zip; + this.plusFour = plusFour; + } + + public String getPlusFour() { + return plusFour; + } + + public void setPlusFour(String plusFour) { + this.plusFour = plusFour; + } + + public String getZip() { + return zip; + } + + public void setZip(String zip) { + this.zip = zip; + } +} diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/A.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/A.java index 9864596255..c19304f7a1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.entitytype; +package ee.jakarta.tck.persistence.core.metamodelapi.entitytype; import java.lang.System.Logger; import java.util.HashSet; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/Address.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/Address.java index c4e629cc91..6629a3d5d9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.identifiabletype; +package ee.jakarta.tck.persistence.core.metamodelapi.entitytype; import jakarta.persistence.Embeddable; import jakarta.persistence.Embedded; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/B.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/B.java index 57e370cb90..7436c08716 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/B.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.entitytype; +package ee.jakarta.tck.persistence.core.metamodelapi.entitytype; import jakarta.persistence.MappedSuperclass; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/Client.java index 7116ef2cde..3bc0ab06d3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.entitytype; +package ee.jakarta.tck.persistence.core.metamodelapi.entitytype; import java.lang.System.Logger; import java.util.Date; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.Bindable; import jakarta.persistence.metamodel.EntityType; @@ -519,7 +519,7 @@ public void getIdType() throws Exception { @Test public void getSupertype() throws Exception { boolean pass = false; - String expected = "com.sun.ts.tests.jpa.core.metamodelapi.entitytype.B"; + String expected = "ee.jakarta.tck.persistence.core.metamodelapi.entitytype.B"; getEntityTransaction().begin(); Metamodel metaModel = getEntityManager().getMetamodel(); @@ -726,7 +726,7 @@ public void hasVersionAttribute() throws Exception { public void getBindableJavaType() throws Exception { boolean pass = false; - String expected = "com.sun.ts.tests.jpa.core.metamodelapi.entitytype.A"; + String expected = "ee.jakarta.tck.persistence.core.metamodelapi.entitytype.A"; getEntityTransaction().begin(); Metamodel metaModel = getEntityManager().getMetamodel(); if (metaModel != null) { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/DID2Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/DID2Employee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/DID2Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/DID2Employee.java index 9443ad6867..90792b881b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/DID2Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/DID2Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.identifiabletype; +package ee.jakarta.tck.persistence.core.metamodelapi.entitytype; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/DID2EmployeeId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/DID2EmployeeId.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/DID2EmployeeId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/DID2EmployeeId.java index 77352a3296..5a1eae10c4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/DID2EmployeeId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/DID2EmployeeId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.identifiabletype; +package ee.jakarta.tck.persistence.core.metamodelapi.entitytype; /** * diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/ZipCode.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/ZipCode.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/ZipCode.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/ZipCode.java index 18936d6f78..0004c358ae 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/ZipCode.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/entitytype/ZipCode.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.identifiabletype; +package ee.jakarta.tck.persistence.core.metamodelapi.entitytype; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/A.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/A.java index d5587d1e32..92ea828586 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.identifiabletype; +package ee.jakarta.tck.persistence.core.metamodelapi.identifiabletype; import java.lang.System.Logger; import java.util.ArrayList; diff --git a/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/Address.java new file mode 100644 index 0000000000..c887272b32 --- /dev/null +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/Address.java @@ -0,0 +1,74 @@ +/* + * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v. 2.0, which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * This Source Code may also be made available under the following Secondary + * Licenses when the conditions for such availability set forth in the + * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, + * version 2 with the GNU Classpath Exception, which is available at + * https://www.gnu.org/software/classpath/license.html. + * + * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 + */ + +package ee.jakarta.tck.persistence.core.metamodelapi.identifiabletype; + +import jakarta.persistence.Embeddable; +import jakarta.persistence.Embedded; + +@Embeddable +public class Address implements java.io.Serializable { + + protected String street; + + protected String city; + + protected String state; + + @Embedded + protected ZipCode zipcode; + + public Address() { + } + + public Address(String street, String city, String state) { + this.street = street; + this.city = city; + this.state = state; + } + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + public String getStreet() { + return street; + } + + public void setStreet(String street) { + this.street = street; + } + + public ZipCode getZipCode() { + return zipcode; + } + + public void setZipCode(ZipCode zipcode) { + this.zipcode = zipcode; + } +} diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/B.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/B.java index cee7a53a7f..1d3a74ae66 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/B.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.identifiabletype; +package ee.jakarta.tck.persistence.core.metamodelapi.identifiabletype; import java.lang.System.Logger; import java.util.ArrayList; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/Client.java index 865cc444b6..485ca6c91d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/identifiabletype/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.identifiabletype; +package ee.jakarta.tck.persistence.core.metamodelapi.identifiabletype; import java.lang.System.Logger; import java.util.ArrayList; @@ -30,7 +30,7 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.Attribute; import jakarta.persistence.metamodel.CollectionAttribute; @@ -423,7 +423,7 @@ public void getDeclaredVersionIllegalArgumentException() throws Exception { @Test public void getSupertype() throws Exception { boolean pass = false; - String expected = "com.sun.ts.tests.jpa.core.metamodelapi.identifiabletype.B"; + String expected = "ee.jakarta.tck.persistence.core.metamodelapi.identifiabletype.B"; getEntityTransaction().begin(); Metamodel metaModel = getEntityManager().getMetamodel(); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/DID2Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/DID2Employee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/DID2Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/DID2Employee.java index 1dcb815b5e..c03fc77cd3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/DID2Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/DID2Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.entitytype; +package ee.jakarta.tck.persistence.core.metamodelapi.identifiabletype; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/DID2EmployeeId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/DID2EmployeeId.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/DID2EmployeeId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/DID2EmployeeId.java index e9bd5978fa..888ffbb94d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/entitytype/DID2EmployeeId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/DID2EmployeeId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.entitytype; +package ee.jakarta.tck.persistence.core.metamodelapi.identifiabletype; /** * diff --git a/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/ZipCode.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/ZipCode.java new file mode 100644 index 0000000000..d8abd15552 --- /dev/null +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/identifiabletype/ZipCode.java @@ -0,0 +1,51 @@ +/* + * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v. 2.0, which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * This Source Code may also be made available under the following Secondary + * Licenses when the conditions for such availability set forth in the + * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, + * version 2 with the GNU Classpath Exception, which is available at + * https://www.gnu.org/software/classpath/license.html. + * + * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 + */ + +package ee.jakarta.tck.persistence.core.metamodelapi.identifiabletype; + +import jakarta.persistence.Embeddable; + +@Embeddable +public class ZipCode implements java.io.Serializable { + + protected String zip; + + protected String plusFour; + + public ZipCode() { + } + + public ZipCode(String zip, String plusFour) { + this.zip = zip; + this.plusFour = plusFour; + } + + public String getPlusFour() { + return plusFour; + } + + public void setPlusFour(String plusFour) { + this.plusFour = plusFour; + } + + public String getZip() { + return zip; + } + + public void setZip(String zip) { + this.zip = zip; + } +} diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/listattribute/BiDirMX1Person.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/listattribute/BiDirMX1Person.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/listattribute/BiDirMX1Person.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/listattribute/BiDirMX1Person.java index c8c6d824c1..5511ac1877 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/listattribute/BiDirMX1Person.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/listattribute/BiDirMX1Person.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.listattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.listattribute; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/listattribute/BiDirMX1Project.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/listattribute/BiDirMX1Project.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/listattribute/BiDirMX1Project.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/listattribute/BiDirMX1Project.java index 1e40d33054..2d8a21d86b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/listattribute/BiDirMX1Project.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/listattribute/BiDirMX1Project.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.listattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.listattribute; import java.io.Serializable; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/listattribute/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/listattribute/Client.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/listattribute/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/listattribute/Client.java index 78640980af..f4313bc6ec 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/listattribute/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/listattribute/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.listattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.listattribute; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.ListAttribute; import jakarta.persistence.metamodel.ManagedType; @@ -84,7 +84,7 @@ public void getList() throws Exception { if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); String name = t.getJavaType().getName(); - if (name.equals("com.sun.ts.tests.jpa.core.metamodelapi.listattribute.BiDirMX1Person")) { + if (name.equals("ee.jakarta.tck.persistence.core.metamodelapi.listattribute.BiDirMX1Person")) { pass = true; } else { logger.log(Logger.Level.ERROR, "Expected: BiDirMX1Person, actual:" + name); @@ -179,7 +179,7 @@ public void getDeclaredList() throws Exception { if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); String name = t.getJavaType().getName(); - if (name.equals("com.sun.ts.tests.jpa.core.metamodelapi.listattribute.BiDirMX1Person")) { + if (name.equals("ee.jakarta.tck.persistence.core.metamodelapi.listattribute.BiDirMX1Person")) { pass = true; } else { logger.log(Logger.Level.ERROR, "Expected: BiDirMX1Person, actual:" + name); @@ -222,7 +222,7 @@ public void getList2() throws Exception { if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); String name = t.getJavaType().getName(); - if (name.equals("com.sun.ts.tests.jpa.core.metamodelapi.listattribute.BiDirMX1Person")) { + if (name.equals("ee.jakarta.tck.persistence.core.metamodelapi.listattribute.BiDirMX1Person")) { pass = true; } else { logger.log(Logger.Level.ERROR, "Expected: BiDirMX1Person, actual:" + name); @@ -265,7 +265,7 @@ public void getDeclaredList2() throws Exception { if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); String name = t.getJavaType().getName(); - if (name.equals("com.sun.ts.tests.jpa.core.metamodelapi.listattribute.BiDirMX1Person")) { + if (name.equals("ee.jakarta.tck.persistence.core.metamodelapi.listattribute.BiDirMX1Person")) { pass = true; } else { logger.log(Logger.Level.ERROR, "Expected: BiDirMX1Person, actual:" + name); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/A.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/A.java index ae2f147836..0ba99c30e1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.setattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.managedtype; import java.lang.System.Logger; import java.util.HashSet; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Address.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Address.java index 12a94a4353..ba0f9949f5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.singularattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.managedtype; import jakarta.persistence.Embeddable; import jakarta.persistence.Embedded; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/B.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/B.java index adc77cca72..985ab0139b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/B.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.singularattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.managedtype; import jakarta.persistence.Basic; import jakarta.persistence.Embedded; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/BiDirMX1Person.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/BiDirMX1Person.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/BiDirMX1Person.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/BiDirMX1Person.java index 51a071f8f2..b5f4da7d64 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/BiDirMX1Person.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/BiDirMX1Person.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.managedtype; +package ee.jakarta.tck.persistence.core.metamodelapi.managedtype; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/BiDirMX1Project.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/BiDirMX1Project.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/BiDirMX1Project.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/BiDirMX1Project.java index 6323392ee8..39150bd2e3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/BiDirMX1Project.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/BiDirMX1Project.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.managedtype; +package ee.jakarta.tck.persistence.core.metamodelapi.managedtype; import java.io.Serializable; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Client.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Client.java index 972eff7ff9..149b5ed0f3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.managedtype; +package ee.jakarta.tck.persistence.core.metamodelapi.managedtype; import java.lang.System.Logger; import java.util.ArrayList; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.Attribute; import jakarta.persistence.metamodel.CollectionAttribute; @@ -251,14 +251,14 @@ public void getSingularAttributeStringClassTest() throws Exception { if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address.class); Class addrClass = singAttrib.getType().getJavaType(); - if (addrClass.getName().equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address")) { + if (addrClass.getName().equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address")) { logger.log(Logger.Level.TRACE, "address class getName =" + addrClass.getName()); pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address, actual:" + addrClass.getName()); } } else { @@ -300,7 +300,7 @@ public void getSingularAttributeStringClassIllegalArgumentExceptionTest() throws try { mTypeB.getSingularAttribute("doesnotexist", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -313,7 +313,7 @@ public void getSingularAttributeStringClassIllegalArgumentExceptionTest() throws try { mTypeB.getSingularAttribute("addreess", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.ZipCode.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.ZipCode.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -365,7 +365,7 @@ public void getSingularAttributeStringTest() throws Exception { logger.log(Logger.Level.TRACE, "singAttrib Type = " + singAttrib.getType()); logger.log(Logger.Level.TRACE, "singAttrib Java Type = " + singAttrib.getJavaType()); if (singAttrib.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address")) { pass = true; } else { logger.log(Logger.Level.ERROR, @@ -454,14 +454,14 @@ public void getDeclaredSingularAttributeStringClassTest() throws Exception { if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address.class); Class addrClass = singAttrib.getType().getJavaType(); - if (addrClass.getName().equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address")) { + if (addrClass.getName().equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address")) { logger.log(Logger.Level.TRACE, "address class getName =" + addrClass.getName()); pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address, actual:" + addrClass.getName()); } } else { @@ -503,7 +503,7 @@ public void getDeclaredSingularAttributeStringClassIllegalArgumentExceptionTest( logger.log(Logger.Level.INFO, "Testing invalid name"); try { mTypeB.getDeclaredSingularAttribute("doesnotexist", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -517,7 +517,7 @@ public void getDeclaredSingularAttributeStringClassIllegalArgumentExceptionTest( try { mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.ZipCode.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.ZipCode.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -569,11 +569,11 @@ public void getDeclaredSingularAttributeStringTest() throws Exception { logger.log(Logger.Level.TRACE, "singAttrib Type = " + singAttrib.getType()); logger.log(Logger.Level.TRACE, "singAttrib Java Type = " + singAttrib.getJavaType()); if (singAttrib.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address, actual:" + singAttrib.getJavaType().getName()); } } else { @@ -786,13 +786,13 @@ public void getCollectionStringTest() throws Exception { if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Uni1XMProject")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Uni1XMProject")) { logger.log(Logger.Level.TRACE, - "Received expected com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Uni1XMProject"); + "Received expected ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Uni1XMProject"); pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Uni1XMProject, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Uni1XMProject, actual:" + t.getJavaType().getName()); } } else { @@ -881,17 +881,17 @@ public void getCollectionStringClassTest() throws Exception { if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); CollectionAttribute colAttrib = mType.getCollection("projects", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Uni1XMProject.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Uni1XMProject.class); Type t = colAttrib.getElementType(); if (t != null) { if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Uni1XMProject")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Uni1XMProject")) { logger.log(Logger.Level.TRACE, - "Received expected com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Uni1XMProject"); + "Received expected ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Uni1XMProject"); pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Uni1XMProject, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Uni1XMProject, actual:" + t.getJavaType().getName()); } } else { @@ -937,7 +937,7 @@ public void getCollectionStringClassIllegalArgumentExceptionTest() throws Except logger.log(Logger.Level.INFO, "Testing invalid name"); try { mType.getCollection("doesnotexist", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Uni1XMProject.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Uni1XMProject.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -950,7 +950,7 @@ public void getCollectionStringClassIllegalArgumentExceptionTest() throws Except try { mType.getCollection("projects", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.ZipCode.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.ZipCode.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -1000,16 +1000,16 @@ public void getSetStringClassTest() throws Exception { if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SetAttribute setAttrib = mType.getSet("address", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address.class); Type t = setAttrib.getElementType(); if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address, actual:" + t.getJavaType().getName()); } } else { @@ -1053,7 +1053,7 @@ public void getSetStringClassIllegalArgumentExceptionTest() throws Exception { if (mType != null) { logger.log(Logger.Level.INFO, "Testing invalid name"); try { - mType.getSet("doesnotexist", com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address.class); + mType.getSet("doesnotexist", ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -1067,7 +1067,7 @@ public void getSetStringClassIllegalArgumentExceptionTest() throws Exception { try { mType.getCollection("address", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.ZipCode.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.ZipCode.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -1121,11 +1121,11 @@ public void getSetStringTest() throws Exception { if (t != null) { logger.log(Logger.Level.TRACE, "java Type = " + t.getJavaType()); if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address, actual:" + t.getJavaType().getName()); } } else { @@ -1213,16 +1213,16 @@ public void getListStringClassTest() throws Exception { if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); ListAttribute listAttrib = mType.getList("biDirMX1Persons", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.BiDirMX1Person.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.BiDirMX1Person.class); Type t = listAttrib.getElementType(); if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.BiDirMX1Person")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.BiDirMX1Person")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.BiDirMX1Person, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.BiDirMX1Person, actual:" + t.getJavaType().getName()); } } else { @@ -1268,7 +1268,7 @@ public void getListStringClassIllegalArgumentExceptionTest() throws Exception { try { mType.getList("doesnotexist", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.BiDirMX1Person.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.BiDirMX1Person.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -1282,7 +1282,7 @@ public void getListStringClassIllegalArgumentExceptionTest() throws Exception { try { mType.getCollection("biDirMX1Persons", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.ZipCode.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.ZipCode.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -1335,11 +1335,11 @@ public void getListStringTest() throws Exception { if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.BiDirMX1Person")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.BiDirMX1Person")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.BiDirMX1Person, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.BiDirMX1Person, actual:" + t.getJavaType().getName()); } } else { @@ -1434,11 +1434,11 @@ public void getMapStringClassTest() throws Exception { if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Employee")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Employee")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Employee, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Employee, actual:" + t.getJavaType().getName()); } } else { @@ -1496,7 +1496,7 @@ public void getMapStringClassIllegalArgumentExceptionTest() throws Exception { try { mType.getMap("lastNameEmployees", String.class, - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Client.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Client.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -1550,11 +1550,11 @@ public void getMapStringTest() throws Exception { if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Employee")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Employee")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Employee, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Employee, actual:" + t.getJavaType().getName()); } } else { @@ -1644,16 +1644,16 @@ public void getDeclaredCollectionStringClassTest() throws Exception { if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); CollectionAttribute colAttrib = mType.getDeclaredCollection("projects", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Uni1XMProject.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Uni1XMProject.class); Type t = colAttrib.getElementType(); if (t != null) { String type = t.getJavaType().getName(); logger.log(Logger.Level.TRACE, "element Type = " + type); - if (type.equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Uni1XMProject")) { + if (type.equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Uni1XMProject")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Uni1XMProject, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Uni1XMProject, actual:" + type); } } else { @@ -1698,7 +1698,7 @@ public void getDeclaredCollectionStringClassIllegalArgumentExceptionTest() throw logger.log(Logger.Level.INFO, "Testing invalid name"); try { mType.getDeclaredCollection("doesnotexist", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Uni1XMProject.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Uni1XMProject.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -1712,7 +1712,7 @@ public void getDeclaredCollectionStringClassIllegalArgumentExceptionTest() throw try { mType.getCollection("projects", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.ZipCode.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.ZipCode.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -1767,11 +1767,11 @@ public void getDeclaredCollectionStringTest() throws Exception { if (t != null) { String type = t.getJavaType().getName(); logger.log(Logger.Level.TRACE, "element Type = " + type); - if (type.equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Uni1XMProject")) { + if (type.equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Uni1XMProject")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Uni1XMProject, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Uni1XMProject, actual:" + type); } } else { @@ -1862,16 +1862,16 @@ public void getDeclaredSetStringClassTest() throws Exception { if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SetAttribute setAttrib = mType.getDeclaredSet("address", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address.class); Type t = setAttrib.getElementType(); if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address, actual:" + t.getJavaType().getName()); } } else { @@ -1916,7 +1916,7 @@ public void getDeclaredSetStringClassIllegalArgumentExceptionTest() throws Excep logger.log(Logger.Level.INFO, "Testing invalid name"); try { mType.getDeclaredSet("doesnotexist", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -1930,7 +1930,7 @@ public void getDeclaredSetStringClassIllegalArgumentExceptionTest() throws Excep try { mType.getCollection("address", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.ZipCode.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.ZipCode.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -1986,11 +1986,11 @@ public void getDeclaredSetStringTest() throws Exception { if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Address, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Address, actual:" + t.getJavaType().getName()); } } else { @@ -2080,16 +2080,16 @@ public void getDeclaredListStringClassTest() throws Exception { if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); ListAttribute listAttrib = mType.getDeclaredList("biDirMX1Persons", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.BiDirMX1Person.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.BiDirMX1Person.class); Type t = listAttrib.getElementType(); if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.BiDirMX1Person")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.BiDirMX1Person")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.BiDirMX1Person, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.BiDirMX1Person, actual:" + t.getJavaType().getName()); } } else { @@ -2136,7 +2136,7 @@ public void getDeclaredListStringClassIllegalArgumentExceptionTest() throws Exce logger.log(Logger.Level.INFO, "Testing invalid name"); try { mType.getDeclaredList("doesnotexist", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.BiDirMX1Person.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.BiDirMX1Person.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -2150,7 +2150,7 @@ public void getDeclaredListStringClassIllegalArgumentExceptionTest() throws Exce try { mType.getCollection("biDirMX1Persons", - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.ZipCode.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.ZipCode.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -2204,11 +2204,11 @@ public void getDeclaredListStringTest() throws Exception { if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.BiDirMX1Person")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.BiDirMX1Person")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.BiDirMX1Person, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.BiDirMX1Person, actual:" + t.getJavaType().getName()); } } else { @@ -2304,11 +2304,11 @@ public void getDeclaredMapStringClassClassTest() throws Exception { if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Employee")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Employee")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Employee, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Employee, actual:" + t.getJavaType().getName()); } } else { @@ -2368,7 +2368,7 @@ public void getDeclaredMapStringClassClassIllegalArgumentExceptionTest() throws try { mType.getDeclaredMap("lastNameEmployees", String.class, - com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Client.class); + ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Client.class); pass = false; logger.log(Logger.Level.TRACE, "Did not receive IllegalArgumentException"); } catch (IllegalArgumentException iae) { @@ -2422,11 +2422,11 @@ public void getDeclaredMapStringTest() throws Exception { if (t != null) { logger.log(Logger.Level.TRACE, "element Type = " + t.getJavaType()); if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Employee")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Employee")) { pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.managedtype.Employee, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.managedtype.Employee, actual:" + t.getJavaType().getName()); } } else { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mapattribute/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Department.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mapattribute/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Department.java index c13ced668f..cb81dbe011 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mapattribute/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.mapattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.managedtype; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Employee.java index 5b388f3ed9..7ea907a897 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.managedtype; +package ee.jakarta.tck.persistence.core.metamodelapi.managedtype; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Order.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Order.java index cce6cac952..7c1b702c0e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.managedtype; +package ee.jakarta.tck.persistence.core.metamodelapi.managedtype; import java.util.Collection; import java.util.Vector; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Uni1XMPerson.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Uni1XMPerson.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Uni1XMPerson.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Uni1XMPerson.java index 606e8b2ba5..79d792eefd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Uni1XMPerson.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Uni1XMPerson.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.managedtype; +package ee.jakarta.tck.persistence.core.metamodelapi.managedtype; import java.io.Serializable; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/pluralattribute/Uni1XMProject.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Uni1XMProject.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/pluralattribute/Uni1XMProject.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Uni1XMProject.java index 6c985784d2..77e92b957c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/pluralattribute/Uni1XMProject.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/Uni1XMProject.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.pluralattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.managedtype; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute/ZipCode.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/ZipCode.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute/ZipCode.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/ZipCode.java index 52d7ffd9a8..7ea57a1c7e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute/ZipCode.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/managedtype/ZipCode.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.singularattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.managedtype; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mapattribute/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mapattribute/Client.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mapattribute/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mapattribute/Client.java index 907cd7b84f..264b908f94 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mapattribute/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mapattribute/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.mapattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.mapattribute; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.ManagedType; import jakarta.persistence.metamodel.MapAttribute; @@ -80,7 +80,7 @@ public void getJavaKeyType() throws Exception { if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); MapAttribute mapAttrib = mType.getDeclaredMap("lastNameEmployees", - java.lang.String.class, com.sun.ts.tests.jpa.core.metamodelapi.mapattribute.Employee.class); + java.lang.String.class, ee.jakarta.tck.persistence.core.metamodelapi.mapattribute.Employee.class); Class javaKeyType = mapAttrib.getKeyJavaType(); if (javaKeyType.getName().equals("java.lang.String")) { @@ -122,7 +122,7 @@ public void getKeyType() throws Exception { if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); MapAttribute mapAttrib = mType.getDeclaredMap("lastNameEmployees", - java.lang.String.class, com.sun.ts.tests.jpa.core.metamodelapi.mapattribute.Employee.class); + java.lang.String.class, ee.jakarta.tck.persistence.core.metamodelapi.mapattribute.Employee.class); Type keyType = mapAttrib.getKeyType(); String javaKeyTypeName = keyType.getJavaType().getName(); @@ -167,7 +167,7 @@ public void getCollectionType() throws Exception { if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); MapAttribute mapAttrib = mType.getDeclaredMap("lastNameEmployees", - java.lang.String.class, com.sun.ts.tests.jpa.core.metamodelapi.mapattribute.Employee.class); + java.lang.String.class, ee.jakarta.tck.persistence.core.metamodelapi.mapattribute.Employee.class); PluralAttribute.CollectionType type = mapAttrib.getCollectionType(); if (type != null) { String name = type.name(); @@ -208,7 +208,7 @@ public void getCollectionType() throws Exception { public void getElementType() throws Exception { boolean pass = false; - String expected = "com.sun.ts.tests.jpa.core.metamodelapi.mapattribute.Employee"; + String expected = "ee.jakarta.tck.persistence.core.metamodelapi.mapattribute.Employee"; getEntityTransaction().begin(); Metamodel metaModel = getEntityManager().getMetamodel(); @@ -218,7 +218,7 @@ public void getElementType() throws Exception { if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); MapAttribute mapAttrib = mType.getDeclaredMap("lastNameEmployees", - java.lang.String.class, com.sun.ts.tests.jpa.core.metamodelapi.mapattribute.Employee.class); + java.lang.String.class, ee.jakarta.tck.persistence.core.metamodelapi.mapattribute.Employee.class); Type type = mapAttrib.getElementType(); if (type != null) { String name = type.getJavaType().getName(); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mapattribute/Department.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mapattribute/Department.java index 8b342dbdb5..8aaacba249 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mapattribute/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.managedtype; +package ee.jakarta.tck.persistence.core.metamodelapi.mapattribute; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mapattribute/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mapattribute/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mapattribute/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mapattribute/Employee.java index 2ab6d444c9..c6ffc4defb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mapattribute/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mapattribute/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.mapattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.mapattribute; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/Client.java index 664c5bcbf2..d029e1d2f4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.mappedsuperclasstype; +package ee.jakarta.tck.persistence.core.metamodelapi.mappedsuperclasstype; import java.lang.System.Logger; import java.util.ArrayList; @@ -29,7 +29,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.Attribute; import jakarta.persistence.metamodel.EntityType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/Employee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/Employee.java index a48564305a..fd2480e1bb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.mappedsuperclasstype; +package ee.jakarta.tck.persistence.core.metamodelapi.mappedsuperclasstype; import java.io.Serializable; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/Employee2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/Employee2.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/Employee2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/Employee2.java index 40ec4171fb..fe036e28b7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/Employee2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/Employee2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.mappedsuperclasstype; +package ee.jakarta.tck.persistence.core.metamodelapi.mappedsuperclasstype; import java.io.Serializable; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/EmployeeId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/EmployeeId.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/EmployeeId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/EmployeeId.java index d8e121228d..8d40457c8e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/EmployeeId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/EmployeeId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.mappedsuperclasstype; +package ee.jakarta.tck.persistence.core.metamodelapi.mappedsuperclasstype; /** * diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/FullTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/FullTimeEmployee.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/FullTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/FullTimeEmployee.java index 6fc7b200dd..e466a3c577 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/FullTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/FullTimeEmployee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.mappedsuperclasstype; +package ee.jakarta.tck.persistence.core.metamodelapi.mappedsuperclasstype; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/FullTimeEmployee2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/FullTimeEmployee2.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/FullTimeEmployee2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/FullTimeEmployee2.java index 15a4d02318..a7cf203afd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/mappedsuperclasstype/FullTimeEmployee2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/mappedsuperclasstype/FullTimeEmployee2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.mappedsuperclasstype; +package ee.jakarta.tck.persistence.core.metamodelapi.mappedsuperclasstype; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/Address.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/Address.java index 6441c8dccf..0baf20ff3b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.managedtype; +package ee.jakarta.tck.persistence.core.metamodelapi.metamodel; import jakarta.persistence.Embeddable; import jakarta.persistence.Embedded; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/B.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/B.java index e4dc4385f9..fd5eff46b3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/B.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.metamodel; +package ee.jakarta.tck.persistence.core.metamodelapi.metamodel; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/Client.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/Client.java index 1e4b1e11a3..620a3dd3a3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.metamodel; +package ee.jakarta.tck.persistence.core.metamodelapi.metamodel; import java.lang.System.Logger; import java.util.ArrayList; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.Attribute; import jakarta.persistence.metamodel.EmbeddableType; @@ -216,8 +216,8 @@ public void managedType() throws Exception { if (metaModel != null) { logger.log(Logger.Level.INFO, "Test entity"); - String expected = "com.sun.ts.tests.jpa.core.metamodelapi.metamodel.Order"; - ManagedType mType = metaModel.managedType(com.sun.ts.tests.jpa.core.metamodelapi.metamodel.Order.class); + String expected = "ee.jakarta.tck.persistence.core.metamodelapi.metamodel.Order"; + ManagedType mType = metaModel.managedType(ee.jakarta.tck.persistence.core.metamodelapi.metamodel.Order.class); if (mType != null) { ManagedType mTypeOrder = mType; String cActual = mType.getJavaType().getName(); @@ -236,8 +236,8 @@ public void managedType() throws Exception { } } logger.log(Logger.Level.INFO, "Test embeddable"); - expected = "com.sun.ts.tests.jpa.core.metamodelapi.metamodel.Address"; - mType = metaModel.managedType(com.sun.ts.tests.jpa.core.metamodelapi.metamodel.Address.class); + expected = "ee.jakarta.tck.persistence.core.metamodelapi.metamodel.Address"; + mType = metaModel.managedType(ee.jakarta.tck.persistence.core.metamodelapi.metamodel.Address.class); if (mType != null) { ManagedType
mTypeAddress = mType; String cActual = mType.getJavaType().getName(); @@ -257,8 +257,8 @@ public void managedType() throws Exception { } logger.log(Logger.Level.INFO, "Test superclass"); - expected = "com.sun.ts.tests.jpa.core.metamodelapi.metamodel.Employee"; - mType = metaModel.managedType(com.sun.ts.tests.jpa.core.metamodelapi.metamodel.Employee.class); + expected = "ee.jakarta.tck.persistence.core.metamodelapi.metamodel.Employee"; + mType = metaModel.managedType(ee.jakarta.tck.persistence.core.metamodelapi.metamodel.Employee.class); if (mType != null) { ManagedType mTypeEmployee = mType; String cActual = mType.getJavaType().getName(); @@ -302,7 +302,7 @@ public void managedTypeIllegalArgumentException() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); try { - metaModel.managedType(com.sun.ts.tests.jpa.core.metamodelapi.metamodel.Client.class); + metaModel.managedType(ee.jakarta.tck.persistence.core.metamodelapi.metamodel.Client.class); logger.log(Logger.Level.ERROR, "Did not throw IllegalArgumentException"); } catch (IllegalArgumentException iae) { logger.log(Logger.Level.TRACE, "Received expected IllegalArgumentException"); @@ -336,7 +336,7 @@ public void entity() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); EntityType eTypeOrder = metaModel - .entity(com.sun.ts.tests.jpa.core.metamodelapi.metamodel.Order.class); + .entity(ee.jakarta.tck.persistence.core.metamodelapi.metamodel.Order.class); if (eTypeOrder != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null EntityType"); Set> attribSet = eTypeOrder.getDeclaredAttributes(); @@ -372,7 +372,7 @@ public void entityIllegalArgumentException() throws Exception { Metamodel metaModel = getEntityManager().getMetamodel(); if (metaModel != null) { try { - metaModel.entity(com.sun.ts.tests.jpa.core.metamodelapi.metamodel.Client.class); + metaModel.entity(ee.jakarta.tck.persistence.core.metamodelapi.metamodel.Client.class); logger.log(Logger.Level.ERROR, "Did not throw IllegalArgumentException"); } catch (IllegalArgumentException iae) { logger.log(Logger.Level.TRACE, "Received expected IllegalArgumentException"); @@ -413,7 +413,7 @@ public void embeddable() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); EmbeddableType
eTypeOrder = metaModel - .embeddable(com.sun.ts.tests.jpa.core.metamodelapi.metamodel.Address.class); + .embeddable(ee.jakarta.tck.persistence.core.metamodelapi.metamodel.Address.class); if (eTypeOrder != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null EmbeddableType"); Set> attribSet = eTypeOrder.getDeclaredAttributes(); @@ -469,7 +469,7 @@ public void embeddableIllegalArgumentException() throws Exception { Metamodel metaModel = getEntityManager().getMetamodel(); if (metaModel != null) { try { - metaModel.embeddable(com.sun.ts.tests.jpa.core.metamodelapi.metamodel.Client.class); + metaModel.embeddable(ee.jakarta.tck.persistence.core.metamodelapi.metamodel.Client.class); logger.log(Logger.Level.ERROR, "Did not throw IllegalArgumentException"); } catch (IllegalArgumentException iae) { logger.log(Logger.Level.TRACE, "Received expected IllegalArgumentException"); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/Employee.java index 74ab5ba74b..187d413279 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.metamodel; +package ee.jakarta.tck.persistence.core.metamodelapi.metamodel; import java.io.Serializable; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/FullTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/FullTimeEmployee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/FullTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/FullTimeEmployee.java index 80dd4a170b..21bc738f8b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/FullTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/FullTimeEmployee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.metamodel; +package ee.jakarta.tck.persistence.core.metamodelapi.metamodel; import java.io.Serializable; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/Order.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/Order.java index b2d079e42b..86e2b867e6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.type; +package ee.jakarta.tck.persistence.core.metamodelapi.metamodel; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddable/ZipCode.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/ZipCode.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddable/ZipCode.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/ZipCode.java index 0be80c86c9..1e062725c7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddable/ZipCode.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/metamodel/ZipCode.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.embeddable; +package ee.jakarta.tck.persistence.core.metamodelapi.metamodel; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/pluralattribute/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/pluralattribute/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/pluralattribute/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/pluralattribute/Client.java index c226e09ba6..b8def985db 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/pluralattribute/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/pluralattribute/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.pluralattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.pluralattribute; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.Bindable; import jakarta.persistence.metamodel.ManagedType; @@ -128,7 +128,7 @@ public void getElementType() throws Exception { logger.log(Logger.Level.TRACE, "collection Element Type = " + pluralAttrib.getElementType().getJavaType().getName()); String elementTypeName = pluralAttrib.getElementType().getJavaType().getName(); - if (elementTypeName.equals("com.sun.ts.tests.jpa.core.metamodelapi.pluralattribute.Uni1XMProject")) { + if (elementTypeName.equals("ee.jakarta.tck.persistence.core.metamodelapi.pluralattribute.Uni1XMProject")) { logger.log(Logger.Level.TRACE, "Received Expected Element type = " + elementTypeName); pass = true; } else { @@ -444,7 +444,7 @@ public void getBindableType() throws Exception { @Test public void getBindableJavaType() throws Exception { boolean pass = false; - String expected = "com.sun.ts.tests.jpa.core.metamodelapi.pluralattribute.Uni1XMProject"; + String expected = "ee.jakarta.tck.persistence.core.metamodelapi.pluralattribute.Uni1XMProject"; getEntityTransaction().begin(); Metamodel metaModel = getEntityManager().getMetamodel(); if (metaModel != null) { @@ -486,7 +486,7 @@ public void getBindableJavaType() throws Exception { @Test public void getDeclaringType() throws Exception { boolean pass = false; - String expected = "com.sun.ts.tests.jpa.core.metamodelapi.pluralattribute.Uni1XMPerson"; + String expected = "ee.jakarta.tck.persistence.core.metamodelapi.pluralattribute.Uni1XMPerson"; getEntityTransaction().begin(); Metamodel metaModel = getEntityManager().getMetamodel(); if (metaModel != null) { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/collectionattribute/Uni1XMPerson.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/pluralattribute/Uni1XMPerson.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/collectionattribute/Uni1XMPerson.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/pluralattribute/Uni1XMPerson.java index 8a965c4bd2..7496b07c3c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/collectionattribute/Uni1XMPerson.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/pluralattribute/Uni1XMPerson.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.collectionattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.pluralattribute; import java.io.Serializable; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/collectionattribute/Uni1XMProject.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/pluralattribute/Uni1XMProject.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/collectionattribute/Uni1XMProject.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/pluralattribute/Uni1XMProject.java index 798705ba69..c83a75508d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/collectionattribute/Uni1XMProject.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/pluralattribute/Uni1XMProject.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.collectionattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.pluralattribute; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/collectiontable/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute/A.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/collectiontable/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute/A.java index a2e0111904..d13c3b7801 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/collectiontable/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.collectiontable; +package ee.jakarta.tck.persistence.core.metamodelapi.setattribute; import java.lang.System.Logger; import java.util.HashSet; @@ -31,6 +31,8 @@ @Table(name = "COLTAB") public class A implements java.io.Serializable { + private static final Logger logger = (Logger) System.getLogger(A.class.getName()); + @Id protected String id; @@ -38,8 +40,6 @@ public class A implements java.io.Serializable { protected int value; - private static final Logger logger = (Logger) System.getLogger(A.class.getName()); - @ElementCollection @CollectionTable(name = "COLTAB_ADDRESS", joinColumns = @JoinColumn(name = "A_ID")) protected Set
address = new HashSet(); diff --git a/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute/Address.java new file mode 100644 index 0000000000..745705f507 --- /dev/null +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute/Address.java @@ -0,0 +1,74 @@ +/* + * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v. 2.0, which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * This Source Code may also be made available under the following Secondary + * Licenses when the conditions for such availability set forth in the + * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, + * version 2 with the GNU Classpath Exception, which is available at + * https://www.gnu.org/software/classpath/license.html. + * + * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 + */ + +package ee.jakarta.tck.persistence.core.metamodelapi.setattribute; + +import jakarta.persistence.Embeddable; +import jakarta.persistence.Embedded; + +@Embeddable +public class Address implements java.io.Serializable { + + protected String street; + + protected String city; + + protected String state; + + @Embedded + protected ZipCode zipcode; + + public Address() { + } + + public Address(String street, String city, String state) { + this.street = street; + this.city = city; + this.state = state; + } + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + public String getStreet() { + return street; + } + + public void setStreet(String street) { + this.street = street; + } + + public ZipCode getZipCode() { + return zipcode; + } + + public void setZipCode(ZipCode zipcode) { + this.zipcode = zipcode; + } +} diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute/Client.java similarity index 85% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute/Client.java index bfb32274c0..cb2a34fa45 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.setattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.setattribute; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.ManagedType; import jakarta.persistence.metamodel.Metamodel; @@ -75,16 +75,16 @@ public void getSet() throws Exception { Metamodel metaModel = getEntityManager().getMetamodel(); if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); - ManagedType mType = metaModel.managedType(com.sun.ts.tests.jpa.core.metamodelapi.setattribute.A.class); + ManagedType mType = metaModel.managedType(ee.jakarta.tck.persistence.core.metamodelapi.setattribute.A.class); if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SetAttribute setAttrib = mType.getSet("address", - com.sun.ts.tests.jpa.core.metamodelapi.setattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.setattribute.Address.class); Type t = setAttrib.getElementType(); if (t != null) { logger.log(Logger.Level.TRACE, "element Java Type = " + t.getJavaType()); if (t.getJavaType().getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.setattribute.Address")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.setattribute.Address")) { pass = true; } } @@ -114,11 +114,11 @@ public void getCollectionType() throws Exception { Metamodel metaModel = getEntityManager().getMetamodel(); if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); - ManagedType mType = metaModel.managedType(com.sun.ts.tests.jpa.core.metamodelapi.setattribute.A.class); + ManagedType mType = metaModel.managedType(ee.jakarta.tck.persistence.core.metamodelapi.setattribute.A.class); if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SetAttribute setAttrib = mType.getSet("address", - com.sun.ts.tests.jpa.core.metamodelapi.setattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.setattribute.Address.class); SetAttribute.CollectionType setAttribColType = setAttrib.getCollectionType(); logger.log(Logger.Level.TRACE, "collection Type = " + setAttrib.getCollectionType()); @@ -154,16 +154,16 @@ public void getElementType() throws Exception { Metamodel metaModel = getEntityManager().getMetamodel(); if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); - ManagedType mType = metaModel.managedType(com.sun.ts.tests.jpa.core.metamodelapi.setattribute.A.class); + ManagedType mType = metaModel.managedType(ee.jakarta.tck.persistence.core.metamodelapi.setattribute.A.class); if (mType != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SetAttribute setAttrib = mType.getSet("address", - com.sun.ts.tests.jpa.core.metamodelapi.setattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.setattribute.Address.class); logger.log(Logger.Level.TRACE, "collection Element Type = " + setAttrib.getElementType().getJavaType().getName()); String elementTypeName = setAttrib.getElementType().getJavaType().getName(); - if (elementTypeName.equals("com.sun.ts.tests.jpa.core.metamodelapi.setattribute.Address")) { + if (elementTypeName.equals("ee.jakarta.tck.persistence.core.metamodelapi.setattribute.Address")) { logger.log(Logger.Level.TRACE, "Received expected result = " + elementTypeName); pass = true; } else { diff --git a/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute/ZipCode.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute/ZipCode.java new file mode 100644 index 0000000000..5b46292422 --- /dev/null +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/setattribute/ZipCode.java @@ -0,0 +1,51 @@ +/* + * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v. 2.0, which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * This Source Code may also be made available under the following Secondary + * Licenses when the conditions for such availability set forth in the + * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, + * version 2 with the GNU Classpath Exception, which is available at + * https://www.gnu.org/software/classpath/license.html. + * + * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 + */ + +package ee.jakarta.tck.persistence.core.metamodelapi.setattribute; + +import jakarta.persistence.Embeddable; + +@Embeddable +public class ZipCode implements java.io.Serializable { + + protected String zip; + + protected String plusFour; + + public ZipCode() { + } + + public ZipCode(String zip, String plusFour) { + this.zip = zip; + this.plusFour = plusFour; + } + + public String getPlusFour() { + return plusFour; + } + + public void setPlusFour(String plusFour) { + this.plusFour = plusFour; + } + + public String getZip() { + return zip; + } + + public void setZip(String zip) { + this.zip = zip; + } +} diff --git a/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute/Address.java new file mode 100644 index 0000000000..171b0811e6 --- /dev/null +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute/Address.java @@ -0,0 +1,74 @@ +/* + * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v. 2.0, which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * This Source Code may also be made available under the following Secondary + * Licenses when the conditions for such availability set forth in the + * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, + * version 2 with the GNU Classpath Exception, which is available at + * https://www.gnu.org/software/classpath/license.html. + * + * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 + */ + +package ee.jakarta.tck.persistence.core.metamodelapi.singularattribute; + +import jakarta.persistence.Embeddable; +import jakarta.persistence.Embedded; + +@Embeddable +public class Address implements java.io.Serializable { + + protected String street; + + protected String city; + + protected String state; + + @Embedded + protected ZipCode zipcode; + + public Address() { + } + + public Address(String street, String city, String state) { + this.street = street; + this.city = city; + this.state = state; + } + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + public String getStreet() { + return street; + } + + public void setStreet(String street) { + this.street = street; + } + + public ZipCode getZipCode() { + return zipcode; + } + + public void setZipCode(ZipCode zipcode) { + this.zipcode = zipcode; + } +} diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddable/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute/B.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddable/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute/B.java index 0d4ad17bf9..992cadc7ed 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/annotations/embeddable/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute/B.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.annotations.embeddable; +package ee.jakarta.tck.persistence.core.metamodelapi.singularattribute; import jakarta.persistence.Basic; import jakarta.persistence.Embedded; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute/Client.java similarity index 85% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute/Client.java index 2c198bc53c..70b5e6c8be 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/singularattribute/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.singularattribute; +package ee.jakarta.tck.persistence.core.metamodelapi.singularattribute; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.Attribute; import jakarta.persistence.metamodel.Bindable; @@ -78,11 +78,11 @@ public void isId() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeB = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B.class); if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address.class); if (!singAttrib.isId()) { logger.log(Logger.Level.TRACE, @@ -119,11 +119,11 @@ public void isVersion() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeB = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B.class); if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address.class); if (!singAttrib.isVersion()) { logger.log(Logger.Level.TRACE, @@ -160,11 +160,11 @@ public void isOptional() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeB = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B.class); if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address.class); if (singAttrib.isOptional()) { logger.log(Logger.Level.TRACE, @@ -201,15 +201,15 @@ public void getType() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeB = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B.class); if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address.class); Type attributeType = singAttrib.getType(); String attributeJavaTypeName = attributeType.getJavaType().getName(); - if (attributeJavaTypeName.equals("com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address")) { + if (attributeJavaTypeName.equals("ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address")) { logger.log(Logger.Level.TRACE, "Received expected result singular attribute JavaType =" + attributeJavaTypeName); pass = true; @@ -244,11 +244,11 @@ public void isCollection() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeB = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B.class); if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address.class); boolean b = singAttrib.isCollection(); if (!b) { @@ -287,11 +287,11 @@ public void isAssociation() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeB = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B.class); if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address.class); boolean b = singAttrib.isAssociation(); if (!b) { @@ -330,11 +330,11 @@ public void getPersistentAttributeType() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeB = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B.class); if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address.class); if (singAttrib != null) { Attribute.PersistentAttributeType pAttribType = singAttrib.getPersistentAttributeType(); if (pAttribType == Attribute.PersistentAttributeType.EMBEDDED) { @@ -373,11 +373,11 @@ public void getName() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeB = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B.class); if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address.class); if (singAttrib != null) { String name = singAttrib.getName(); if (name.equals("address")) { @@ -415,15 +415,15 @@ public void getJavaType() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeB = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B.class); if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address.class); if (singAttrib != null) { Class pSingAttribJavaType = singAttrib.getJavaType(); if (pSingAttribJavaType.getName() - .equals("com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address")) { + .equals("ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address")) { logger.log(Logger.Level.TRACE, "Received expected result " + pSingAttribJavaType); pass = true; } else { @@ -457,11 +457,11 @@ public void getJavaMember() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeB = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B.class); if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address.class); if (singAttrib != null) { logger.log(Logger.Level.TRACE, "Singular attribute JavaMember = " + singAttrib.getJavaMember().getName()); @@ -500,22 +500,22 @@ public void getDeclaringType() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeB = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B.class); if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address.class); if (singAttrib != null) { logger.log(Logger.Level.TRACE, "attribute Name = " + singAttrib.getName()); ManagedType newTypeOrder = singAttrib.getDeclaringType(); if (newTypeOrder != null) { Class javaType = newTypeOrder.getJavaType(); - if (javaType.getName().equals("com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B")) { + if (javaType.getName().equals("ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B")) { logger.log(Logger.Level.TRACE, "Received expected result:" + javaType.getName()); pass = true; } else { logger.log(Logger.Level.ERROR, - "Expected: com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B, actual:" + "Expected: ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B, actual:" + javaType.getName()); } } @@ -547,11 +547,11 @@ public void getBindableType() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeB = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B.class); if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address.class); if (singAttrib != null) { logger.log(Logger.Level.TRACE, "attribute Name = " + singAttrib.getName()); Bindable.BindableType bType = singAttrib.getBindableType(); @@ -587,17 +587,17 @@ public void getBindableType() throws Exception { @Test public void getBindableJavaType() throws Exception { boolean pass = false; - String expected = "com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address"; + String expected = "ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address"; getEntityTransaction().begin(); Metamodel metaModel = getEntityManager().getMetamodel(); if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeB = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.B.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.B.class); if (mTypeB != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); SingularAttribute singAttrib = mTypeB.getDeclaredSingularAttribute("address", - com.sun.ts.tests.jpa.core.metamodelapi.singularattribute.Address.class); + ee.jakarta.tck.persistence.core.metamodelapi.singularattribute.Address.class); if (singAttrib != null) { logger.log(Logger.Level.TRACE, "attribute Name = " + singAttrib.getName()); Class cType = singAttrib.getBindableJavaType(); diff --git a/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute/ZipCode.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute/ZipCode.java new file mode 100644 index 0000000000..153680bf15 --- /dev/null +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/singularattribute/ZipCode.java @@ -0,0 +1,51 @@ +/* + * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v. 2.0, which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * This Source Code may also be made available under the following Secondary + * Licenses when the conditions for such availability set forth in the + * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, + * version 2 with the GNU Classpath Exception, which is available at + * https://www.gnu.org/software/classpath/license.html. + * + * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 + */ + +package ee.jakarta.tck.persistence.core.metamodelapi.singularattribute; + +import jakarta.persistence.Embeddable; + +@Embeddable +public class ZipCode implements java.io.Serializable { + + protected String zip; + + protected String plusFour; + + public ZipCode() { + } + + public ZipCode(String zip, String plusFour) { + this.zip = zip; + this.plusFour = plusFour; + } + + public String getPlusFour() { + return plusFour; + } + + public void setPlusFour(String plusFour) { + this.plusFour = plusFour; + } + + public String getZip() { + return zip; + } + + public void setZip(String zip) { + this.zip = zip; + } +} diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/bindable/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/Address.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/bindable/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/Address.java index f5d961d941..b8e50afeec 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/bindable/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.bindable; +package ee.jakarta.tck.persistence.core.metamodelapi.type; import jakarta.persistence.Embeddable; import jakarta.persistence.Embedded; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/B.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/B.java index e88627e0ef..d3a2252325 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/B.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.type; +package ee.jakarta.tck.persistence.core.metamodelapi.type; import jakarta.persistence.Basic; import jakarta.persistence.Embedded; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/Client.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/Client.java index ccdba6bc23..48b0f4de11 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.type; +package ee.jakarta.tck.persistence.core.metamodelapi.type; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.metamodel.EmbeddableType; import jakarta.persistence.metamodel.ManagedType; @@ -76,7 +76,7 @@ public void getPersistenceType() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeOrder = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.type.Order.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.type.Order.class); if (mTypeOrder != null) { Type.PersistenceType type = mTypeOrder.getPersistenceType(); logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); @@ -112,7 +112,7 @@ public void getEmbeddablePersistenceType() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); EmbeddableType
eTypeAddress = metaModel - .embeddable(com.sun.ts.tests.jpa.core.metamodelapi.type.Address.class); + .embeddable(ee.jakarta.tck.persistence.core.metamodelapi.type.Address.class); if (eTypeAddress != null) { Type.PersistenceType type = eTypeAddress.getPersistenceType(); logger.log(Logger.Level.TRACE, "Obtained Non-null Embeddable Type"); @@ -148,11 +148,11 @@ public void getJavaType() throws Exception { if (metaModel != null) { logger.log(Logger.Level.TRACE, "Obtained Non-null Metamodel from EntityManager"); ManagedType mTypeOrder = metaModel - .managedType(com.sun.ts.tests.jpa.core.metamodelapi.type.Order.class); + .managedType(ee.jakarta.tck.persistence.core.metamodelapi.type.Order.class); if (mTypeOrder != null) { Class javaType = mTypeOrder.getJavaType(); logger.log(Logger.Level.TRACE, "Obtained Non-null ManagedType"); - if (javaType.getName().equals("com.sun.ts.tests.jpa.core.metamodelapi.type.Order")) { + if (javaType.getName().equals("ee.jakarta.tck.persistence.core.metamodelapi.type.Order")) { pass = true; } else { logger.log(Logger.Level.TRACE, "javaType name = " + javaType.getName()); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/Order.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/Order.java index 458ee0eb2e..60724cfbfe 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.metamodel; +package ee.jakarta.tck.persistence.core.metamodelapi.type; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/bindable/ZipCode.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/ZipCode.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/bindable/ZipCode.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/ZipCode.java index a93cde314c..49d66d974b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/bindable/ZipCode.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/metamodelapi/type/ZipCode.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.metamodelapi.bindable; +package ee.jakarta.tck.persistence.core.metamodelapi.type; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/A.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/A.java index 942ed0c232..728e8ef602 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.nestedembedding; +package ee.jakarta.tck.persistence.core.nestedembedding; import java.lang.System.Logger; import java.util.Collection; @@ -65,7 +65,7 @@ public A(String id, String name, int value, Collection bCol) { } // =========================================================== // relationship fields - @OneToMany(targetEntity = com.sun.ts.tests.jpa.core.nestedembedding.B.class, cascade = CascadeType.ALL, mappedBy = "a1") + @OneToMany(targetEntity = ee.jakarta.tck.persistence.core.nestedembedding.B.class, cascade = CascadeType.ALL, mappedBy = "a1") protected Collection bCol = new java.util.ArrayList(); // ======================================================================= diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/Address.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/Address.java index 35c717c952..c8ad00200e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.nestedembedding; +package ee.jakarta.tck.persistence.core.nestedembedding; import jakarta.persistence.Embeddable; import jakarta.persistence.Embedded; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/B.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/B.java index ae02d0f71e..9f5c826b42 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/B.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.nestedembedding; +package ee.jakarta.tck.persistence.core.nestedembedding; import java.lang.System.Logger; import java.util.Collection; @@ -59,7 +59,7 @@ public void setAddress(Address address) { // =========================================================== // relationship fields - @ManyToOne(targetEntity = com.sun.ts.tests.jpa.core.nestedembedding.A.class) + @ManyToOne(targetEntity = ee.jakarta.tck.persistence.core.nestedembedding.A.class) @JoinColumn(name = "FK_FOR_ANE_1XM_BI_BTOB", nullable = true) protected A a1; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/Client.java index a287c8a302..27218ebe1c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.nestedembedding; +package ee.jakarta.tck.persistence.core.nestedembedding; import java.lang.System.Logger; import java.util.Collection; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/ZipCode.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/ZipCode.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/ZipCode.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/ZipCode.java index 8be422f36a..392685b93c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/nestedembedding/ZipCode.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/nestedembedding/ZipCode.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.nestedembedding; +package ee.jakarta.tck.persistence.core.nestedembedding; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/attributeoverride/Book.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/attributeoverride/Book.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/attributeoverride/Book.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/attributeoverride/Book.java index 801927354c..91b725313e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/attributeoverride/Book.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/attributeoverride/Book.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.attributeoverride; +package ee.jakarta.tck.persistence.core.override.attributeoverride; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/attributeoverride/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/attributeoverride/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/attributeoverride/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/attributeoverride/Client.java index c58ce6f5bd..4e60bdd1b5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/attributeoverride/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/attributeoverride/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.attributeoverride; +package ee.jakarta.tck.persistence.core.override.attributeoverride; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/attributeoverride/LawBook.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/attributeoverride/LawBook.java similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/attributeoverride/LawBook.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/attributeoverride/LawBook.java index 9cabfc1fe3..35bd524490 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/attributeoverride/LawBook.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/attributeoverride/LawBook.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.attributeoverride; +package ee.jakarta.tck.persistence.core.override.attributeoverride; import java.io.Serializable; @@ -52,7 +52,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.attributeoverride." + "LawBook[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.attributeoverride." + "LawBook[id=" + getId() + "]"; } public Integer getId() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/callbacklistener/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/callbacklistener/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/callbacklistener/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/callbacklistener/Client.java index 3a7bec4418..5e96b22215 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/callbacklistener/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/callbacklistener/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.callbacklistener; +package ee.jakarta.tck.persistence.core.override.callbacklistener; import java.lang.System.Logger; @@ -23,8 +23,9 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; -import com.sun.ts.tests.jpa.core.override.util.CallBackCounts; +import ee.jakarta.tck.persistence.common.PMClientBase; + +import ee.jakarta.tck.persistence.core.override.util.CallBackCounts; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/callbacklistener/OverridenCallBack.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/callbacklistener/OverridenCallBack.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/callbacklistener/OverridenCallBack.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/callbacklistener/OverridenCallBack.java index 2ae9e2ab20..4c93f51ce9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/callbacklistener/OverridenCallBack.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/callbacklistener/OverridenCallBack.java @@ -14,10 +14,9 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.callbacklistener; - -import com.sun.ts.tests.jpa.core.override.util.CallBackCounts; +package ee.jakarta.tck.persistence.core.override.callbacklistener; +import ee.jakarta.tck.persistence.core.override.util.CallBackCounts; import jakarta.persistence.Entity; import jakarta.persistence.Id; import jakarta.persistence.Table; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Applicant.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Applicant.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Applicant.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Applicant.java index 097f5db368..415a559115 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Applicant.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Applicant.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.embeddable; +package ee.jakarta.tck.persistence.core.override.embeddable; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Book.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Book.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Book.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Book.java index 2e9f5f2862..42fc7a2aec 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Book.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Book.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.embeddable; +package ee.jakarta.tck.persistence.core.override.embeddable; import java.io.Serializable; @@ -54,7 +54,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.embeddable." + "Book[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.embeddable." + "Book[id=" + getId() + "]"; } public Integer getId() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/BookStore.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/BookStore.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/BookStore.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/BookStore.java index 15db8155b8..764c60ae21 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/BookStore.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/BookStore.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.embeddable; +package ee.jakarta.tck.persistence.core.override.embeddable; import java.io.Serializable; @@ -56,7 +56,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.embeddable." + "BookStore[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.embeddable." + "BookStore[id=" + getId() + "]"; } public Publisher getPublisher() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Client.java index 9fbeeb2718..c9abba554a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.embeddable; +package ee.jakarta.tck.persistence.core.override.embeddable; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Complaint.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Complaint.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Complaint.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Complaint.java index a9391e560d..b377a1012c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Complaint.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Complaint.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.embeddable; +package ee.jakarta.tck.persistence.core.override.embeddable; import java.io.Serializable; @@ -54,7 +54,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.embeddable." + "Complaint[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.embeddable." + "Complaint[id=" + getId() + "]"; } public Integer getId() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Film.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Film.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Film.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Film.java index e8d92c8696..5a4f8abcf8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Film.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Film.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.embeddable; +package ee.jakarta.tck.persistence.core.override.embeddable; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/MovieTicket.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/MovieTicket.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/MovieTicket.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/MovieTicket.java index 345c69d21a..0114aa3089 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/MovieTicket.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/MovieTicket.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.embeddable; +package ee.jakarta.tck.persistence.core.override.embeddable; import java.io.Serializable; @@ -52,7 +52,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.embeddable." + "MovieTicket[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.embeddable." + "MovieTicket[id=" + getId() + "]"; } public Integer getId() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Publisher.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Publisher.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Publisher.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Publisher.java index 41996e84c6..b2c35d0e2f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Publisher.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Publisher.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.embeddable; +package ee.jakarta.tck.persistence.core.override.embeddable; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Publisher1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Publisher1.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Publisher1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Publisher1.java index 7131e7e462..ad1784c932 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/embeddable/Publisher1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/embeddable/Publisher1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.embeddable; +package ee.jakarta.tck.persistence.core.override.embeddable; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/Client.java index dc753e4255..ebc2b7c2aa 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.entity; +package ee.jakarta.tck.persistence.core.override.entity; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/NameOnlyInAnnotation.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/NameOnlyInAnnotation.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/NameOnlyInAnnotation.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/NameOnlyInAnnotation.java index 0ac22ca2fe..e53a6703e7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/NameOnlyInAnnotation.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/NameOnlyInAnnotation.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.entity; +package ee.jakarta.tck.persistence.core.override.entity; import jakarta.persistence.Entity; import jakarta.persistence.Id; @@ -56,6 +56,6 @@ public boolean equals(java.lang.Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.entity.NameOnlyInAnnotation[id=" + id + "]"; + return "ee.jakarta.tck.persistence.core.override.entity.NameOnlyInAnnotation[id=" + id + "]"; } } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/NameOnlyInXML.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/NameOnlyInXML.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/NameOnlyInXML.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/NameOnlyInXML.java index dc72720840..19de19b3ae 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/NameOnlyInXML.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/NameOnlyInXML.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.entity; +package ee.jakarta.tck.persistence.core.override.entity; import jakarta.persistence.Entity; import jakarta.persistence.Id; @@ -58,6 +58,6 @@ public boolean equals(java.lang.Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.entity.NameOnlyInXML[id=" + id + "]"; + return "ee.jakarta.tck.persistence.core.override.entity.NameOnlyInXML[id=" + id + "]"; } } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/NameOverride.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/NameOverride.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/NameOverride.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/NameOverride.java index 055532c911..ac5518e9d0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/NameOverride.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/NameOverride.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.entity; +package ee.jakarta.tck.persistence.core.override.entity; import jakarta.persistence.Entity; import jakarta.persistence.Id; @@ -56,6 +56,6 @@ public boolean equals(java.lang.Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.entity.NameOverride[id=" + id + "]"; + return "ee.jakarta.tck.persistence.core.override.entity.NameOverride[id=" + id + "]"; } } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/NoEntityAnnotation.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/NoEntityAnnotation.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/NoEntityAnnotation.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/NoEntityAnnotation.java index 5e3a11083b..cadb6b9ddb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entity/NoEntityAnnotation.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entity/NoEntityAnnotation.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.entity; +package ee.jakarta.tck.persistence.core.override.entity; import jakarta.persistence.Id; import jakarta.persistence.NamedQuery; @@ -56,6 +56,6 @@ public boolean equals(java.lang.Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.entity.NoEntityAnnotation[id=" + id + "]"; + return "ee.jakarta.tck.persistence.core.override.entity.NoEntityAnnotation[id=" + id + "]"; } } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/Client.java index 4448603247..b64152e094 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.entitylistener; +package ee.jakarta.tck.persistence.core.override.entitylistener; import java.lang.System.Logger; @@ -23,8 +23,9 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; -import com.sun.ts.tests.jpa.core.override.util.CallBackCounts; +import ee.jakarta.tck.persistence.common.PMClientBase; + +import ee.jakarta.tck.persistence.core.override.util.CallBackCounts; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/ListenerA.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/ListenerA.java similarity index 88% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/ListenerA.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/ListenerA.java index 33bdbc2fd9..ce7a52b6ee 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/ListenerA.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/ListenerA.java @@ -14,10 +14,9 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.entitylistener; - -import com.sun.ts.tests.jpa.core.override.util.CallBackCounts; +package ee.jakarta.tck.persistence.core.override.entitylistener; +import ee.jakarta.tck.persistence.core.override.util.CallBackCounts; import jakarta.persistence.PreRemove; public class ListenerA { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/ListenerB.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/ListenerB.java similarity index 88% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/ListenerB.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/ListenerB.java index 73ee73b852..2326cfb26c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/ListenerB.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/ListenerB.java @@ -14,10 +14,9 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.entitylistener; - -import com.sun.ts.tests.jpa.core.override.util.CallBackCounts; +package ee.jakarta.tck.persistence.core.override.entitylistener; +import ee.jakarta.tck.persistence.core.override.util.CallBackCounts; import jakarta.persistence.PostRemove; public class ListenerB { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/ListenerC.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/ListenerC.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/ListenerC.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/ListenerC.java index 93addada74..d17494a7e4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/ListenerC.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/ListenerC.java @@ -14,12 +14,11 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.entitylistener; +package ee.jakarta.tck.persistence.core.override.entitylistener; import java.lang.System.Logger; -import com.sun.ts.tests.jpa.core.override.util.CallBackCounts; - +import ee.jakarta.tck.persistence.core.override.util.CallBackCounts; import jakarta.persistence.PostPersist; import jakarta.persistence.PrePersist; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/ListenerD.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/ListenerD.java similarity index 89% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/ListenerD.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/ListenerD.java index 6143f10105..8733ec18b8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/ListenerD.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/ListenerD.java @@ -14,10 +14,9 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.entitylistener; - -import com.sun.ts.tests.jpa.core.override.util.CallBackCounts; +package ee.jakarta.tck.persistence.core.override.entitylistener; +import ee.jakarta.tck.persistence.core.override.util.CallBackCounts; import jakarta.persistence.PostPersist; import jakarta.persistence.PrePersist; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/NoEntityListener.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/NoEntityListener.java similarity index 85% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/NoEntityListener.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/NoEntityListener.java index c6a8ba1582..c62e81ff6f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/NoEntityListener.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/NoEntityListener.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.entitylistener; +package ee.jakarta.tck.persistence.core.override.entitylistener; import jakarta.persistence.Entity; import jakarta.persistence.EntityListeners; @@ -22,7 +22,7 @@ import jakarta.persistence.Table; @Entity -@EntityListeners(com.sun.ts.tests.jpa.core.override.entitylistener.ListenerD.class) +@EntityListeners(ee.jakarta.tck.persistence.core.override.entitylistener.ListenerD.class) @Table(name = "NOENTITYLISTENER_TABLE") public class NoEntityListener implements java.io.Serializable { @@ -58,6 +58,6 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override." + "entitylistener.NoEntityListener id=" + id; + return "ee.jakarta.tck.persistence.core.override." + "entitylistener.NoEntityListener id=" + id; } } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/NoListener.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/NoListener.java similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/NoListener.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/NoListener.java index 997dc131e5..f0f571c7c0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/NoListener.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/NoListener.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.entitylistener; +package ee.jakarta.tck.persistence.core.override.entitylistener; import java.io.Serializable; @@ -61,6 +61,6 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.entitylistener." + "NoListener[id=" + id + "]"; + return "ee.jakarta.tck.persistence.core.override.entitylistener." + "NoListener[id=" + id + "]"; } } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/OverridenListener.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/OverridenListener.java similarity index 86% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/OverridenListener.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/OverridenListener.java index 98cff16437..07b283b908 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/entitylistener/OverridenListener.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/entitylistener/OverridenListener.java @@ -14,10 +14,9 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.entitylistener; - -import com.sun.ts.tests.jpa.core.override.util.CallBackCounts; +package ee.jakarta.tck.persistence.core.override.entitylistener; +import ee.jakarta.tck.persistence.core.override.util.CallBackCounts; import jakarta.persistence.Entity; import jakarta.persistence.EntityListeners; import jakarta.persistence.Id; @@ -26,7 +25,7 @@ import jakarta.persistence.Table; @Entity -@EntityListeners(com.sun.ts.tests.jpa.core.override.entitylistener.ListenerA.class) +@EntityListeners(ee.jakarta.tck.persistence.core.override.entitylistener.ListenerA.class) @Table(name = "NOENTITYLISTENER_TABLE") public class OverridenListener implements java.io.Serializable { @@ -78,6 +77,6 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.entitylistener." + "OverridenListener id=" + id; + return "ee.jakarta.tck.persistence.core.override.entitylistener." + "OverridenListener id=" + id; } } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Client.java index 588dda75cc..18b2ade9f1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.joincolumn; +package ee.jakarta.tck.persistence.core.override.joincolumn; import java.lang.System.Logger; import java.util.HashSet; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { private static final Logger logger = (Logger) System.getLogger(Client.class.getName()); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Course.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Course.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Course.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Course.java index e547edeb46..b155c5b8d0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Course.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Course.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.joincolumn; +package ee.jakarta.tck.persistence.core.override.joincolumn; import java.io.Serializable; import java.util.HashSet; @@ -66,7 +66,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.joincolumn." + "Course[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.joincolumn." + "Course[id=" + getId() + "]"; } public String getName() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Cubicle.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Cubicle.java similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Cubicle.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Cubicle.java index d3977880e3..72d1f9bc45 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Cubicle.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Cubicle.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.joincolumn; +package ee.jakarta.tck.persistence.core.override.joincolumn; import java.io.Serializable; import java.util.HashSet; @@ -26,7 +26,7 @@ import jakarta.persistence.IdClass; import jakarta.persistence.OneToMany; -@IdClass(com.sun.ts.tests.jpa.core.override.joincolumn.CubiclePK.class) +@IdClass(ee.jakarta.tck.persistence.core.override.joincolumn.CubiclePK.class) @Entity public class Cubicle implements Serializable { @@ -75,7 +75,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.joincolumn." + "Cubicle[id=" + getId() + " - " + getLocation() + "]"; + return "ee.jakarta.tck.persistence.core.override.joincolumn." + "Cubicle[id=" + getId() + " - " + getLocation() + "]"; } public Set getEquipment() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/CubiclePK.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/CubiclePK.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/CubiclePK.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/CubiclePK.java index 0be263cd04..62a46346b9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/CubiclePK.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/CubiclePK.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.joincolumn; +package ee.jakarta.tck.persistence.core.override.joincolumn; import java.io.Serializable; @@ -60,7 +60,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.joincolumn." + "CubiclePK[id=" + getId() + " - " + getLocation() + return "ee.jakarta.tck.persistence.core.override.joincolumn." + "CubiclePK[id=" + getId() + " - " + getLocation() + "]"; } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Customer1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Customer1.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Customer1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Customer1.java index 20292f365f..8a2e307545 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Customer1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Customer1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.joincolumn; +package ee.jakarta.tck.persistence.core.override.joincolumn; import java.io.Serializable; import java.util.HashSet; @@ -70,7 +70,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.joincolumn." + "Customer1[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.joincolumn." + "Customer1[id=" + getId() + "]"; } public Set getOrders() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Hardware.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Hardware.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Hardware.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Hardware.java index a9203b6666..1bed213f76 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Hardware.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Hardware.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.joincolumn; +package ee.jakarta.tck.persistence.core.override.joincolumn; import java.io.Serializable; @@ -79,7 +79,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.joincolumn." + "Hardware[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.joincolumn." + "Hardware[id=" + getId() + "]"; } public String getSalesCode() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/RetailOrder1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/RetailOrder1.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/RetailOrder1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/RetailOrder1.java index 0fd604ea1a..59e8ebf62d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/RetailOrder1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/RetailOrder1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.joincolumn; +package ee.jakarta.tck.persistence.core.override.joincolumn; import java.io.Serializable; @@ -60,7 +60,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.joincolumn." + "RetailOrder1[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.joincolumn." + "RetailOrder1[id=" + getId() + "]"; } public double getCost() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/manytomany/Student.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Student.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/manytomany/Student.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Student.java index e8fa34f53d..9733d5e785 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/manytomany/Student.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/Student.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.manytomany; +package ee.jakarta.tck.persistence.core.override.joincolumn; import java.io.Serializable; import java.util.HashSet; @@ -66,7 +66,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.manytomany." + "Student[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.joincolumn." + "Student[id=" + getId() + "]"; } public Set getCourses() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/TheatreCompany1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/TheatreCompany1.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/TheatreCompany1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/TheatreCompany1.java index 43f48af8ca..c512eecac5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/TheatreCompany1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/TheatreCompany1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.joincolumn; +package ee.jakarta.tck.persistence.core.override.joincolumn; import java.io.Serializable; import java.util.Set; @@ -63,7 +63,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.joincolumn." + "TheatreCompany1[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.joincolumn." + "TheatreCompany1[id=" + getId() + "]"; } public String getName() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/TheatreLocation1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/TheatreLocation1.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/TheatreLocation1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/TheatreLocation1.java index e7d60aee13..326c781e66 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/TheatreLocation1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/joincolumn/TheatreLocation1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.joincolumn; +package ee.jakarta.tck.persistence.core.override.joincolumn; import java.io.Serializable; @@ -62,7 +62,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.joincolumn." + "TheatreLocation1[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.joincolumn." + "TheatreLocation1[id=" + getId() + "]"; } public String getCode() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/manytomany/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/manytomany/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/manytomany/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/manytomany/Client.java index be39ca6e2d..947955f93a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/manytomany/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/manytomany/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.manytomany; +package ee.jakarta.tck.persistence.core.override.manytomany; import java.lang.System.Logger; import java.util.HashSet; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/manytomany/Course.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/manytomany/Course.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/manytomany/Course.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/manytomany/Course.java index 69e3cd1207..d12fa9d50d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/manytomany/Course.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/manytomany/Course.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.manytomany; +package ee.jakarta.tck.persistence.core.override.manytomany; import java.io.Serializable; import java.util.HashSet; @@ -66,7 +66,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.manytomany." + "Course[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.manytomany." + "Course[id=" + getId() + "]"; } public String getName() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Student.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/manytomany/Student.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Student.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/manytomany/Student.java index 3c2f25667d..4cce3c5825 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/joincolumn/Student.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/manytomany/Student.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.joincolumn; +package ee.jakarta.tck.persistence.core.override.manytomany; import java.io.Serializable; import java.util.HashSet; @@ -66,7 +66,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.joincolumn." + "Student[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.manytomany." + "Student[id=" + getId() + "]"; } public Set getCourses() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Client.java index 3ece2ad1b6..79b8f85bd0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.mapkey; +package ee.jakarta.tck.persistence.core.override.mapkey; import java.lang.System.Logger; import java.util.ArrayList; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.Query; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Consumer.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Consumer.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Consumer.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Consumer.java index 0b3622ca71..34495455cc 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Consumer.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Consumer.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.mapkey; +package ee.jakarta.tck.persistence.core.override.mapkey; import java.io.Serializable; import java.util.ArrayList; @@ -66,7 +66,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.mapkey.Consumer[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.mapkey.Consumer[id=" + getId() + "]"; } public void addOrder(RetailOrder order) { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Customers.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Customers.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Customers.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Customers.java index b02fa0ec5b..66ca78d0a0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Customers.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Customers.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.mapkey; +package ee.jakarta.tck.persistence.core.override.mapkey; import java.io.Serializable; @@ -66,7 +66,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.mapkey." + "Customers[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.mapkey." + "Customers[id=" + getId() + "]"; } public Store getStore() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Department.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Department.java index 539c5f208e..097a71d670 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.mapkey; +package ee.jakarta.tck.persistence.core.override.mapkey; import java.io.Serializable; import java.util.ArrayList; @@ -66,7 +66,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.mapkey." + "Department[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.mapkey." + "Department[id=" + getId() + "]"; } public String getName() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Employee.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Employee.java index 2b0ea4c796..6c3c1bb991 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.mapkey; +package ee.jakarta.tck.persistence.core.override.mapkey; import java.io.Serializable; @@ -64,7 +64,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.mapkey." + "Employee[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.mapkey." + "Employee[id=" + getId() + "]"; } public String getCode() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/EmployeeComparator.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/EmployeeComparator.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/EmployeeComparator.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/EmployeeComparator.java index edf4bbdeff..d86bdcc41a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/EmployeeComparator.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/EmployeeComparator.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.mapkey; +package ee.jakarta.tck.persistence.core.override.mapkey; import java.io.Serializable; import java.util.Comparator; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/RetailOrder.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/RetailOrder.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/RetailOrder.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/RetailOrder.java index b9829ddfcf..631d802eb6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/RetailOrder.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/RetailOrder.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.mapkey; +package ee.jakarta.tck.persistence.core.override.mapkey; import java.io.Serializable; import java.util.HashSet; @@ -70,7 +70,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.mapkey." + "RetailOrder[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.mapkey." + "RetailOrder[id=" + getId() + "]"; } public Set getConsumers() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/RetailOrderCostComparatorDESC.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/RetailOrderCostComparatorDESC.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/RetailOrderCostComparatorDESC.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/RetailOrderCostComparatorDESC.java index 4537a98262..25983218ba 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/RetailOrderCostComparatorDESC.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/RetailOrderCostComparatorDESC.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.mapkey; +package ee.jakarta.tck.persistence.core.override.mapkey; import java.io.Serializable; import java.util.Comparator; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Store.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Store.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Store.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Store.java index 78b207c00b..91bf949e52 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/Store.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/Store.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.mapkey; +package ee.jakarta.tck.persistence.core.override.mapkey; import java.io.Serializable; import java.util.HashMap; @@ -64,7 +64,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override." + "mapkey.Store[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override." + "mapkey.Store[id=" + getId() + "]"; } public String getName() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/TheatreCompany.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/TheatreCompany.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/TheatreCompany.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/TheatreCompany.java index 76df5b1a2e..e1a1462a31 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/TheatreCompany.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/TheatreCompany.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.mapkey; +package ee.jakarta.tck.persistence.core.override.mapkey; import java.io.Serializable; import java.util.HashMap; @@ -68,7 +68,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.mapkey." + "TheatreCompany[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.mapkey." + "TheatreCompany[id=" + getId() + "]"; } public String getName() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/TheatreLocation.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/TheatreLocation.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/TheatreLocation.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/TheatreLocation.java index c1329321d9..d89b11837a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/mapkey/TheatreLocation.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/mapkey/TheatreLocation.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.mapkey; +package ee.jakarta.tck.persistence.core.override.mapkey; import java.io.Serializable; import java.util.HashSet; @@ -68,7 +68,7 @@ public boolean equals(Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.mapkey." + "TheatreLocation[id=" + getId() + "]"; + return "ee.jakarta.tck.persistence.core.override.mapkey." + "TheatreLocation[id=" + getId() + "]"; } public String getCode() { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/nocallbacklistener/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/nocallbacklistener/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/nocallbacklistener/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/nocallbacklistener/Client.java index 2b768c7729..354ffe3ab7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/nocallbacklistener/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/nocallbacklistener/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.nocallbacklistener; +package ee.jakarta.tck.persistence.core.override.nocallbacklistener; import java.lang.System.Logger; import java.util.List; @@ -24,8 +24,9 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; -import com.sun.ts.tests.jpa.core.override.util.CallBackCounts; +import ee.jakarta.tck.persistence.common.PMClientBase; + +import ee.jakarta.tck.persistence.core.override.util.CallBackCounts; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/nocallbacklistener/NoCallBackListener.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/nocallbacklistener/NoCallBackListener.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/nocallbacklistener/NoCallBackListener.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/nocallbacklistener/NoCallBackListener.java index bde273f310..33f3eea0d9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/nocallbacklistener/NoCallBackListener.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/nocallbacklistener/NoCallBackListener.java @@ -14,10 +14,9 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.nocallbacklistener; - -import com.sun.ts.tests.jpa.core.override.util.CallBackCounts; +package ee.jakarta.tck.persistence.core.override.nocallbacklistener; +import ee.jakarta.tck.persistence.core.override.util.CallBackCounts; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/table/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/table/Client.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/table/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/table/Client.java index bd07402d0a..29ae939068 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/table/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/table/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.table; +package ee.jakarta.tck.persistence.core.override.table; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/table/NoTableAnnotation.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/table/NoTableAnnotation.java similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/table/NoTableAnnotation.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/table/NoTableAnnotation.java index a68a8c7cb7..2e7a63329b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/table/NoTableAnnotation.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/table/NoTableAnnotation.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.table; +package ee.jakarta.tck.persistence.core.override.table; import jakarta.persistence.Id; @@ -54,6 +54,6 @@ public boolean equals(java.lang.Object object) { } public String toString() { - return "com.sun.ts.tests.jpa.core.override.table." + "NoTableAnnotation[id=" + id + "]"; + return "ee.jakarta.tck.persistence.core.override.table." + "NoTableAnnotation[id=" + id + "]"; } } diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/util/CallBackCounts.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/util/CallBackCounts.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/override/util/CallBackCounts.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/util/CallBackCounts.java index 0760671aa6..2025d8b809 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/override/util/CallBackCounts.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/override/util/CallBackCounts.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.override.util; +package ee.jakarta.tck.persistence.core.override.util; import java.util.HashMap; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/persistenceUtil/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/persistenceUtil/Client.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/persistenceUtil/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/persistenceUtil/Client.java index 6fa62f91d3..5786988ff2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/persistenceUtil/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/persistenceUtil/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.persistenceUtil; +package ee.jakarta.tck.persistence.core.persistenceUtil; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.Persistence; import jakarta.persistence.PersistenceUtil; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/parameter/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/persistenceUtil/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/parameter/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/persistenceUtil/Employee.java index dea6abff1e..16528ce851 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/criteriaapi/parameter/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/persistenceUtil/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.criteriaapi.parameter; +package ee.jakarta.tck.persistence.core.persistenceUtil; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/persistenceUtilUtil/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/persistenceUtilUtil/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/persistenceUtilUtil/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/persistenceUtilUtil/Client.java index 230327d593..2ec5ef2937 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/persistenceUtilUtil/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/persistenceUtilUtil/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.persistenceUtilUtil; +package ee.jakarta.tck.persistence.core.persistenceUtilUtil; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.PersistenceUnitUtil; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/persistenceUtilUtil/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/persistenceUtilUtil/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/persistenceUtilUtil/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/persistenceUtilUtil/Employee.java index 4680709c23..63672a660d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/persistenceUtilUtil/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/persistenceUtilUtil/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.persistenceUtilUtil; +package ee.jakarta.tck.persistence.core.persistenceUtilUtil; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Client1.java index a38fb7e81e..87d9abf81b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.query.apitests; +package ee.jakarta.tck.persistence.core.query.apitests; import java.lang.System.Logger; import java.sql.Date; @@ -32,7 +32,7 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.FlushModeType; import jakarta.persistence.LockModeType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Client2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Client2.java index af61c42bbe..3734b3b104 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.query.apitests; +package ee.jakarta.tck.persistence.core.query.apitests; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.Query; import jakarta.persistence.TypedQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Client3.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Client3.java index 30aa0935c8..4eb807681b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.query.apitests; +package ee.jakarta.tck.persistence.core.query.apitests; import java.lang.System.Logger; import java.sql.Date; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.Query; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/DataTypes2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/DataTypes2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/DataTypes2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/DataTypes2.java index b4ad3f0043..13e58432f2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/DataTypes2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/DataTypes2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.query.apitests; +package ee.jakarta.tck.persistence.core.query.apitests; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Department.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Department.java index c784fafa5d..6cde525900 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Department.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.query.apitests; +package ee.jakarta.tck.persistence.core.query.apitests; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Employee.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Employee.java index 0d308879b6..dadce306e5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Employee.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.query.apitests; +package ee.jakarta.tck.persistence.core.query.apitests; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Insurance.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Insurance.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Insurance.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Insurance.java index 786207a7bd..832064580d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/apitests/Insurance.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/apitests/Insurance.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.query.apitests; +package ee.jakarta.tck.persistence.core.query.apitests; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/flushmode/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/flushmode/Client1.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/flushmode/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/flushmode/Client1.java index f5d62d9b2b..cd54587922 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/flushmode/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/flushmode/Client1.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.query.flushmode; +package ee.jakarta.tck.persistence.core.query.flushmode; import java.lang.System.Logger; import java.util.List; @@ -26,8 +26,8 @@ import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.UtilCustomerData; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.UtilCustomerData; import jakarta.persistence.EntityManager; import jakarta.persistence.FlushModeType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/flushmode/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/flushmode/Client2.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/flushmode/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/flushmode/Client2.java index a1ee8e56a2..69a687ed72 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/flushmode/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/flushmode/Client2.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.query.flushmode; +package ee.jakarta.tck.persistence.core.query.flushmode; import java.lang.System.Logger; import java.util.List; @@ -27,11 +27,11 @@ import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.schema30.CreditCard; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.Spouse; -import com.sun.ts.tests.jpa.common.schema30.UtilOrderData; +import ee.jakarta.tck.persistence.common.schema30.CreditCard; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.Spouse; +import ee.jakarta.tck.persistence.common.schema30.UtilOrderData; import jakarta.persistence.FlushModeType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/flushmode/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/flushmode/Client3.java similarity index 92% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/flushmode/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/flushmode/Client3.java index 49789ebf04..4a6e828381 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/flushmode/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/flushmode/Client3.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.query.flushmode; +package ee.jakarta.tck.persistence.core.query.flushmode; import java.lang.System.Logger; import java.util.List; @@ -26,8 +26,8 @@ import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.schema30.Product; -import com.sun.ts.tests.jpa.common.schema30.UtilProductData; +import ee.jakarta.tck.persistence.common.schema30.Product; +import ee.jakarta.tck.persistence.common.schema30.UtilProductData; public class Client3 extends UtilProductData { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client1.java index ba18f78080..c4fc1a0882 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.query.language; +package ee.jakarta.tck.persistence.core.query.language; import java.lang.System.Logger; import java.util.ArrayList; @@ -28,9 +28,9 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.LineItem; -import com.sun.ts.tests.jpa.common.schema30.Order; -import com.sun.ts.tests.jpa.common.schema30.UtilOrderData; +import ee.jakarta.tck.persistence.common.schema30.LineItem; +import ee.jakarta.tck.persistence.common.schema30.Order; +import ee.jakarta.tck.persistence.common.schema30.UtilOrderData; import jakarta.persistence.Query; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client2.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client2.java index c5143ed873..2a5943809f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.query.language; +package ee.jakarta.tck.persistence.core.query.language; import java.lang.System.Logger; import java.util.Arrays; @@ -25,9 +25,9 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Country; -import com.sun.ts.tests.jpa.common.schema30.Customer; -import com.sun.ts.tests.jpa.common.schema30.UtilCustomerData; +import ee.jakarta.tck.persistence.common.schema30.Country; +import ee.jakarta.tck.persistence.common.schema30.Customer; +import ee.jakarta.tck.persistence.common.schema30.UtilCustomerData; import jakarta.persistence.NoResultException; import jakarta.persistence.Query; @@ -988,7 +988,7 @@ public void queryTest64() throws Exception { try { getEntityTransaction().begin(); c = getEntityManager() - .createQuery("SELECT NEW com.sun.ts.tests.jpa.common.schema30.Customer " + .createQuery("SELECT NEW ee.jakarta.tck.persistence.common.schema30.Customer " + "(c.id, c.name, c.country, c.work) FROM Customer c where " + " c.work.city = :workcity") .setParameter("workcity", "Burlington").getResultList(); diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client3.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client3.java index 035029c711..0105f70119 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.query.language; +package ee.jakarta.tck.persistence.core.query.language; import java.lang.System.Logger; import java.util.Arrays; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.UtilAliasData; +import ee.jakarta.tck.persistence.common.schema30.UtilAliasData; import jakarta.persistence.Query; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client4.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client4.java index 182545d5af..fb19293057 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.query.language; +package ee.jakarta.tck.persistence.core.query.language; import java.lang.System.Logger; import java.sql.Date; @@ -26,9 +26,9 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Product; -import com.sun.ts.tests.jpa.common.schema30.SoftwareProduct; -import com.sun.ts.tests.jpa.common.schema30.UtilProductData; +import ee.jakarta.tck.persistence.common.schema30.Product; +import ee.jakarta.tck.persistence.common.schema30.SoftwareProduct; +import ee.jakarta.tck.persistence.common.schema30.UtilProductData; import jakarta.persistence.Query; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client5.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client5.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client5.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client5.java index cdbc4ca560..1f3cfbd045 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client5.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client5.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.query.language; +package ee.jakarta.tck.persistence.core.query.language; import java.lang.System.Logger; import java.util.List; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.UtilPhoneData; +import ee.jakarta.tck.persistence.common.schema30.UtilPhoneData; public class Client5 extends UtilPhoneData { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client6.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client6.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client6.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client6.java index 15752aba56..d0f50800b0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/language/Client6.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/language/Client6.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.query.language; +package ee.jakarta.tck.persistence.core.query.language; import java.lang.System.Logger; import java.util.ArrayList; @@ -25,8 +25,8 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.harness.SetupMethod; -import com.sun.ts.tests.jpa.common.schema30.Department; -import com.sun.ts.tests.jpa.common.schema30.UtilDepartmentEmployeeData; +import ee.jakarta.tck.persistence.common.schema30.Department; +import ee.jakarta.tck.persistence.common.schema30.UtilDepartmentEmployeeData; public class Client6 extends UtilDepartmentEmployeeData { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/parameter/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/parameter/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/parameter/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/parameter/Client1.java index c7c009429e..065061180e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/parameter/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/parameter/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.query.parameter; +package ee.jakarta.tck.persistence.core.query.parameter; import java.lang.System.Logger; import java.util.ArrayList; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test; import com.sun.ts.lib.util.TestUtil; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.Parameter; import jakarta.persistence.Query; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/parameter/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/parameter/Client2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/parameter/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/parameter/Client2.java index 829a19dbef..1fd4e92278 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/parameter/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/parameter/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.query.parameter; +package ee.jakarta.tck.persistence.core.query.parameter; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.Query; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/parameter/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/parameter/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/query/parameter/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/parameter/Employee.java index 2a06431875..57a2db8357 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/query/parameter/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/query/parameter/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.query.parameter; +package ee.jakarta.tck.persistence.core.query.parameter; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Address.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Address.java index 9c922e50de..9c75b557cb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Address.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.annotations; +package ee.jakarta.tck.persistence.core.relationship.annotations; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/AnnualReview.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/AnnualReview.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/AnnualReview.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/AnnualReview.java index f82806f538..0ef7432526 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/AnnualReview.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/AnnualReview.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.defaults; +package ee.jakarta.tck.persistence.core.relationship.annotations; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Client.java index 425473cbc5..3c858465c1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.annotations; +package ee.jakarta.tck.persistence.core.relationship.annotations; import java.lang.System.Logger; import java.math.BigDecimal; @@ -31,7 +31,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Company.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Company.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Company.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Company.java index 5649d3803c..11056198ac 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Company.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Company.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.annotations; +package ee.jakarta.tck.persistence.core.relationship.annotations; import java.lang.System.Logger; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Insurance.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Insurance.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Insurance.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Insurance.java index 83aeec8cea..ff6a35b555 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Insurance.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Insurance.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.annotations; +package ee.jakarta.tck.persistence.core.relationship.annotations; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Person.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Person.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Person.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Person.java index 376855f0b9..30a2152806 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Person.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Person.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.annotations; +package ee.jakarta.tck.persistence.core.relationship.annotations; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Project.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Project.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Project.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Project.java index 94e3658384..54442e646a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Project.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Project.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.annotations; +package ee.jakarta.tck.persistence.core.relationship.annotations; import java.math.BigDecimal; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Team.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Team.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Team.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Team.java index 5029ddf7ce..c7eb444eaf 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/Team.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/annotations/Team.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.annotations; +package ee.jakarta.tck.persistence.core.relationship.annotations; import jakarta.persistence.CascadeType; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxmany/BiDirMXMPerson.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxmany/BiDirMXMPerson.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxmany/BiDirMXMPerson.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxmany/BiDirMXMPerson.java index 9bc2322d7d..e1a8ccd157 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxmany/BiDirMXMPerson.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxmany/BiDirMXMPerson.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.bidirmanyxmany; +package ee.jakarta.tck.persistence.core.relationship.bidirmanyxmany; import java.io.Serializable; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxmany/BiDirMXMProject.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxmany/BiDirMXMProject.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxmany/BiDirMXMProject.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxmany/BiDirMXMProject.java index 4517149abd..a86b3f231a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxmany/BiDirMXMProject.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxmany/BiDirMXMProject.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.bidirmanyxmany; +package ee.jakarta.tck.persistence.core.relationship.bidirmanyxmany; import java.io.Serializable; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxmany/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxmany/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxmany/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxmany/Client.java index 4923e8913f..a30220166a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxmany/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxmany/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.bidirmanyxmany; +package ee.jakarta.tck.persistence.core.relationship.bidirmanyxmany; import java.lang.System.Logger; import java.util.Collection; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxone/BiDirMX1Person.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxone/BiDirMX1Person.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxone/BiDirMX1Person.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxone/BiDirMX1Person.java index 202eefe434..9af4f10204 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxone/BiDirMX1Person.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxone/BiDirMX1Person.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.bidirmanyxone; +package ee.jakarta.tck.persistence.core.relationship.bidirmanyxone; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxone/BiDirMX1Project.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxone/BiDirMX1Project.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxone/BiDirMX1Project.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxone/BiDirMX1Project.java index 81b043b526..e9d8df8710 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxone/BiDirMX1Project.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxone/BiDirMX1Project.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.bidirmanyxone; +package ee.jakarta.tck.persistence.core.relationship.bidirmanyxone; import java.io.Serializable; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxone/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxone/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxone/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxone/Client.java index 68cc93d68b..6412ce43d3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidirmanyxone/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidirmanyxone/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.bidirmanyxone; +package ee.jakarta.tck.persistence.core.relationship.bidirmanyxone; import java.lang.System.Logger; import java.util.ArrayList; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexmany/BiDir1XMPerson.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexmany/BiDir1XMPerson.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexmany/BiDir1XMPerson.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexmany/BiDir1XMPerson.java index 165f8fdaaa..c7584e4ed5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexmany/BiDir1XMPerson.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexmany/BiDir1XMPerson.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.bidironexmany; +package ee.jakarta.tck.persistence.core.relationship.bidironexmany; import java.io.Serializable; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexmany/BiDir1XMProject.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexmany/BiDir1XMProject.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexmany/BiDir1XMProject.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexmany/BiDir1XMProject.java index 5b96aa3baa..b5ac3f5da5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexmany/BiDir1XMProject.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexmany/BiDir1XMProject.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.bidironexmany; +package ee.jakarta.tck.persistence.core.relationship.bidironexmany; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexmany/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexmany/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexmany/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexmany/Client.java index 1fceaf548b..4707d180fd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexmany/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexmany/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.bidironexmany; +package ee.jakarta.tck.persistence.core.relationship.bidironexmany; import java.lang.System.Logger; import java.util.Vector; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexone/BiDir1X1Person.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexone/BiDir1X1Person.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexone/BiDir1X1Person.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexone/BiDir1X1Person.java index 4c0de17611..983cc567af 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexone/BiDir1X1Person.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexone/BiDir1X1Person.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.bidironexone; +package ee.jakarta.tck.persistence.core.relationship.bidironexone; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexone/BiDir1X1Project.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexone/BiDir1X1Project.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexone/BiDir1X1Project.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexone/BiDir1X1Project.java index ede10758cd..97ff18bfd3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexone/BiDir1X1Project.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexone/BiDir1X1Project.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.bidironexone; +package ee.jakarta.tck.persistence.core.relationship.bidironexone; import jakarta.persistence.CascadeType; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexone/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexone/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexone/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexone/Client.java index 84f41fa076..213d1f69c8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/bidironexone/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/bidironexone/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.bidironexone; +package ee.jakarta.tck.persistence.core.relationship.bidironexone; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Address.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Address.java index 2618883960..9a0ab83dd0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Address.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.defaults; +package ee.jakarta.tck.persistence.core.relationship.defaults; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/AnnualReview.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/AnnualReview.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/AnnualReview.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/AnnualReview.java index ada1615ccf..219b8efe4f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/annotations/AnnualReview.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/AnnualReview.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.annotations; +package ee.jakarta.tck.persistence.core.relationship.defaults; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Client.java index ed170a2c8e..c5ac59c3cb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Client.java @@ -17,7 +17,7 @@ /* * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.defaults; +package ee.jakarta.tck.persistence.core.relationship.defaults; import java.lang.System.Logger; import java.math.BigDecimal; @@ -30,7 +30,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Company.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Company.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Company.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Company.java index 35ac9bf763..29cb973581 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Company.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Company.java @@ -18,13 +18,12 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.defaults; +package ee.jakarta.tck.persistence.core.relationship.defaults; import java.lang.System.Logger; import java.util.Collection; -import com.sun.ts.tests.jpa.core.override.entitylistener.Client; - +import ee.jakarta.tck.persistence.core.override.entitylistener.Client; import jakarta.persistence.Entity; import jakarta.persistence.Id; import jakarta.persistence.OneToMany; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Insurance.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Insurance.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Insurance.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Insurance.java index a092f7351c..8dbae352a1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Insurance.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Insurance.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.defaults; +package ee.jakarta.tck.persistence.core.relationship.defaults; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Person.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Person.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Person.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Person.java index 2c1a360839..c977eba18e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Person.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Person.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.defaults; +package ee.jakarta.tck.persistence.core.relationship.defaults; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Project.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Project.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Project.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Project.java index 1ed808e922..23f8bbd6bf 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Project.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Project.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.defaults; +package ee.jakarta.tck.persistence.core.relationship.defaults; import java.lang.System.Logger; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Team.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Team.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Team.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Team.java index 6245cf34e5..5f7849cdc1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/defaults/Team.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/defaults/Team.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.defaults; +package ee.jakarta.tck.persistence.core.relationship.defaults; import jakarta.persistence.CascadeType; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/Client.java index 345edbbc7d..7494252a4b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/Client.java @@ -17,7 +17,7 @@ /* * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.descriptors; +package ee.jakarta.tck.persistence.core.relationship.descriptors; import java.lang.System.Logger; import java.math.BigDecimal; @@ -30,7 +30,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XAddress.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XAddress.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XAddress.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XAddress.java index d97d5cff4e..d79ba88e7c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XAddress.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XAddress.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.descriptors; +package ee.jakarta.tck.persistence.core.relationship.descriptors; /* * XAddress diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XAnnualReview.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XAnnualReview.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XAnnualReview.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XAnnualReview.java index d4352c013b..4906894765 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XAnnualReview.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XAnnualReview.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.descriptors; +package ee.jakarta.tck.persistence.core.relationship.descriptors; /* * XAnnualReview diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XCompany.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XCompany.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XCompany.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XCompany.java index 612a2074a0..4f5f57be12 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XCompany.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XCompany.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.descriptors; +package ee.jakarta.tck.persistence.core.relationship.descriptors; import java.lang.System.Logger; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XInsurance.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XInsurance.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XInsurance.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XInsurance.java index 1e53d9611b..5d36d611ac 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XInsurance.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XInsurance.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.descriptors; +package ee.jakarta.tck.persistence.core.relationship.descriptors; /* * XInsurance diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XPerson.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XPerson.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XPerson.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XPerson.java index c2ec49e242..429dbcd091 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XPerson.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XPerson.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.descriptors; +package ee.jakarta.tck.persistence.core.relationship.descriptors; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XProject.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XProject.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XProject.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XProject.java index 05efa1c8ab..a9a49c5adb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XProject.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XProject.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.descriptors; +package ee.jakarta.tck.persistence.core.relationship.descriptors; import java.lang.System.Logger; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XTeam.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XTeam.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XTeam.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XTeam.java index 77025eb155..5a4eaed475 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/descriptors/XTeam.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/descriptors/XTeam.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.relationship.descriptors; +package ee.jakarta.tck.persistence.core.relationship.descriptors; /* * XTeam diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxmany/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxmany/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxmany/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxmany/Client.java index 1edb17fdff..d35a86a9a2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxmany/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxmany/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.unimanyxmany; +package ee.jakarta.tck.persistence.core.relationship.unimanyxmany; import java.lang.System.Logger; import java.util.Collection; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxmany/UniMXMPerson.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxmany/UniMXMPerson.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxmany/UniMXMPerson.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxmany/UniMXMPerson.java index 5d2881d401..8ae84730c4 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxmany/UniMXMPerson.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxmany/UniMXMPerson.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.unimanyxmany; +package ee.jakarta.tck.persistence.core.relationship.unimanyxmany; import java.io.Serializable; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxmany/UniMXMProject.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxmany/UniMXMProject.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxmany/UniMXMProject.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxmany/UniMXMProject.java index d88095a71e..6d7e728462 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxmany/UniMXMProject.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxmany/UniMXMProject.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.unimanyxmany; +package ee.jakarta.tck.persistence.core.relationship.unimanyxmany; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxone/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxone/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxone/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxone/Client.java index 80d21314cb..e02dd4cf81 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxone/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxone/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.unimanyxone; +package ee.jakarta.tck.persistence.core.relationship.unimanyxone; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxone/UniMX1Person.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxone/UniMX1Person.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxone/UniMX1Person.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxone/UniMX1Person.java index 293a324e7c..cd36d1b98d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxone/UniMX1Person.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxone/UniMX1Person.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.unimanyxone; +package ee.jakarta.tck.persistence.core.relationship.unimanyxone; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxone/UniMX1Project.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxone/UniMX1Project.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxone/UniMX1Project.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxone/UniMX1Project.java index c2b086f20f..a394d3b714 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unimanyxone/UniMX1Project.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unimanyxone/UniMX1Project.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.unimanyxone; +package ee.jakarta.tck.persistence.core.relationship.unimanyxone; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexmany/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexmany/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexmany/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexmany/Client.java index 03c77724ed..39cede7733 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexmany/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexmany/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.unionexmany; +package ee.jakarta.tck.persistence.core.relationship.unionexmany; import java.lang.System.Logger; import java.util.Collection; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexmany/Uni1XMPerson.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexmany/Uni1XMPerson.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexmany/Uni1XMPerson.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexmany/Uni1XMPerson.java index 9a319227dc..4816e6b4a1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexmany/Uni1XMPerson.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexmany/Uni1XMPerson.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.unionexmany; +package ee.jakarta.tck.persistence.core.relationship.unionexmany; import java.io.Serializable; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexmany/Uni1XMProject.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexmany/Uni1XMProject.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexmany/Uni1XMProject.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexmany/Uni1XMProject.java index 0e26b25dbf..1c4efe748a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexmany/Uni1XMProject.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexmany/Uni1XMProject.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.unionexmany; +package ee.jakarta.tck.persistence.core.relationship.unionexmany; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexone/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexone/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexone/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexone/Client.java index bd757d6c52..1520cc36aa 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexone/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexone/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.unionexone; +package ee.jakarta.tck.persistence.core.relationship.unionexone; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexone/Uni1X1Person.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexone/Uni1X1Person.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexone/Uni1X1Person.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexone/Uni1X1Person.java index 8e89bdbd0c..30a88bcc8e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexone/Uni1X1Person.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexone/Uni1X1Person.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.unionexone; +package ee.jakarta.tck.persistence.core.relationship.unionexone; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexone/Uni1X1Project.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexone/Uni1X1Project.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexone/Uni1X1Project.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexone/Uni1X1Project.java index b41dae3c1b..3eff5d98df 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/relationship/unionexone/Uni1X1Project.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/relationship/unionexone/Uni1X1Project.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.relationship.unionexone; +package ee.jakarta.tck.persistence.core.relationship.unionexone; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/auto/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/auto/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/auto/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/auto/Client.java index b49857a186..203973438f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/auto/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/auto/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.auto; +package ee.jakarta.tck.persistence.core.types.auto; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/auto/DataTypes.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/auto/DataTypes.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/auto/DataTypes.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/auto/DataTypes.java index 10f37fb89f..e2ff14c0f2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/auto/DataTypes.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/auto/DataTypes.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.auto; +package ee.jakarta.tck.persistence.core.types.auto; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/common/Grade.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/common/Grade.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/common/Grade.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/common/Grade.java index 71e94934da..cda319ced5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/common/Grade.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/common/Grade.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.common; +package ee.jakarta.tck.persistence.core.types.common; public enum Grade { A, B, C, D, F, INCOMPLETE diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/field/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/field/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/field/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/field/Client.java index 92824ec7f4..bebbe0e2f5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/field/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/field/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.types.field; +package ee.jakarta.tck.persistence.core.types.field; import java.lang.System.Logger; import java.util.Arrays; @@ -26,9 +26,9 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; -import com.sun.ts.tests.jpa.core.types.common.Grade; +import ee.jakarta.tck.persistence.common.PMClientBase; +import ee.jakarta.tck.persistence.core.types.common.Grade; import jakarta.persistence.Query; public class Client extends PMClientBase { @@ -860,7 +860,7 @@ public void fieldTypeTest15() throws Exception { getEntityManager().flush(); q = getEntityManager().createQuery( - "SELECT dt FROM DataTypes dt WHERE dt.enumData = com.sun.ts.tests.jpa.core.types.common.Grade.A"); + "SELECT dt FROM DataTypes dt WHERE dt.enumData = ee.jakarta.tck.persistence.core.types.common.Grade.A"); result = (DataTypes) q.getSingleResult(); @@ -973,8 +973,8 @@ public void fieldTypeTest17() throws Exception { boolean pass = false; Object result; Query q; - final Grade failingGrade = com.sun.ts.tests.jpa.core.types.common.Grade.F; - final Grade incompleteGrade = com.sun.ts.tests.jpa.core.types.common.Grade.INCOMPLETE; + final Grade failingGrade = ee.jakarta.tck.persistence.core.types.common.Grade.F; + final Grade incompleteGrade = ee.jakarta.tck.persistence.core.types.common.Grade.INCOMPLETE; try { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/field/DataTypes.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/field/DataTypes.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/field/DataTypes.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/field/DataTypes.java index bd64dc0a25..7a6b82b35d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/field/DataTypes.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/field/DataTypes.java @@ -18,10 +18,9 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.field; - -import com.sun.ts.tests.jpa.core.types.common.Grade; +package ee.jakarta.tck.persistence.core.types.field; +import ee.jakarta.tck.persistence.core.types.common.Grade; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.EnumType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/field/DataTypes2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/field/DataTypes2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/field/DataTypes2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/field/DataTypes2.java index 7425e41300..ce2bb608d1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/field/DataTypes2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/field/DataTypes2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.types.field; +package ee.jakarta.tck.persistence.core.types.field; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/field/UUIDType.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/field/UUIDType.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/field/UUIDType.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/field/UUIDType.java index 0d5c20a2cb..c46c247c53 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/field/UUIDType.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/field/UUIDType.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.field; +package ee.jakarta.tck.persistence.core.types.field; import java.util.UUID; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client.java index 2ba07416f8..ddcdf90e08 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client.java @@ -18,13 +18,13 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.generator; +package ee.jakarta.tck.persistence.core.types.generator; import java.lang.System.Logger; import org.junit.jupiter.api.AfterEach; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client1.java index 4c9b7b133f..bb35f71e33 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client1.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.generator; +package ee.jakarta.tck.persistence.core.types.generator; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client2.java index ba1f78dc73..86e0167d35 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client2.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.generator; +package ee.jakarta.tck.persistence.core.types.generator; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client3.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client3.java index 4c098fe1c7..e1f1213269 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client3.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.generator; +package ee.jakarta.tck.persistence.core.types.generator; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client4.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client4.java index c22f7719da..c704235e33 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/Client4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/Client4.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.generator; +package ee.jakarta.tck.persistence.core.types.generator; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/DataTypes.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/DataTypes.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/DataTypes.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/DataTypes.java index 9b67f0629b..a00e2c9694 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/DataTypes.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/DataTypes.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.generator; +package ee.jakarta.tck.persistence.core.types.generator; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/DataTypes2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/DataTypes2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/DataTypes2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/DataTypes2.java index f0eeeca6ef..8f826b0ead 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/DataTypes2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/DataTypes2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.types.generator; +package ee.jakarta.tck.persistence.core.types.generator; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/DataTypes3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/DataTypes3.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/DataTypes3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/DataTypes3.java index 722f584c03..e53612194f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/DataTypes3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/DataTypes3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.types.generator; +package ee.jakarta.tck.persistence.core.types.generator; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/DataTypes4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/DataTypes4.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/DataTypes4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/DataTypes4.java index ec41c269d2..31ee775c18 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/generator/DataTypes4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/generator/DataTypes4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.types.generator; +package ee.jakarta.tck.persistence.core.types.generator; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/Client.java index 6e6f324585..77cae4b335 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.primarykey.compound; +package ee.jakarta.tck.persistence.core.types.primarykey.compound; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/CompoundPK.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/CompoundPK.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/CompoundPK.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/CompoundPK.java index e85e54fee6..6d89f2f47b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/CompoundPK.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/CompoundPK.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.primarykey.compound; +package ee.jakarta.tck.persistence.core.types.primarykey.compound; import jakarta.persistence.Embeddable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/CompoundPK2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/CompoundPK2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/CompoundPK2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/CompoundPK2.java index fd810354ac..513dc14531 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/CompoundPK2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/CompoundPK2.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.primarykey.compound; +package ee.jakarta.tck.persistence.core.types.primarykey.compound; /* * Class used to define a compound primary key for Entity beans. diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/CompoundPK3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/CompoundPK3.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/CompoundPK3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/CompoundPK3.java index dcfd24a745..fb51e3249d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/CompoundPK3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/CompoundPK3.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.primarykey.compound; +package ee.jakarta.tck.persistence.core.types.primarykey.compound; /* * Class used to define a compound primary key for Entity beans. diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/TestBean.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/TestBean.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/TestBean.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/TestBean.java index 37c31f12ca..f0ee814c96 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/TestBean.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/TestBean.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.primarykey.compound; +package ee.jakarta.tck.persistence.core.types.primarykey.compound; import java.lang.System.Logger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/TestBean2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/TestBean2.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/TestBean2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/TestBean2.java index 517ea784b6..8cd3aa45ec 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/TestBean2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/TestBean2.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.primarykey.compound; +package ee.jakarta.tck.persistence.core.types.primarykey.compound; import java.lang.System.Logger; @@ -29,7 +29,7 @@ import jakarta.persistence.Table; @Entity -@IdClass(com.sun.ts.tests.jpa.core.types.primarykey.compound.CompoundPK2.class) +@IdClass(ee.jakarta.tck.persistence.core.types.primarykey.compound.CompoundPK2.class) @Table(name = "PKEY") public class TestBean2 implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/TestBean3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/TestBean3.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/TestBean3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/TestBean3.java index 628e055398..e4c4594656 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/primarykey/compound/TestBean3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/primarykey/compound/TestBean3.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.primarykey.compound; +package ee.jakarta.tck.persistence.core.types.primarykey.compound; import java.lang.System.Logger; @@ -28,7 +28,7 @@ import jakarta.persistence.Table; @Entity -@IdClass(com.sun.ts.tests.jpa.core.types.primarykey.compound.CompoundPK3.class) +@IdClass(ee.jakarta.tck.persistence.core.types.primarykey.compound.CompoundPK3.class) @Table(name = "PKEY") public class TestBean3 implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/Client1.java index a7b06014ed..5c1e86a55e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/Client1.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.types.property; +package ee.jakarta.tck.persistence.core.types.property; import java.lang.System.Logger; import java.util.Arrays; @@ -25,8 +25,9 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; -import com.sun.ts.tests.jpa.core.types.common.Grade; +import ee.jakarta.tck.persistence.common.PMClientBase; + +import ee.jakarta.tck.persistence.core.types.common.Grade; public class Client1 extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/Client2.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/Client2.java index 87d07a20d0..c3b37caae0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/Client2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.types.property; +package ee.jakarta.tck.persistence.core.types.property; import java.lang.System.Logger; import java.util.ArrayList; @@ -25,8 +25,9 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; -import com.sun.ts.tests.jpa.core.types.common.Grade; +import ee.jakarta.tck.persistence.common.PMClientBase; + +import ee.jakarta.tck.persistence.core.types.common.Grade; public class Client2 extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/Customer.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/Customer.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/Customer.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/Customer.java index 44519335e7..944ada7587 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/Customer.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/Customer.java @@ -14,13 +14,12 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.types.property; +package ee.jakarta.tck.persistence.core.types.property; import java.util.ArrayList; import java.util.List; -import com.sun.ts.tests.jpa.core.types.common.Grade; - +import ee.jakarta.tck.persistence.core.types.common.Grade; import jakarta.persistence.Access; import jakarta.persistence.AccessType; import jakarta.persistence.Basic; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/DataTypes.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/DataTypes.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/DataTypes.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/DataTypes.java index 06ec922508..bce0493e11 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/DataTypes.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/DataTypes.java @@ -18,10 +18,9 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.types.property; - -import com.sun.ts.tests.jpa.core.types.common.Grade; +package ee.jakarta.tck.persistence.core.types.property; +import ee.jakarta.tck.persistence.core.types.common.Grade; import jakarta.persistence.Basic; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/DataTypes2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/DataTypes2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/DataTypes2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/DataTypes2.java index b62d28fbc1..a7f841caf1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/types/property/DataTypes2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/types/property/DataTypes2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.types.property; +package ee.jakarta.tck.persistence.core.types.property; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/versioning/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/versioning/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/versioning/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/versioning/Client.java index 1e048dd2e7..a3e10be6e2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/versioning/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/versioning/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.versioning; +package ee.jakarta.tck.persistence.core.versioning; import java.lang.System.Logger; import java.math.BigInteger; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/versioning/Member.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/versioning/Member.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/versioning/Member.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/versioning/Member.java index d734364cf8..0a67039a7a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/versioning/Member.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/versioning/Member.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.core.versioning; +package ee.jakarta.tck.persistence.core.versioning; import java.math.BigInteger; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmanyFetchEager/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/entitytest/persist/oneXmanyFetchEager/A.java similarity index 91% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmanyFetchEager/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/entitytest/persist/oneXmanyFetchEager/A.java index dfe0d53ddf..3cb8b0d66e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmanyFetchEager/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/entitytest/persist/oneXmanyFetchEager/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entitytest.persist.oneXmanyFetchEager; +package ee.jakarta.tck.persistence.entitytest.persist.oneXmanyFetchEager; import java.lang.System.Logger; import java.util.Iterator; @@ -69,7 +69,7 @@ public A(String id, String name, int value, List bCol) { // =========================================================== // relationship fields - @OneToMany(targetEntity = com.sun.ts.tests.jpa.core.entitytest.persist.oneXmanyFetchEager.B.class, cascade = CascadeType.PERSIST, mappedBy = "a1", fetch = FetchType.EAGER) + @OneToMany(targetEntity = ee.jakarta.tck.persistence.entitytest.persist.oneXmanyFetchEager.B.class, cascade = CascadeType.PERSIST, mappedBy = "a1", fetch = FetchType.EAGER) protected List bCol = new java.util.ArrayList(); // ======================================================================= diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmanyFetchEager/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/entitytest/persist/oneXmanyFetchEager/B.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmanyFetchEager/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/entitytest/persist/oneXmanyFetchEager/B.java index 871f1be3c7..1a0a4d2bfc 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmanyFetchEager/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/entitytest/persist/oneXmanyFetchEager/B.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entitytest.persist.oneXmanyFetchEager; +package ee.jakarta.tck.persistence.entitytest.persist.oneXmanyFetchEager; import java.lang.System.Logger; import java.util.Iterator; @@ -47,7 +47,7 @@ public class B implements java.io.Serializable { // =========================================================== // relationship fields - @ManyToOne(targetEntity = com.sun.ts.tests.jpa.core.entitytest.persist.oneXmanyFetchEager.A.class) + @ManyToOne(targetEntity = ee.jakarta.tck.persistence.entitytest.persist.oneXmanyFetchEager.A.class) @JoinColumn(name = "FK_FOR_AEJB_1XM_BI_BTOB", nullable = true) protected A a1; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmanyFetchEager/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/entitytest/persist/oneXmanyFetchEager/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmanyFetchEager/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/entitytest/persist/oneXmanyFetchEager/Client.java index 24d58d7383..c79e213550 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entitytest/persist/oneXmanyFetchEager/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/entitytest/persist/oneXmanyFetchEager/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entitytest.persist.oneXmanyFetchEager; +package ee.jakarta.tck.persistence.entitytest.persist.oneXmanyFetchEager; import java.lang.System.Logger; import java.util.ArrayList; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/datetime/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/datetime/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/datetime/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/datetime/Client.java index a112573205..aa756c1039 100755 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/datetime/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/datetime/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.datetime; +package ee.jakarta.tck.persistence.jpa22.datetime; import java.lang.System.Logger; import java.time.LocalDate; @@ -32,7 +32,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityTransaction; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/datetime/DateTimeEntity.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/datetime/DateTimeEntity.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/datetime/DateTimeEntity.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/datetime/DateTimeEntity.java index 67c07b718f..5d997d4f11 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/datetime/DateTimeEntity.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/datetime/DateTimeEntity.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.datetime; +package ee.jakarta.tck.persistence.jpa22.datetime; import java.time.LocalDate; import java.time.LocalDateTime; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/datetime/DummyEntity.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/datetime/DummyEntity.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/datetime/DummyEntity.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/datetime/DummyEntity.java index 6cc6b81968..5d4b2dae9a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/datetime/DummyEntity.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/datetime/DummyEntity.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.datetime; +package ee.jakarta.tck.persistence.jpa22.datetime; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/generators/tablegenerators/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/generators/tablegenerators/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/generators/tablegenerators/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/generators/tablegenerators/Client.java index f4971bc401..0db990554e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/generators/tablegenerators/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/generators/tablegenerators/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.generators.tablegenerators; +package ee.jakarta.tck.persistence.jpa22.generators.tablegenerators; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/generators/tablegenerators/DataTypes.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/generators/tablegenerators/DataTypes.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/generators/tablegenerators/DataTypes.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/generators/tablegenerators/DataTypes.java index b3aa682f34..8d9e527921 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/generators/tablegenerators/DataTypes.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/generators/tablegenerators/DataTypes.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.generators.tablegenerators; +package ee.jakarta.tck.persistence.jpa22.generators.tablegenerators; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/query/stream/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/query/stream/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/query/stream/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/query/stream/Client.java index 5c8c92a388..02475ca9d2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/query/stream/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/query/stream/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.query.stream; +package ee.jakarta.tck.persistence.jpa22.query.stream; import java.lang.System.Logger; import java.sql.Date; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.Query; import jakarta.persistence.TypedQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/query/stream/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/query/stream/Department.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/query/stream/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/query/stream/Department.java index a500c52b86..2a12cff5ee 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/query/stream/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/query/stream/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.query.stream; +package ee.jakarta.tck.persistence.jpa22.query.stream; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/query/stream/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/query/stream/Employee.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/query/stream/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/query/stream/Employee.java index 4d3ff7a973..5b8a2479dd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/query/stream/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/query/stream/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.query.stream; +package ee.jakarta.tck.persistence.jpa22.query.stream; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/query/stream/Insurance.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/query/stream/Insurance.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/query/stream/Insurance.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/query/stream/Insurance.java index 0782a1be8c..17a2f2cb13 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/query/stream/Insurance.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/query/stream/Insurance.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.jpa22.query.stream; +package ee.jakarta.tck.persistence.jpa22.query.stream; import java.util.Collection; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/AbstractPersonnel.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/AbstractPersonnel.java similarity index 93% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/AbstractPersonnel.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/AbstractPersonnel.java index 336a24f7e4..5658f6e6a5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/AbstractPersonnel.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/AbstractPersonnel.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.attroverride; +package ee.jakarta.tck.persistence.jpa22.repeatable.attroverride; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/Client.java index 67496fffeb..c4f0a53f62 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.attroverride; +package ee.jakarta.tck.persistence.jpa22.repeatable.attroverride; import java.lang.System.Logger; import java.sql.Date; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; /* * @since 2.2 diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/Department.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/Department.java index 7ef6dcae0d..994860ebbb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.attroverride; +package ee.jakarta.tck.persistence.jpa22.repeatable.attroverride; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/Employee.java index fb4b3db8fe..e960f70540 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.attroverride; +package ee.jakarta.tck.persistence.jpa22.repeatable.attroverride; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/FullTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/FullTimeEmployee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/FullTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/FullTimeEmployee.java index 7722bc0432..375727eafc 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/FullTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/FullTimeEmployee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.attroverride; +package ee.jakarta.tck.persistence.jpa22.repeatable.attroverride; import java.io.Serializable; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/PartTimeEmployee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/PartTimeEmployee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/PartTimeEmployee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/PartTimeEmployee.java index 1ed757a9ca..1b05b3d142 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/PartTimeEmployee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/PartTimeEmployee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.attroverride; +package ee.jakarta.tck.persistence.jpa22.repeatable.attroverride; import java.sql.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/Project.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/Project.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/Project.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/Project.java index 82143e7a03..552c458c16 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/attroverride/Project.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/attroverride/Project.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.attroverride; +package ee.jakarta.tck.persistence.jpa22.repeatable.attroverride; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/Address.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/Address.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/Address.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/Address.java index 2dc5ecf0ad..e232b34411 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/Address.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/Address.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.convert; +package ee.jakarta.tck.persistence.jpa22.repeatable.convert; import jakarta.persistence.Access; import jakarta.persistence.AccessType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/B.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/B.java index 1dad0d97c2..ced22fc294 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/B.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.convert; +package ee.jakarta.tck.persistence.jpa22.repeatable.convert; import jakarta.persistence.Basic; import jakarta.persistence.Convert; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/Client.java index 689b8a9a02..36d41bf60e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.convert; +package ee.jakarta.tck.persistence.jpa22.repeatable.convert; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/DotConverter.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/DotConverter.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/DotConverter.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/DotConverter.java index e486dab315..09c3c9fd13 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/DotConverter.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/DotConverter.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.convert; +package ee.jakarta.tck.persistence.jpa22.repeatable.convert; import jakarta.persistence.AttributeConverter; import jakarta.persistence.Converter; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/Employee3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/Employee3.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/Employee3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/Employee3.java index 378428d69b..67400b4d01 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/Employee3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/Employee3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.convert; +package ee.jakarta.tck.persistence.jpa22.repeatable.convert; import jakarta.persistence.Convert; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/NumberToStateConverter.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/NumberToStateConverter.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/NumberToStateConverter.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/NumberToStateConverter.java index f62398e396..a8b5aa1a27 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/convert/NumberToStateConverter.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/convert/NumberToStateConverter.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.convert; +package ee.jakarta.tck.persistence.jpa22.repeatable.convert; import jakarta.persistence.AttributeConverter; import jakarta.persistence.Converter; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/Client.java index eca1f2e7a3..4ffed8d8f2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.joincolumn; +package ee.jakarta.tck.persistence.jpa22.repeatable.joincolumn; import java.lang.System.Logger; import java.util.List; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/DID2Dependent.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/DID2Dependent.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/DID2Dependent.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/DID2Dependent.java index 22a5de5166..4cc2e1545f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/DID2Dependent.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/DID2Dependent.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.joincolumn; +package ee.jakarta.tck.persistence.jpa22.repeatable.joincolumn; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/DID2DependentId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/DID2DependentId.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/DID2DependentId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/DID2DependentId.java index 19acf2e515..3bf459817a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/DID2DependentId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/DID2DependentId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.joincolumn; +package ee.jakarta.tck.persistence.jpa22.repeatable.joincolumn; public class DID2DependentId implements java.io.Serializable { private static final long serialVersionUID = 22L; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/DID2Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/DID2Employee.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/DID2Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/DID2Employee.java index 44bf7ab947..6089116732 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/DID2Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/DID2Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.joincolumn; +package ee.jakarta.tck.persistence.jpa22.repeatable.joincolumn; import java.io.Serializable; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/DID2EmployeeId.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/DID2EmployeeId.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/DID2EmployeeId.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/DID2EmployeeId.java index 6fa1e63f10..f637842132 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/joincolumn/DID2EmployeeId.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/joincolumn/DID2EmployeeId.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.joincolumn; +package ee.jakarta.tck.persistence.jpa22.repeatable.joincolumn; public class DID2EmployeeId implements java.io.Serializable { private static final long serialVersionUID = 22L; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/mapkeyjoincolumn/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/mapkeyjoincolumn/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/mapkeyjoincolumn/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/mapkeyjoincolumn/Client.java index d0dcde5d21..3d47ab6fd0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/mapkeyjoincolumn/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/mapkeyjoincolumn/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.mapkeyjoincolumn; +package ee.jakarta.tck.persistence.jpa22.repeatable.mapkeyjoincolumn; import java.lang.System.Logger; import java.util.Hashtable; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManager; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/mapkeyjoincolumn/Course.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/mapkeyjoincolumn/Course.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/mapkeyjoincolumn/Course.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/mapkeyjoincolumn/Course.java index 5cb5b7f1ca..855b85895b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/mapkeyjoincolumn/Course.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/mapkeyjoincolumn/Course.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.mapkeyjoincolumn; +package ee.jakarta.tck.persistence.jpa22.repeatable.mapkeyjoincolumn; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/mapkeyjoincolumn/Semester.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/mapkeyjoincolumn/Semester.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/mapkeyjoincolumn/Semester.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/mapkeyjoincolumn/Semester.java index 461a976bf4..d3137c5901 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/mapkeyjoincolumn/Semester.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/mapkeyjoincolumn/Semester.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.mapkeyjoincolumn; +package ee.jakarta.tck.persistence.jpa22.repeatable.mapkeyjoincolumn; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/mapkeyjoincolumn/Student.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/mapkeyjoincolumn/Student.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/mapkeyjoincolumn/Student.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/mapkeyjoincolumn/Student.java index 5267ca9bf7..e4fd46e4c8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/mapkeyjoincolumn/Student.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/mapkeyjoincolumn/Student.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.mapkeyjoincolumn; +package ee.jakarta.tck.persistence.jpa22.repeatable.mapkeyjoincolumn; import java.util.Map; import java.util.Set; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Client.java index f983bb2824..1f1da676b0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.namedentitygraph; +package ee.jakarta.tck.persistence.jpa22.repeatable.namedentitygraph; import java.lang.System.Logger; import java.util.ArrayList; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityGraph; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Department.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Department.java index a09691e966..ea758bf5fa 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.namedentitygraph; +package ee.jakarta.tck.persistence.jpa22.repeatable.namedentitygraph; import java.util.Map; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Employee.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Employee.java index f230bf3aae..458ce97b99 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.namedentitygraph; +package ee.jakarta.tck.persistence.jpa22.repeatable.namedentitygraph; import java.util.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Employee2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Employee2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Employee2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Employee2.java index 4cb03682fb..1dd9df9eaf 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Employee2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Employee2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.namedentitygraph; +package ee.jakarta.tck.persistence.jpa22.repeatable.namedentitygraph; import java.util.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Employee3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Employee3.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Employee3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Employee3.java index f6142380ca..034f37ec26 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedentitygraph/Employee3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedentitygraph/Employee3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.namedentitygraph; +package ee.jakarta.tck.persistence.jpa22.repeatable.namedentitygraph; import java.util.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namednativequery/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namednativequery/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namednativequery/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namednativequery/Client.java index f01f7c0149..00ff8920a6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namednativequery/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namednativequery/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.namednativequery; +package ee.jakarta.tck.persistence.jpa22.repeatable.namednativequery; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namednativequery/Coffee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namednativequery/Coffee.java similarity index 89% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namednativequery/Coffee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namednativequery/Coffee.java index b63a4ab759..e3f05ae916 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namednativequery/Coffee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namednativequery/Coffee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.namednativequery; +package ee.jakarta.tck.persistence.jpa22.repeatable.namednativequery; import jakarta.persistence.Column; import jakarta.persistence.Entity; @@ -29,7 +29,7 @@ @NamedNativeQuery(name = "findAllSQLCoffees", query = "select * from COFFEE", resultSetMapping = "CoffeeResult") @SqlResultSetMapping(name = "CoffeeResult", entities = @EntityResult(entityClass = Coffee.class)) @NamedQuery(name = "findAllCoffees", query = "Select Distinct c from Coffee c") -@NamedQuery(name = "findAllNewCoffees", query = "Select NEW com.sun.ts.tests.jpa.jpa22.repeatable.namednativequery.Coffee(c.id, c.brandName, c.price) from Coffee c where c.price <> 0") +@NamedQuery(name = "findAllNewCoffees", query = "Select NEW ee.jakarta.tck.persistence.jpa22.repeatable.namednativequery.Coffee(c.id, c.brandName, c.price) from Coffee c where c.price <> 0") @Entity @Table(name = "COFFEE") public class Coffee implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedstoredprocedurequery/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedstoredprocedurequery/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedstoredprocedurequery/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedstoredprocedurequery/Client.java index b248cb1e40..0c2e11e777 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedstoredprocedurequery/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedstoredprocedurequery/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.namedstoredprocedurequery; +package ee.jakarta.tck.persistence.jpa22.repeatable.namedstoredprocedurequery; import java.lang.System.Logger; import java.util.ArrayList; @@ -29,7 +29,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.ParameterMode; import jakarta.persistence.StoredProcedureQuery; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedstoredprocedurequery/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedstoredprocedurequery/Employee.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedstoredprocedurequery/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedstoredprocedurequery/Employee.java index ee4a4edd14..4cbdecba60 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/repeatable/namedstoredprocedurequery/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/repeatable/namedstoredprocedurequery/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.repeatable.namedstoredprocedurequery; +package ee.jakarta.tck.persistence.jpa22.repeatable.namedstoredprocedurequery; import java.util.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/generators/sequencegenerators/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/generators/sequencegenerators/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/generators/sequencegenerators/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/generators/sequencegenerators/Client.java index 9e9c486a17..e50f0a7032 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/generators/sequencegenerators/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/generators/sequencegenerators/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.se.generators.sequencegenerators; +package ee.jakarta.tck.persistence.jpa22.se.generators.sequencegenerators; import java.io.File; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/generators/sequencegenerators/Simple.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/generators/sequencegenerators/Simple.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/generators/sequencegenerators/Simple.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/generators/sequencegenerators/Simple.java index 62156bdbf1..3eec108dde 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/generators/sequencegenerators/Simple.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/generators/sequencegenerators/Simple.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.se.generators.sequencegenerators; +package ee.jakarta.tck.persistence.jpa22.se.generators.sequencegenerators; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/Client.java index 3c081a6b45..f6caccabf5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.se.repeatable.secondarytable; +package ee.jakarta.tck.persistence.jpa22.se.repeatable.secondarytable; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.Cache; import jakarta.persistence.EntityManager; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/HardwareProduct.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/HardwareProduct.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/HardwareProduct.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/HardwareProduct.java index ad2648a896..9041e6c6ab 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/HardwareProduct.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/HardwareProduct.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.se.repeatable.secondarytable; +package ee.jakarta.tck.persistence.jpa22.se.repeatable.secondarytable; import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorValue; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/Product.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/Product.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/Product.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/Product.java index 8a4e0c7a7c..72559b4de6 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/Product.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/Product.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.se.repeatable.secondarytable; +package ee.jakarta.tck.persistence.jpa22.se.repeatable.secondarytable; import jakarta.persistence.Cacheable; import jakarta.persistence.Column; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/SoftwareProduct.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/SoftwareProduct.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/SoftwareProduct.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/SoftwareProduct.java index ca98d257f1..6be6e39ba1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/SoftwareProduct.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/SoftwareProduct.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.jpa22.se.repeatable.secondarytable; +package ee.jakarta.tck.persistence.jpa22.se.repeatable.secondarytable; import jakarta.persistence.Cacheable; import jakarta.persistence.Column; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/Client.java index 9e57429437..d737f0aa84 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.inherit; +package ee.jakarta.tck.persistence.se.cache.inherit; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.Cache; import jakarta.persistence.EntityManager; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/HardwareProduct.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/HardwareProduct.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/HardwareProduct.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/HardwareProduct.java index 17b09ad011..b3adee8f7d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/HardwareProduct.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/HardwareProduct.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.inherit; +package ee.jakarta.tck.persistence.se.cache.inherit; import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorValue; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/HardwareProduct2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/HardwareProduct2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/HardwareProduct2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/HardwareProduct2.java index cf8ea9068e..a88a880354 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/HardwareProduct2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/HardwareProduct2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.inherit; +package ee.jakarta.tck.persistence.se.cache.inherit; import jakarta.persistence.Column; import jakarta.persistence.DiscriminatorValue; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/Product.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/Product.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/Product.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/Product.java index 460f4ae9ba..645afc1ccf 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/Product.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/Product.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.inherit; +package ee.jakarta.tck.persistence.se.cache.inherit; import jakarta.persistence.Cacheable; import jakarta.persistence.Column; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/Product2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/Product2.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/Product2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/Product2.java index 59f6922ad5..eebd8a558a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/Product2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/Product2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.inherit; +package ee.jakarta.tck.persistence.se.cache.inherit; import jakarta.persistence.Cacheable; import jakarta.persistence.Column; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/SoftwareProduct.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/SoftwareProduct.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/SoftwareProduct.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/SoftwareProduct.java index da722557eb..d8f516db0f 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/SoftwareProduct.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/SoftwareProduct.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.inherit; +package ee.jakarta.tck.persistence.se.cache.inherit; import jakarta.persistence.Cacheable; import jakarta.persistence.Column; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/SoftwareProduct2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/SoftwareProduct2.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/SoftwareProduct2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/SoftwareProduct2.java index a8ba33c5bc..31044e761a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/inherit/SoftwareProduct2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/inherit/SoftwareProduct2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.inherit; +package ee.jakarta.tck.persistence.se.cache.inherit; import jakarta.persistence.Cacheable; import jakarta.persistence.Column; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/all/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/all/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/all/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/all/Client.java index 1c9271ffe5..24d18f2c37 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/all/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/all/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.xml.all; +package ee.jakarta.tck.persistence.se.cache.xml.all; import java.lang.System.Logger; import java.sql.Connection; @@ -28,8 +28,8 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.DriverManagerConnection; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.DriverManagerConnection; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.Cache; import jakarta.persistence.CacheRetrieveMode; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/all/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/all/Order.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/all/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/all/Order.java index 1bc54b76c6..8791970b31 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/all/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/all/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.xml.all; +package ee.jakarta.tck.persistence.se.cache.xml.all; public class Order implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/disableselective/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/disableselective/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/disableselective/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/disableselective/Client.java index 9dd0640a04..e143f3e899 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/disableselective/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/disableselective/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.xml.disableselective; +package ee.jakarta.tck.persistence.se.cache.xml.disableselective; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.Cache; import jakarta.persistence.EntityManager; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/disableselective/Customer.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/disableselective/Customer.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/disableselective/Customer.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/disableselective/Customer.java index bed4872efa..21006fd66c 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/disableselective/Customer.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/disableselective/Customer.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.xml.disableselective; +package ee.jakarta.tck.persistence.se.cache.xml.disableselective; public class Customer implements java.io.Serializable { // Instance variables diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/disableselective/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/disableselective/Order.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/disableselective/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/disableselective/Order.java index 933cee4fc6..5401bb17bd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/disableselective/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/disableselective/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.xml.disableselective; +package ee.jakarta.tck.persistence.se.cache.xml.disableselective; public class Order implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/enableselective/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/enableselective/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/enableselective/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/enableselective/Client.java index a12ed97478..79afe519b3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/enableselective/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/enableselective/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.xml.enableselective; +package ee.jakarta.tck.persistence.se.cache.xml.enableselective; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.Cache; import jakarta.persistence.EntityManager; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/enableselective/Customer.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/enableselective/Customer.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/enableselective/Customer.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/enableselective/Customer.java index 981dd4e446..5929791741 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/enableselective/Customer.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/enableselective/Customer.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.xml.enableselective; +package ee.jakarta.tck.persistence.se.cache.xml.enableselective; public class Customer implements java.io.Serializable { // Instance variables diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/enableselective/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/enableselective/Department.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/enableselective/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/enableselective/Department.java index b7084fc95f..ac3ad22200 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/enableselective/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/enableselective/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.xml.enableselective; +package ee.jakarta.tck.persistence.se.cache.xml.enableselective; public class Department implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/enableselective/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/enableselective/Order.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/enableselective/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/enableselective/Order.java index 34dbb8a3bb..e35b810399 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/enableselective/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/enableselective/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.xml.enableselective; +package ee.jakarta.tck.persistence.se.cache.xml.enableselective; public class Order implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/none/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/none/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/none/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/none/Client.java index 73e2baecba..53f395e5e5 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/none/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/none/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.xml.none; +package ee.jakarta.tck.persistence.se.cache.xml.none; import java.lang.System.Logger; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.Cache; import jakarta.persistence.EntityManager; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/none/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/none/Order.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/none/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/none/Order.java index 1f02e5fce0..9f9429f406 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/cache/xml/none/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/cache/xml/none/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.cache.xml.none; +package ee.jakarta.tck.persistence.se.cache.xml.none; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/descriptor/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/descriptor/A.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/descriptor/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/descriptor/A.java index 9af1616ea3..a2c43473ac 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/descriptor/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/descriptor/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.se.descriptor; +package ee.jakarta.tck.persistence.se.descriptor; public class A implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/descriptor/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/descriptor/B.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/descriptor/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/descriptor/B.java index c44ab24547..fb66b4b307 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/descriptor/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/descriptor/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.se.descriptor; +package ee.jakarta.tck.persistence.se.descriptor; public class B implements java.io.Serializable { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/descriptor/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/descriptor/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/descriptor/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/descriptor/Client.java index f225d9142f..a78e03a734 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/descriptor/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/descriptor/Client.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.se.descriptor; +package ee.jakarta.tck.persistence.se.descriptor; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; public class Client extends PMClientBase { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManager/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManager/A.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManager/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManager/A.java index 6bafafd3cd..52bae2dd5b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManager/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManager/A.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.entityManager; +package ee.jakarta.tck.persistence.se.entityManager; import java.lang.System.Logger; import java.math.BigDecimal; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManager/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManager/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManager/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManager/Client.java index 8fc10250d2..e562f9f70a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManager/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManager/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.entityManager; +package ee.jakarta.tck.persistence.se.entityManager; import java.lang.System.Logger; import java.util.Calendar; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.FlushModeType; import jakarta.persistence.LockModeType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManager/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManager/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManager/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManager/Employee.java index 55f040a153..24e11f8ed3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManager/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManager/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.entityManager; +package ee.jakarta.tck.persistence.se.entityManager; import java.util.Date; @@ -47,7 +47,7 @@ @StoredProcedureParameter(type = Integer.class, mode = ParameterMode.IN), @StoredProcedureParameter(type = void.class, mode = ParameterMode.REF_CURSOR) }, resultSetMappings = "id-firstname-lastname") }) @SqlResultSetMappings({ @SqlResultSetMapping(name = "id-firstname-lastname", classes = { - @ConstructorResult(targetClass = com.sun.ts.tests.jpa.se.entityManager.Employee.class, columns = { + @ConstructorResult(targetClass = ee.jakarta.tck.persistence.se.entityManager.Employee.class, columns = { @ColumnResult(name = "ID"), @ColumnResult(name = "FIRSTNAME"), @ColumnResult(name = "LASTNAME") }) }) }) @Entity diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManager/Order.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManager/Order.java index 8fde3a1f91..55cb5f06ee 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManager2/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManager/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManager2; +package ee.jakarta.tck.persistence.se.entityManager; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Client.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Client.java index 00c36bc273..bb91b89ee9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.entityManagerFactory; +package ee.jakarta.tck.persistence.se.entityManagerFactory; import java.lang.System.Logger; import java.util.Properties; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManager; import jakarta.persistence.EntityManagerFactory; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Member.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Member.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Member.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Member.java index 5231516dfd..177ebd8518 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Member.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Member.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManagerFactory; +package ee.jakarta.tck.persistence.se.entityManagerFactory; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Member_.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Member_.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Member_.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Member_.java index 6c12cccde2..e446786728 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/entityManagerFactory/Member_.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Member_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.core.entityManagerFactory; +package ee.jakarta.tck.persistence.se.entityManagerFactory; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.SingularAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Order.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Order.java index abc3b9d004..154b38db97 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.entityManagerFactory; +package ee.jakarta.tck.persistence.se.entityManagerFactory; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Order_.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Order_.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Order_.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Order_.java index 48d9887b09..1055e37b99 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/entityManagerFactory/Order_.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/entityManagerFactory/Order_.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.entityManagerFactory; +package ee.jakarta.tck.persistence.se.entityManagerFactory; import jakarta.annotation.Generated; import jakarta.persistence.metamodel.SingularAttribute; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Client.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Client.java index 0df633e0d0..7e78f54930 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.pluggability.contracts.resource_local; +package ee.jakarta.tck.persistence.se.pluggability.contracts.resource_local; import java.io.File; import java.io.InputStream; @@ -34,11 +34,11 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; -import com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation.EntityManagerFactoryImpl; -import com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation.EntityManagerImpl; -import com.sun.ts.tests.jpa.common.pluggability.util.LogFileProcessor; -import com.sun.ts.tests.jpa.common.pluggability.util.LogRecordEntry; +import ee.jakarta.tck.persistence.common.PMClientBase; +import ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation.EntityManagerFactoryImpl; +import ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation.EntityManagerImpl; +import ee.jakarta.tck.persistence.common.pluggability.util.LogFileProcessor; +import ee.jakarta.tck.persistence.common.pluggability.util.LogRecordEntry; import jakarta.persistence.EntityManager; import jakarta.persistence.SharedCacheMode; @@ -99,9 +99,9 @@ public void removePluggabilityJarFromCP() throws Exception { public JavaArchive createPluggabilityJar() throws Exception { JavaArchive archive = ShrinkWrap.create(JavaArchive.class, "jpa_alternate_provider.jar"); - archive.addPackages(true, "com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation"); + archive.addPackages(true, "ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation"); InputStream inStream = Client.class.getClassLoader().getResourceAsStream( - "com/sun/ts/tests/jpa/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider"); + "ee/jakarta/tck/persistence/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider"); StringAsset containerProvider = new StringAsset(toString(inStream)); archive.addAsManifestResource(containerProvider, "services/jakarta.persistence.spi.PersistenceProvider"); archive.as(ZipExporter.class).exportTo(new File(TEMP_DIR + File.separator + "jpa_alternate_provider.jar"), @@ -150,7 +150,7 @@ public void getLogProcessor() { public void getPersistenceProviderClassName() throws Exception { boolean pass1 = false; - String expected1 = "com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation.PersistenceProvider"; + String expected1 = "ee.jakarta.tck.persistence.common.pluggability.altprovider.implementation.PersistenceProvider"; getClassObjects(); String actual = puInfo.getPersistenceProviderClassName(); if (actual.equals(expected1)) { diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order.java index c17474a6eb..3f554739d0 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.pluggability.contracts.resource_local; +package ee.jakarta.tck.persistence.se.pluggability.contracts.resource_local; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order2.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order2.java index b4cc5917c4..8658ae40c9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order2.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.pluggability.contracts.resource_local; +package ee.jakarta.tck.persistence.se.pluggability.contracts.resource_local; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order3.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order3.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order3.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order3.java index 5723ab1e3d..3d9c3f3711 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order3.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order3.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.pluggability.contracts.resource_local; +package ee.jakarta.tck.persistence.se.pluggability.contracts.resource_local; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order4.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order4.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order4.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order4.java index c58f7da960..9bdfd02dfb 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order4.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order4.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.pluggability.contracts.resource_local; +package ee.jakarta.tck.persistence.se.pluggability.contracts.resource_local; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order5.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order5.java similarity index 94% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order5.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order5.java index 30215d6319..6c5b4bffc2 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/Order5.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/Order5.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.pluggability.contracts.resource_local; +package ee.jakarta.tck.persistence.se.pluggability.contracts.resource_local; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/resource_local/A.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/resource_local/A.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/resource_local/A.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/resource_local/A.java index ac8a7ecafa..5e3b27b532 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/resource_local/A.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/resource_local/A.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.se.resource_local; +package ee.jakarta.tck.persistence.se.resource_local; import jakarta.persistence.Basic; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/resource_local/B.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/resource_local/B.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/resource_local/B.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/resource_local/B.java index b42beee21b..bbac35b645 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/resource_local/B.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/resource_local/B.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.se.resource_local; +package ee.jakarta.tck.persistence.se.resource_local; import jakarta.persistence.Basic; import jakarta.persistence.CascadeType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/resource_local/Client1.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/resource_local/Client1.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/resource_local/Client1.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/resource_local/Client1.java index f0f76362ba..af2bb498b9 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/resource_local/Client1.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/resource_local/Client1.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.se.resource_local; +package ee.jakarta.tck.persistence.se.resource_local; import java.lang.System.Logger; import java.util.Properties; @@ -28,8 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; -import com.sun.ts.tests.jpa.ee.propagation.cm.jta.Client; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManager; import jakarta.persistence.EntityManagerFactory; @@ -41,7 +40,7 @@ public class Client1 extends PMClientBase { - private static final Logger logger = (Logger) System.getLogger(Client.class.getName()); + private static final Logger logger = (Logger) System.getLogger(Client1.class.getName()); private EntityManager entityManager; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/resource_local/Client2.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/resource_local/Client2.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/resource_local/Client2.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/resource_local/Client2.java index 1a09a30f3b..467391ae1e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/resource_local/Client2.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/resource_local/Client2.java @@ -18,7 +18,7 @@ * $Id$ */ -package com.sun.ts.tests.jpa.se.resource_local; +package ee.jakarta.tck.persistence.se.resource_local; import java.lang.System.Logger; import java.util.Properties; @@ -28,8 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; -import com.sun.ts.tests.jpa.ee.propagation.cm.jta.Client; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManager; import jakarta.persistence.EntityManagerFactory; @@ -39,7 +38,7 @@ public class Client2 extends PMClientBase { - private static final Logger logger = (Logger) System.getLogger(Client.class.getName()); + private static final Logger logger = (Logger) System.getLogger(Client2.class.getName()); private EntityManager entityManager; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/discriminatorColumn/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/discriminatorColumn/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/discriminatorColumn/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/discriminatorColumn/Client.java index 5a7b7739b3..52259ce935 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/discriminatorColumn/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/discriminatorColumn/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.discriminatorColumn; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.discriminatorColumn; import java.io.File; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/discriminatorColumn/Simple.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/discriminatorColumn/Simple.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/discriminatorColumn/Simple.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/discriminatorColumn/Simple.java index 680e022493..a41ae4f52d 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/discriminatorColumn/Simple.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/discriminatorColumn/Simple.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.discriminatorColumn; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.discriminatorColumn; import jakarta.persistence.DiscriminatorColumn; import jakarta.persistence.DiscriminatorType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/enumerated/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/enumerated/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/enumerated/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/enumerated/Client.java index ef8c16dd92..534d357817 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/enumerated/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/enumerated/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.enumerated; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.enumerated; import java.io.File; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/enumerated/Grade.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/enumerated/Grade.java similarity index 90% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/enumerated/Grade.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/enumerated/Grade.java index eae0f99ab2..090eb07819 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/enumerated/Grade.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/enumerated/Grade.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.enumerated; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.enumerated; public enum Grade { A, B, C, D, F, INCOMPLETE diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/enumerated/Simple.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/enumerated/Simple.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/enumerated/Simple.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/enumerated/Simple.java index a0bd7094d4..a7151124df 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/enumerated/Simple.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/enumerated/Simple.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.enumerated; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.enumerated; import jakarta.persistence.Entity; import jakarta.persistence.EnumType; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/id/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/id/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/id/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/id/Client.java index 42ee1b45dd..5740d5d588 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/id/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/id/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.id; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.id; import java.io.File; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/table/Simple.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/id/Simple.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/table/Simple.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/id/Simple.java index 53fe1bd04b..41d04dd3f3 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/table/Simple.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/id/Simple.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.table; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.id; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/index/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/index/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/index/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/index/Client.java index 8912db7b34..84a23130f1 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/index/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/index/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.index; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.index; import java.io.File; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/index/Simple.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/index/Simple.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/index/Simple.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/index/Simple.java index 0fb6792d93..6b1ed8ad9e 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/index/Simple.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/index/Simple.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.index; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.index; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/joinTable/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/joinTable/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/joinTable/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/joinTable/Client.java index 2a8af4fa73..8420c538db 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/joinTable/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/joinTable/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.joinTable; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.joinTable; import java.io.File; import java.lang.System.Logger; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/joinTable/Course.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/joinTable/Course.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/joinTable/Course.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/joinTable/Course.java index 7b26ed421f..2255370e61 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/joinTable/Course.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/joinTable/Course.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.joinTable; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.joinTable; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/joinTable/Student.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/joinTable/Student.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/joinTable/Student.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/joinTable/Student.java index 985869203c..a5dbbbc1e8 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/joinTable/Student.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/joinTable/Student.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.joinTable; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.joinTable; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/orderColumn/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/orderColumn/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/orderColumn/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/orderColumn/Client.java index 1ef86669b4..d86b7eb593 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/orderColumn/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/orderColumn/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.orderColumn; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.orderColumn; import java.io.File; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/orderColumn/Department.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/orderColumn/Department.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/orderColumn/Department.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/orderColumn/Department.java index 729eb1e2a0..6a08d6e186 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/orderColumn/Department.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/orderColumn/Department.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.orderColumn; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.orderColumn; import java.util.List; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/orderColumn/Employee.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/orderColumn/Employee.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/orderColumn/Employee.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/orderColumn/Employee.java index 85a3c1af59..80e2730a42 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/orderColumn/Employee.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/orderColumn/Employee.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.orderColumn; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.orderColumn; import jakarta.persistence.CascadeType; import jakarta.persistence.ConstraintMode; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/secondaryTable/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/secondaryTable/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/secondaryTable/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/secondaryTable/Client.java index b603a43dfe..5db399ff96 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/secondaryTable/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/secondaryTable/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.secondaryTable; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.secondaryTable; import java.io.File; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/secondaryTable/Simple.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/secondaryTable/Simple.java similarity index 97% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/secondaryTable/Simple.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/secondaryTable/Simple.java index 0817d3f168..aba240b4da 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/secondaryTable/Simple.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/secondaryTable/Simple.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.secondaryTable; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.secondaryTable; import jakarta.persistence.ConstraintMode; import jakarta.persistence.DiscriminatorColumn; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/sequenceGenerator/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/sequenceGenerator/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/sequenceGenerator/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/sequenceGenerator/Client.java index 7058b025a1..1921954466 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/sequenceGenerator/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/sequenceGenerator/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.sequenceGenerator; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.sequenceGenerator; import java.io.File; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/sequenceGenerator/Simple.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/sequenceGenerator/Simple.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/sequenceGenerator/Simple.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/sequenceGenerator/Simple.java index 6bad1a7deb..651a890b52 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/sequenceGenerator/Simple.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/sequenceGenerator/Simple.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.sequenceGenerator; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.sequenceGenerator; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/table/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/table/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/table/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/table/Client.java index 452c9ca947..b60cf43293 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/table/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/table/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.table; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.table; import java.io.File; import java.lang.System.Logger; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/id/Simple.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/table/Simple.java similarity index 95% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/id/Simple.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/table/Simple.java index 22befb748d..7c59d50d73 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/id/Simple.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/table/Simple.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.id; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.table; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/tableGenerator/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/tableGenerator/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/tableGenerator/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/tableGenerator/Client.java index 4fd34a3178..bbf809b3de 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/tableGenerator/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/tableGenerator/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.tableGenerator; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.tableGenerator; import java.io.File; import java.lang.System.Logger; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/tableGenerator/Simple.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/tableGenerator/Simple.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/tableGenerator/Simple.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/tableGenerator/Simple.java index a291091095..20c5814a7a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/tableGenerator/Simple.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/tableGenerator/Simple.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.tableGenerator; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.tableGenerator; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/temporal/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/temporal/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/temporal/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/temporal/Client.java index 2ddb1c438c..302300b993 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/temporal/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/temporal/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.temporal; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.temporal; import java.io.File; import java.lang.System.Logger; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/temporal/Simple.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/temporal/Simple.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/temporal/Simple.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/temporal/Simple.java index d760456f0f..7ef3a534bf 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/temporal/Simple.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/temporal/Simple.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.temporal; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.temporal; import java.util.Date; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/uniqueConstraint/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/uniqueConstraint/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/uniqueConstraint/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/uniqueConstraint/Client.java index 66190724e8..2fd9d2f555 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/uniqueConstraint/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/uniqueConstraint/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.uniqueConstraint; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.uniqueConstraint; import java.io.File; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/uniqueConstraint/Simple.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/uniqueConstraint/Simple.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/uniqueConstraint/Simple.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/uniqueConstraint/Simple.java index e08901e5a2..3c27f4f7bd 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/uniqueConstraint/Simple.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/uniqueConstraint/Simple.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.uniqueConstraint; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.uniqueConstraint; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/version/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/version/Client.java similarity index 98% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/version/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/version/Client.java index 413db45815..83ef79f019 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/version/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/version/Client.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.version; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.version; import java.io.File; import java.lang.System.Logger; @@ -27,7 +27,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/version/Simple.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/version/Simple.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/version/Simple.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/version/Simple.java index af32f7e99f..84287a153a 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/annotations/version/Simple.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/annotations/version/Simple.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.annotations.version; +package ee.jakarta.tck.persistence.se.schemaGeneration.annotations.version; import jakarta.persistence.Entity; import jakarta.persistence.Id; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/scripts/Client.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/scripts/Client.java similarity index 99% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/scripts/Client.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/scripts/Client.java index 1aaab91842..78726ae0f7 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/scripts/Client.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/scripts/Client.java @@ -21,7 +21,7 @@ false when Persistence.generateSchema(...) is called, the assertion PERSISTENCE:SPEC:2480 is covered. */ -package com.sun.ts.tests.jpa.se.schemaGeneration.scripts; +package ee.jakarta.tck.persistence.se.schemaGeneration.scripts; import java.io.BufferedReader; import java.io.File; @@ -36,7 +36,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import com.sun.ts.tests.jpa.common.PMClientBase; +import ee.jakarta.tck.persistence.common.PMClientBase; import jakarta.persistence.EntityManagerFactory; import jakarta.persistence.Persistence; diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/scripts/Simple.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/scripts/Simple.java similarity index 96% rename from jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/scripts/Simple.java rename to jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/scripts/Simple.java index c8cb95537e..80f115e98b 100644 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/se/schemaGeneration/scripts/Simple.java +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/se/schemaGeneration/scripts/Simple.java @@ -14,7 +14,7 @@ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 */ -package com.sun.ts.tests.jpa.se.schemaGeneration.scripts; +package ee.jakarta.tck.persistence.se.schemaGeneration.scripts; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/signaturetest/JPASigTest.java b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/signaturetest/JPASigTest.java new file mode 100644 index 0000000000..49ede5812c --- /dev/null +++ b/jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/signaturetest/JPASigTest.java @@ -0,0 +1,148 @@ +/* + * Copyright (c) 2007, 2024 Oracle and/or its affiliates and others. + * All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v. 2.0, which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * This Source Code may also be made available under the following Secondary + * Licenses when the conditions for such availability set forth in the + * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, + * version 2 with the GNU Classpath Exception, which is available at + * https://www.gnu.org/software/classpath/license.html. + * + * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 + */ + +package ee.jakarta.tck.persistence.signaturetest; + +import java.io.File; +import java.io.IOException; +import java.io.InputStream; +import java.lang.System.Logger; +import java.util.Properties; + +import org.junit.jupiter.api.Test; + +import com.sun.ts.tests.signaturetest.SigTest; +import com.sun.ts.tests.signaturetest.SignatureTestDriver; +import com.sun.ts.tests.signaturetest.SignatureTestDriverFactory; + +/* + * This class is a simple example of a signature test that extends the + * SigTest framework class. This signature test is run outside of the + * Java EE containers. This class also contains the boilerplate + * code necessary to create a signature test using the test framework. + * To see a complete TCK example see the javaee directory for the Java EE + * TCK signature test class. + */ +public class JPASigTest extends SigTest { + + private static final Logger logger = System.getLogger(JPASigTest.class.getName()); + + public JPASigTest(){ + setup(); + } + + /***** Abstract Method Implementation *****/ + + /** + * Returns a list of strings where each string represents a package name. Each + * package name will have it's signature tested by the signature test + * framework. + * + * @return String[] The names of the packages whose signatures should be + * verified. + */ + protected String[] getPackages() { + return new String[] { "jakarta.persistence", "jakarta.persistence.criteria", + "jakarta.persistence.metamodel", "jakarta.persistence.spi" }; + } + + + /* + * The following comments are specified in the base class that defines the + * signature tests. This is done so the test finders will find the right class + * to run. The implementation of these methods is inherited from the super + * class which is part of the signature test framework. + */ + + // NOTE: If the API under test is not part of your testing runtime + // environment, you may use the property sigTestClasspath to specify + // where the API under test lives. This should almost never be used. + // Normally the API under test should be specified in the classpath + // of the VM running the signature tests. Use either the first + // comment or the one below it depending on which properties your + // signature tests need. Please do not use both comments. + + /* + * @class.setup_props: ts_home, The base path of this TCK; sigTestClasspath; + */ + + /* + * @testName: signatureTest + * + * @assertion: An EL container must implement the required classes and APIs + * specified in the EL Specification. + * + * @test_Strategy: Using reflection, gather the implementation specific + * classes and APIs. Compare these results with the expected (required) + * classes and APIs. + * + */ + @Test + public void signatureTest() throws Exception { + + logger.log(Logger.Level.INFO, "$$$ SigTestIT.signatureTest() called"); + String mapFile = null; + String packageFile = null; + String repositoryDir = null; + Properties mapFileAsProps = null; + String[] packages = getPackages(); + String apiPackage = "jakarta.persistence"; + + try { + + InputStream inStreamMapfile = JPASigTest.class.getClassLoader().getResourceAsStream("ee/jakarta/tck/persistence/signaturetest/sig-test.map"); + File mFile = writeStreamToTempFile(inStreamMapfile, "sig-test", ".map"); + mapFile = mFile.getCanonicalPath(); + logger.log(Logger.Level.INFO, "mapFile location is :"+mapFile); + + InputStream inStreamPackageFile = JPASigTest.class.getClassLoader().getResourceAsStream("ee/jakarta/tck/persistence/signaturetest/sig-test-pkg-list.txt"); + File pFile = writeStreamToTempFile(inStreamPackageFile, "sig-test-pkg-list", ".txt"); + packageFile = pFile.getCanonicalPath(); + logger.log(Logger.Level.INFO, "packageFile location is :"+packageFile); + + mapFileAsProps = getSigTestDriver().loadMapFile(mapFile); + String packageVersion = mapFileAsProps.getProperty(apiPackage); + logger.log(Logger.Level.INFO, "Package version from mapfile :"+packageVersion); + + InputStream inStreamSigFile = JPASigTest.class.getClassLoader().getResourceAsStream("ee/jakarta/tck/persistence/signaturetest/jakarta.persistence.sig_"+packageVersion); + File sigFile = writeStreamToSigFile(inStreamSigFile, apiPackage, packageVersion); + logger.log(Logger.Level.INFO, "signature File location is :"+sigFile.getCanonicalPath()); + + } catch(IOException ex) { + logger.log(Logger.Level.ERROR, "Exception while creating temp files :"+ex); + } + + super.signatureTest(mapFile, packageFile, mapFileAsProps, packages); + } + + + /* + * Call the parent class's cleanup method. + */ + + /* + * define which sig driver we will use + */ + @Override + protected SignatureTestDriver getSigTestDriver() { + driver = SignatureTestDriverFactory + .getInstance(SignatureTestDriverFactory.SIG_TEST); + + return driver; + + } // END getSigTestDriver +} diff --git a/jpa/spec-tests/src/main/resources/LICENSE_EFTL.md b/jpa/spec-tests/src/main/resources/LICENSE_EFTL.md new file mode 100644 index 0000000000..a2106828a6 --- /dev/null +++ b/jpa/spec-tests/src/main/resources/LICENSE_EFTL.md @@ -0,0 +1,83 @@ +# Eclipse Foundation Technology Compatibility Kit License - v 1.0 + +Copyright (c) 2018, Eclipse Foundation, Inc. and its licensors. + +Redistribution and use in binary form is permitted provided that the +following conditions are met: + +1. Use of the Technology Compatibility Kit accompanying this license + (the "TCK") and its documentation is permitted solely for the + purpose of testing compatibility of an implementation (the + "Product") of a specification (the "Specification") made available + by the Eclipse Foundation, Inc. ("Eclipse"). + +2. Only those modifications expressly permitted by the TCK and its + documentation are permitted. Except in these limited circumstances, + no modifications to the TCK are permitted under this license. + +3. A Product will be deemed to be "compatible" with the Specification + if it fully and completely meets and satisfies all requirements of + the TCK. + +4. Before any claim of compatibility (or any similar claim suggesting + compatibility) is made based on the TCK, the testing party must: + + a. use the TCK to demonstrate that the Product fully and + completely meets and satisfies all requirements of the TCK; + + b. make TCK test results showing full and complete satisfaction of + all requirements of the TCK publicly available on the testing + party's website and send a link to such test results to Eclipse + at [tck@eclipse.org](mailto:tck@eclipse.org); and + + c. comply with any requirements stated in the Specification with + regard to subsetting, supersetting, modifying or extending the + Specification in any Product claimed to be compatible with the + Specification. + +5. The test results must be continuously available and the link must + be live for at least as long as the Product is available in the + marketplace. + +6. The TCK may not be used as a basis for any statements of partial + compatibility. The TCK may only be used as a basis for true, + factual statements of full compatibility of Products that fully + meet and satisfy all requirements of the TCK. + +7. A determination that a Product is compatible with the TCK does not, + in itself, give rise to the right to use any name, mark, logo + associated with the TCK, Eclipse, or Eclipse's contributors or + licensors. + +8. Upon the request of Eclipse, a tester will retract any statements + of compatibility (or any similar claim suggesting compatibility) + which Eclipse reasonably determines to be false or misleading or in + violation of the terms of this license. + +9. Redistribution of the TCK must be under this Eclipse Foundation + Technology Compatibility Kit License and must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + +10. Neither the name, trademarks or logos of Eclipse, nor the names, + trademarks or logos of its contributors or licensors may be used to + endorse or promote products tested with this software without + specific prior written permission. + +11. The source code for the TCK accompanying this license is available + from Eclipse. + +TO THE EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED ON +AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER +EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR +CONDITIONS OF TITLE, NON- INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR +A PARTICULAR PURPOSE. TO THE EXTENT PERMITTED BY APPLICABLE LAW, +NEITHER THE COPYRIGHT OWNER OR ANY CONTRIBUTORS SHALL HAVE ANY +LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE +EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. diff --git a/jpa/spec-tests/src/main/resources/LICENSE_EPL.md b/jpa/spec-tests/src/main/resources/LICENSE_EPL.md new file mode 100644 index 0000000000..1d428edaa0 --- /dev/null +++ b/jpa/spec-tests/src/main/resources/LICENSE_EPL.md @@ -0,0 +1,637 @@ +# Eclipse Public License - v 2.0 + + THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE + PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION + OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + + 1. DEFINITIONS + + "Contribution" means: + + a) in the case of the initial Contributor, the initial content + Distributed under this Agreement, and + + b) in the case of each subsequent Contributor: + i) changes to the Program, and + ii) additions to the Program; + where such changes and/or additions to the Program originate from + and are Distributed by that particular Contributor. A Contribution + "originates" from a Contributor if it was added to the Program by + such Contributor itself or anyone acting on such Contributor's behalf. + Contributions do not include changes or additions to the Program that + are not Modified Works. + + "Contributor" means any person or entity that Distributes the Program. + + "Licensed Patents" mean patent claims licensable by a Contributor which + are necessarily infringed by the use or sale of its Contribution alone + or when combined with the Program. + + "Program" means the Contributions Distributed in accordance with this + Agreement. + + "Recipient" means anyone who receives the Program under this Agreement + or any Secondary License (as applicable), including Contributors. + + "Derivative Works" shall mean any work, whether in Source Code or other + form, that is based on (or derived from) the Program and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. + + "Modified Works" shall mean any work in Source Code or other form that + results from an addition to, deletion from, or modification of the + contents of the Program, including, for purposes of clarity any new file + in Source Code form that contains any contents of the Program. Modified + Works shall not include works that contain only declarations, + interfaces, types, classes, structures, or files of the Program solely + in each case in order to link to, bind by name, or subclass the Program + or Modified Works thereof. + + "Distribute" means the acts of a) distributing or b) making available + in any manner that enables the transfer of a copy. + + "Source Code" means the form of a Program preferred for making + modifications, including but not limited to software source code, + documentation source, and configuration files. + + "Secondary License" means either the GNU General Public License, + Version 2.0, or any later versions of that license, including any + exceptions or additional permissions as identified by the initial + Contributor. + + 2. GRANT OF RIGHTS + + a) Subject to the terms of this Agreement, each Contributor hereby + grants Recipient a non-exclusive, worldwide, royalty-free copyright + license to reproduce, prepare Derivative Works of, publicly display, + publicly perform, Distribute and sublicense the Contribution of such + Contributor, if any, and such Derivative Works. + + b) Subject to the terms of this Agreement, each Contributor hereby + grants Recipient a non-exclusive, worldwide, royalty-free patent + license under Licensed Patents to make, use, sell, offer to sell, + import and otherwise transfer the Contribution of such Contributor, + if any, in Source Code or other form. This patent license shall + apply to the combination of the Contribution and the Program if, at + the time the Contribution is added by the Contributor, such addition + of the Contribution causes such combination to be covered by the + Licensed Patents. The patent license shall not apply to any other + combinations which include the Contribution. No hardware per se is + licensed hereunder. + + c) Recipient understands that although each Contributor grants the + licenses to its Contributions set forth herein, no assurances are + provided by any Contributor that the Program does not infringe the + patent or other intellectual property rights of any other entity. + Each Contributor disclaims any liability to Recipient for claims + brought by any other entity based on infringement of intellectual + property rights or otherwise. As a condition to exercising the + rights and licenses granted hereunder, each Recipient hereby + assumes sole responsibility to secure any other intellectual + property rights needed, if any. For example, if a third party + patent license is required to allow Recipient to Distribute the + Program, it is Recipient's responsibility to acquire that license + before distributing the Program. + + d) Each Contributor represents that to its knowledge it has + sufficient copyright rights in its Contribution, if any, to grant + the copyright license set forth in this Agreement. + + e) Notwithstanding the terms of any Secondary License, no + Contributor makes additional grants to any Recipient (other than + those set forth in this Agreement) as a result of such Recipient's + receipt of the Program under the terms of a Secondary License + (if permitted under the terms of Section 3). + + 3. REQUIREMENTS + + 3.1 If a Contributor Distributes the Program in any form, then: + + a) the Program must also be made available as Source Code, in + accordance with section 3.2, and the Contributor must accompany + the Program with a statement that the Source Code for the Program + is available under this Agreement, and informs Recipients how to + obtain it in a reasonable manner on or through a medium customarily + used for software exchange; and + + b) the Contributor may Distribute the Program under a license + different than this Agreement, provided that such license: + i) effectively disclaims on behalf of all other Contributors all + warranties and conditions, express and implied, including + warranties or conditions of title and non-infringement, and + implied warranties or conditions of merchantability and fitness + for a particular purpose; + + ii) effectively excludes on behalf of all other Contributors all + liability for damages, including direct, indirect, special, + incidental and consequential damages, such as lost profits; + + iii) does not attempt to limit or alter the recipients' rights + in the Source Code under section 3.2; and + + iv) requires any subsequent distribution of the Program by any + party to be under a license that satisfies the requirements + of this section 3. + + 3.2 When the Program is Distributed as Source Code: + + a) it must be made available under this Agreement, or if the + Program (i) is combined with other material in a separate file or + files made available under a Secondary License, and (ii) the initial + Contributor attached to the Source Code the notice described in + Exhibit A of this Agreement, then the Program may be made available + under the terms of such Secondary Licenses, and + + b) a copy of this Agreement must be included with each copy of + the Program. + + 3.3 Contributors may not remove or alter any copyright, patent, + trademark, attribution notices, disclaimers of warranty, or limitations + of liability ("notices") contained within the Program from any copy of + the Program which they Distribute, provided that Contributors may add + their own appropriate notices. + + 4. COMMERCIAL DISTRIBUTION + + Commercial distributors of software may accept certain responsibilities + with respect to end users, business partners and the like. While this + license is intended to facilitate the commercial use of the Program, + the Contributor who includes the Program in a commercial product + offering should do so in a manner which does not create potential + liability for other Contributors. Therefore, if a Contributor includes + the Program in a commercial product offering, such Contributor + ("Commercial Contributor") hereby agrees to defend and indemnify every + other Contributor ("Indemnified Contributor") against any losses, + damages and costs (collectively "Losses") arising from claims, lawsuits + and other legal actions brought by a third party against the Indemnified + Contributor to the extent caused by the acts or omissions of such + Commercial Contributor in connection with its distribution of the Program + in a commercial product offering. The obligations in this section do not + apply to any claims or Losses relating to any actual or alleged + intellectual property infringement. In order to qualify, an Indemnified + Contributor must: a) promptly notify the Commercial Contributor in + writing of such claim, and b) allow the Commercial Contributor to control, + and cooperate with the Commercial Contributor in, the defense and any + related settlement negotiations. The Indemnified Contributor may + participate in any such claim at its own expense. + + For example, a Contributor might include the Program in a commercial + product offering, Product X. That Contributor is then a Commercial + Contributor. If that Commercial Contributor then makes performance + claims, or offers warranties related to Product X, those performance + claims and warranties are such Commercial Contributor's responsibility + alone. Under this section, the Commercial Contributor would have to + defend claims against the other Contributors related to those performance + claims and warranties, and if a court requires any other Contributor to + pay any damages as a result, the Commercial Contributor must pay + those damages. + + 5. NO WARRANTY + + EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT + PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" + BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR + IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF + TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR + PURPOSE. Each Recipient is solely responsible for determining the + appropriateness of using and distributing the Program and assumes all + risks associated with its exercise of rights under this Agreement, + including but not limited to the risks and costs of program errors, + compliance with applicable laws, damage to or loss of data, programs + or equipment, and unavailability or interruption of operations. + + 6. DISCLAIMER OF LIABILITY + + EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT + PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS + SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST + PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE + EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGES. + + 7. GENERAL + + If any provision of this Agreement is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this Agreement, and without further + action by the parties hereto, such provision shall be reformed to the + minimum extent necessary to make such provision valid and enforceable. + + If Recipient institutes patent litigation against any entity + (including a cross-claim or counterclaim in a lawsuit) alleging that the + Program itself (excluding combinations of the Program with other software + or hardware) infringes such Recipient's patent(s), then such Recipient's + rights granted under Section 2(b) shall terminate as of the date such + litigation is filed. + + All Recipient's rights under this Agreement shall terminate if it + fails to comply with any of the material terms or conditions of this + Agreement and does not cure such failure in a reasonable period of + time after becoming aware of such noncompliance. If all Recipient's + rights under this Agreement terminate, Recipient agrees to cease use + and distribution of the Program as soon as reasonably practicable. + However, Recipient's obligations under this Agreement and any licenses + granted by Recipient relating to the Program shall continue and survive. + + Everyone is permitted to copy and distribute copies of this Agreement, + but in order to avoid inconsistency the Agreement is copyrighted and + may only be modified in the following manner. The Agreement Steward + reserves the right to publish new versions (including revisions) of + this Agreement from time to time. No one other than the Agreement + Steward has the right to modify this Agreement. The Eclipse Foundation + is the initial Agreement Steward. The Eclipse Foundation may assign the + responsibility to serve as the Agreement Steward to a suitable separate + entity. Each new version of the Agreement will be given a distinguishing + version number. The Program (including Contributions) may always be + Distributed subject to the version of the Agreement under which it was + received. In addition, after a new version of the Agreement is published, + Contributor may elect to Distribute the Program (including its + Contributions) under the new version. + + Except as expressly stated in Sections 2(a) and 2(b) above, Recipient + receives no rights or licenses to the intellectual property of any + Contributor under this Agreement, whether expressly, by implication, + estoppel or otherwise. All rights in the Program not expressly granted + under this Agreement are reserved. Nothing in this Agreement is intended + to be enforceable by any entity that is not a Contributor or Recipient. + No third-party beneficiary rights are created under this Agreement. + + Exhibit A - Form of Secondary Licenses Notice + + "This Source Code may also be made available under the following + Secondary Licenses when the conditions for such availability set forth + in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), + version(s), and exceptions or additional permissions here}." + + Simply including a copy of this Agreement, including this Exhibit A + is not sufficient to license the Source Code under Secondary Licenses. + + If it is not possible or desirable to put the notice in a particular + file, then You may include the notice in a location (such as a LICENSE + file in a relevant directory) where a recipient would be likely to + look for such a notice. + + You may add additional accurate notices of copyright ownership. + +--- + +## The GNU General Public License (GPL) Version 2, June 1991 + + Copyright (C) 1989, 2022 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor + Boston, MA 02110-1335 + USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your freedom to + share and change it. By contrast, the GNU General Public License is + intended to guarantee your freedom to share and change free software--to + make sure the software is free for all its users. This General Public + License applies to most of the Free Software Foundation's software and + to any other program whose authors commit to using it. (Some other Free + Software Foundation software is covered by the GNU Library General + Public License instead.) You can apply it to your programs, too. + + When we speak of free software, we are referring to freedom, not price. + Our General Public Licenses are designed to make sure that you have the + freedom to distribute copies of free software (and charge for this + service if you wish), that you receive source code or can get it if you + want it, that you can change the software or use pieces of it in new + free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid anyone + to deny you these rights or to ask you to surrender the rights. These + restrictions translate to certain responsibilities for you if you + distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether gratis + or for a fee, you must give the recipients all the rights that you have. + You must make sure that they, too, receive or can get the source code. + And you must show them these terms so they know their rights. + + We protect your rights with two steps: (1) copyright the software, and + (2) offer you this license which gives you legal permission to copy, + distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain + that everyone understands that there is no warranty for this free + software. If the software is modified by someone else and passed on, we + want its recipients to know that what they have is not the original, so + that any problems introduced by others will not reflect on the original + authors' reputations. + + Finally, any free program is threatened constantly by software patents. + We wish to avoid the danger that redistributors of a free program will + individually obtain patent licenses, in effect making the program + proprietary. To prevent this, we have made it clear that any patent must + be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and + modification follow. + + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains a + notice placed by the copyright holder saying it may be distributed under + the terms of this General Public License. The "Program", below, refers + to any such program or work, and a "work based on the Program" means + either the Program or any derivative work under copyright law: that is + to say, a work containing the Program or a portion of it, either + verbatim or with modifications and/or translated into another language. + (Hereinafter, translation is included without limitation in the term + "modification".) Each licensee is addressed as "you". + + Activities other than copying, distribution and modification are not + covered by this License; they are outside its scope. The act of running + the Program is not restricted, and the output from the Program is + covered only if its contents constitute a work based on the Program + (independent of having been made by running the Program). Whether that + is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's source + code as you receive it, in any medium, provided that you conspicuously + and appropriately publish on each copy an appropriate copyright notice + and disclaimer of warranty; keep intact all the notices that refer to + this License and to the absence of any warranty; and give any other + recipients of the Program a copy of this License along with the Program. + + You may charge a fee for the physical act of transferring a copy, and + you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion of + it, thus forming a work based on the Program, and copy and distribute + such modifications or work under the terms of Section 1 above, provided + that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any part + thereof, to be licensed as a whole at no charge to all third parties + under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a notice + that there is no warranty (or else, saying that you provide a + warranty) and that users may redistribute the program under these + conditions, and telling the user how to view a copy of this License. + (Exception: if the Program itself is interactive but does not + normally print such an announcement, your work based on the Program + is not required to print an announcement.) + + These requirements apply to the modified work as a whole. If + identifiable sections of that work are not derived from the Program, and + can be reasonably considered independent and separate works in + themselves, then this License, and its terms, do not apply to those + sections when you distribute them as separate works. But when you + distribute the same sections as part of a whole which is a work based on + the Program, the distribution of the whole must be on the terms of this + License, whose permissions for other licensees extend to the entire + whole, and thus to each and every part regardless of who wrote it. + + Thus, it is not the intent of this section to claim rights or contest + your rights to work written entirely by you; rather, the intent is to + exercise the right to control the distribution of derivative or + collective works based on the Program. + + In addition, mere aggregation of another work not based on the Program + with the Program (or with a work based on the Program) on a volume of a + storage or distribution medium does not bring the other work under the + scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, + under Section 2) in object code or executable form under the terms of + Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your cost + of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed + only for noncommercial distribution and only if you received the + program in object code or executable form with such an offer, in + accord with Subsection b above.) + + The source code for a work means the preferred form of the work for + making modifications to it. For an executable work, complete source code + means all the source code for all modules it contains, plus any + associated interface definition files, plus the scripts used to control + compilation and installation of the executable. However, as a special + exception, the source code distributed need not include anything that is + normally distributed (in either source or binary form) with the major + components (compiler, kernel, and so on) of the operating system on + which the executable runs, unless that component itself accompanies the + executable. + + If distribution of executable or object code is made by offering access + to copy from a designated place, then offering equivalent access to copy + the source code from the same place counts as distribution of the source + code, even though third parties are not compelled to copy the source + along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program + except as expressly provided under this License. Any attempt otherwise + to copy, modify, sublicense or distribute the Program is void, and will + automatically terminate your rights under this License. However, parties + who have received copies, or rights, from you under this License will + not have their licenses terminated so long as such parties remain in + full compliance. + + 5. You are not required to accept this License, since you have not + signed it. However, nothing else grants you permission to modify or + distribute the Program or its derivative works. These actions are + prohibited by law if you do not accept this License. Therefore, by + modifying or distributing the Program (or any work based on the + Program), you indicate your acceptance of this License to do so, and all + its terms and conditions for copying, distributing or modifying the + Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the + Program), the recipient automatically receives a license from the + original licensor to copy, distribute or modify the Program subject to + these terms and conditions. You may not impose any further restrictions + on the recipients' exercise of the rights granted herein. You are not + responsible for enforcing compliance by third parties to this License. + + 7. If, as a consequence of a court judgment or allegation of patent + infringement or for any other reason (not limited to patent issues), + conditions are imposed on you (whether by court order, agreement or + otherwise) that contradict the conditions of this License, they do not + excuse you from the conditions of this License. If you cannot distribute + so as to satisfy simultaneously your obligations under this License and + any other pertinent obligations, then as a consequence you may not + distribute the Program at all. For example, if a patent license would + not permit royalty-free redistribution of the Program by all those who + receive copies directly or indirectly through you, then the only way you + could satisfy both it and this License would be to refrain entirely from + distribution of the Program. + + If any portion of this section is held invalid or unenforceable under + any particular circumstance, the balance of the section is intended to + apply and the section as a whole is intended to apply in other + circumstances. + + It is not the purpose of this section to induce you to infringe any + patents or other property right claims or to contest validity of any + such claims; this section has the sole purpose of protecting the + integrity of the free software distribution system, which is implemented + by public license practices. Many people have made generous + contributions to the wide range of software distributed through that + system in reliance on consistent application of that system; it is up to + the author/donor to decide if he or she is willing to distribute + software through any other system and a licensee cannot impose that choice. + + This section is intended to make thoroughly clear what is believed to be + a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in + certain countries either by patents or by copyrighted interfaces, the + original copyright holder who places the Program under this License may + add an explicit geographical distribution limitation excluding those + countries, so that distribution is permitted only in or among countries + not thus excluded. In such case, this License incorporates the + limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new + versions of the General Public License from time to time. Such new + versions will be similar in spirit to the present version, but may + differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the Program + specifies a version number of this License which applies to it and "any + later version", you have the option of following the terms and + conditions either of that version or of any later version published by + the Free Software Foundation. If the Program does not specify a version + number of this License, you may choose any version ever published by the + Free Software Foundation. + + 10. If you wish to incorporate parts of the Program into other free + programs whose distribution conditions are different, write to the + author to ask for permission. For software which is copyrighted by the + Free Software Foundation, write to the Free Software Foundation; we + sometimes make exceptions for this. Our decision will be guided by the + two goals of preserving the free status of all derivatives of our free + software and of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO + WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. + EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR + OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, + EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE + ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH + YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL + NECESSARY SERVICING, REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN + WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY + AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR + DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL + DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM + (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED + INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF + THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR + OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest + possible use to the public, the best way to achieve this is to make it + free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest to + attach them to the start of each source file to most effectively convey + the exclusion of warranty; and each file should have at least the + "copyright" line and a pointer to where the full notice is found. + + One line to give the program's name and a brief idea of what it does. + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA + + Also add information on how to contact you by electronic and paper mail. + + If the program is interactive, make it output a short notice like this + when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type + `show w'. This is free software, and you are welcome to redistribute + it under certain conditions; type `show c' for details. + + The hypothetical commands `show w' and `show c' should show the + appropriate parts of the General Public License. Of course, the commands + you use may be called something other than `show w' and `show c'; they + could even be mouse-clicks or menu items--whatever suits your program. + + You should also get your employer (if you work as a programmer) or your + school, if any, to sign a "copyright disclaimer" for the program, if + necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + program `Gnomovision' (which makes passes at compilers) written by + James Hacker. + + signature of Ty Coon, 1 April 1989 + Ty Coon, President of Vice + + This General Public License does not permit incorporating your program + into proprietary programs. If your program is a subroutine library, you + may consider it more useful to permit linking proprietary applications + with the library. If this is what you want to do, use the GNU Library + General Public License instead of this License. + +--- + +## CLASSPATH EXCEPTION + + Linking this library statically or dynamically with other modules is + making a combined work based on this library. Thus, the terms and + conditions of the GNU General Public License version 2 cover the whole + combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent + modules, and to copy and distribute the resulting executable under + terms of your choice, provided that you also meet, for each linked + independent module, the terms and conditions of the license of that + module. An independent module is a module which is not derived from or + based on this library. If you modify this library, you may extend this + exception to your version of the library, but you are not obligated to + do so. If you do not wish to do so, delete this exception statement + from your version. diff --git a/jpa_extras/build.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/persistence-import.xml similarity index 56% rename from jpa_extras/build.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/persistence-import.xml index 11340280a8..21383402a0 100644 --- a/jpa_extras/build.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/persistence-import.xml @@ -1,7 +1,6 @@ - - + - - - - + + + - + + + + diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider similarity index 100% rename from jpa/src/main/java/com/sun/ts/tests/jpa/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider diff --git a/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/schema30/properties.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/schema30/properties.xml new file mode 100644 index 0000000000..74de5111be --- /dev/null +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/schema30/properties.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + diff --git a/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/template/persistence.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/template/persistence.xml new file mode 100644 index 0000000000..0f1783100f --- /dev/null +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/template/persistence.xml @@ -0,0 +1,40 @@ + + + + + + + Persistence Unit for CTS Vehicle Tests + jdbc/DB1 + + + Persistence Unit for CTS Vehicle Tests + jdbc/DB1 + + + The persistence.xml file may be used to designate + more than one persistence unit within the same scope. + Persistence Unit for Application Managed Resource Local + jdbc/DB_no_tx + + diff --git a/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/template/standalone/persistence.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/template/standalone/persistence.xml new file mode 100644 index 0000000000..04981a8584 --- /dev/null +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/common/template/standalone/persistence.xml @@ -0,0 +1,32 @@ + + + + + + + Persistence Unit for Java Persistence API Standalone TCK + + + Persistence Unit for Java Persistence API Standalone TCK + + diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/StoredProcedureQuery/myMappingFile.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/StoredProcedureQuery/myMappingFile.xml similarity index 93% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/StoredProcedureQuery/myMappingFile.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/StoredProcedureQuery/myMappingFile.xml index 75c33ff9d4..f4caf6317c 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/StoredProcedureQuery/myMappingFile.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/StoredProcedureQuery/myMappingFile.xml @@ -29,7 +29,7 @@ - + diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/annotations/elementcollection/myMappingFile.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/annotations/elementcollection/myMappingFile.xml similarity index 92% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/annotations/elementcollection/myMappingFile.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/annotations/elementcollection/myMappingFile.xml index c10be241cf..f8336819e4 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/annotations/elementcollection/myMappingFile.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/annotations/elementcollection/myMappingFile.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/annotations/nativequery/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/annotations/nativequery/orm.xml similarity index 92% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/annotations/nativequery/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/annotations/nativequery/orm.xml index 453ba8f15b..34e05f94e9 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/annotations/nativequery/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/annotations/nativequery/orm.xml @@ -27,7 +27,7 @@ - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/cache/basicTests/persistence_ee.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/cache/basicTests/persistence_ee.xml similarity index 89% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/cache/basicTests/persistence_ee.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/cache/basicTests/persistence_ee.xml index 9a6304a802..cacede954b 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/cache/basicTests/persistence_ee.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/cache/basicTests/persistence_ee.xml @@ -26,13 +26,13 @@ Persistence Unit for CTS Vehicle Tests jdbc/DB1 - com.sun.ts.tests.jpa.core.cache.basicTests.Order + ee.jakarta.tck.persistence.core.cache.basicTests.Order ALL Persistence Unit for CTS Vehicle Tests jdbc/DB1 - com.sun.ts.tests.jpa.core.cache.basicTests.Order + ee.jakarta.tck.persistence.core.cache.basicTests.Order ALL @@ -41,7 +41,7 @@ Persistence Unit for Application Managed Resource Local jdbc/DB_no_tx - com.sun.ts.tests.jpa.core.cache.basicTests.Order + ee.jakarta.tck.persistence.core.cache.basicTests.Order ALL diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/cache/basicTests/persistence_se.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/cache/basicTests/persistence_se.xml similarity index 90% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/cache/basicTests/persistence_se.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/cache/basicTests/persistence_se.xml index e73b62ee4f..2d915c40cd 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/cache/basicTests/persistence_se.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/cache/basicTests/persistence_se.xml @@ -20,12 +20,12 @@ Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.core.cache.basicTests.Order + ee.jakarta.tck.persistence.core.cache.basicTests.Order ALL Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.core.cache.basicTests.Order + ee.jakarta.tck.persistence.core.cache.basicTests.Order ALL diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/listener/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/listener/orm.xml similarity index 92% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/listener/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/listener/orm.xml index f40c73058d..c8a7db4a05 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/listener/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/listener/orm.xml @@ -25,7 +25,7 @@ - + diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/listeneroverride/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/listeneroverride/orm.xml similarity index 68% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/listeneroverride/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/listeneroverride/orm.xml index 77242bda1c..ef49a7cf14 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/listeneroverride/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/listeneroverride/orm.xml @@ -25,32 +25,32 @@ - + - com.sun.ts.tests.jpa.core.callback.listeneroverride + ee.jakarta.tck.persistence.core.callback.listeneroverride - - + + - - + + - - + + diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/method/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/method/orm.xml similarity index 81% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/method/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/method/orm.xml index 27458d2399..6962e8ffb5 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/method/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/method/orm.xml @@ -25,11 +25,11 @@ - + - + - + diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/methodoverride/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/methodoverride/orm.xml similarity index 86% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/methodoverride/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/methodoverride/orm.xml index 38e427ba49..ebf9a8997f 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/methodoverride/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/methodoverride/orm.xml @@ -25,17 +25,17 @@ - + - + - + - com.sun.ts.tests.jpa.core.callback.methodoverride + ee.jakarta.tck.persistence.core.callback.methodoverride diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/xml/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/xml/orm.xml similarity index 81% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/xml/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/xml/orm.xml index bdcc14449f..e20aeb408a 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/callback/xml/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/callback/xml/orm.xml @@ -25,7 +25,7 @@ - + @@ -37,9 +37,9 @@ - + - + @@ -48,7 +48,7 @@ - + @@ -59,12 +59,12 @@ - +
- + @@ -73,7 +73,7 @@ - + @@ -84,10 +84,10 @@ - +
- + @@ -96,7 +96,7 @@ - + @@ -107,10 +107,10 @@ - +
- + @@ -119,7 +119,7 @@ - + diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/entitytest/apitests/myMappingFile.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/entitytest/apitests/myMappingFile.xml similarity index 91% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/entitytest/apitests/myMappingFile.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/entitytest/apitests/myMappingFile.xml index 93231c4fec..36b0798f01 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/entitytest/apitests/myMappingFile.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/entitytest/apitests/myMappingFile.xml @@ -28,11 +28,11 @@ Select c from Coffee c where c.brandName='decaf' - + select c."ID", c."BRANDNAME", c."PRICE" from "COFFEE" c WHERE c."BRANDNAME" = 'decaf' + result-class="ee.jakarta.tck.persistence.core.entitytest.apitests.Coffee"> select c."ID", c."BRANDNAME", c."PRICE" from "COFFEE" c WHERE c."BRANDNAME" = 'decaf' diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/entitytest/apitests/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/entitytest/apitests/orm.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/entitytest/apitests/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/entitytest/apitests/orm.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/orm.xml similarity index 97% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/orm.xml index c1af0fdea5..605b216e8d 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/inheritance/mappedsc/descriptors/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/inheritance/mappedsc/descriptors/orm.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - com.sun.ts.tests.jpa.core.inheritance.mappedsc.descriptors + ee.jakarta.tck.persistence.core.inheritance.mappedsc.descriptors diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/attributeoverride/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/attributeoverride/orm.xml similarity index 81% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/attributeoverride/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/attributeoverride/orm.xml index f8002e2f09..c32659c5cb 100755 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/attributeoverride/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/attributeoverride/orm.xml @@ -22,9 +22,9 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - com.sun.ts.tests.jpa.core.override.attributeoverride - - + ee.jakarta.tck.persistence.core.override.attributeoverride + + diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/callbacklistener/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/callbacklistener/orm.xml similarity index 87% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/callbacklistener/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/callbacklistener/orm.xml index fc7b613141..2a0a7744fc 100755 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/callbacklistener/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/callbacklistener/orm.xml @@ -22,8 +22,8 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - com.sun.ts.tests.jpa.core.override.callbacklistener - + ee.jakarta.tck.persistence.core.override.callbacklistener +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/embeddable/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/embeddable/orm.xml similarity index 64% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/embeddable/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/embeddable/orm.xml index 2f0b790a0e..d8f2adb601 100755 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/embeddable/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/embeddable/orm.xml @@ -22,22 +22,22 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - com.sun.ts.tests.jpa.core.override.embeddable - - + ee.jakarta.tck.persistence.core.override.embeddable + + - - + + - - - + + + diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/entity/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/entity/orm.xml similarity index 68% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/entity/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/entity/orm.xml index d6ddb78ebc..8a4260a32e 100755 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/entity/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/entity/orm.xml @@ -22,11 +22,11 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - com.sun.ts.tests.jpa.core.override.entity - - - - + ee.jakarta.tck.persistence.core.override.entity + + + + diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/entitylistener/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/entitylistener/orm.xml similarity index 80% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/entitylistener/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/entitylistener/orm.xml index 9372b0b92d..0010a90ec8 100755 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/entitylistener/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/entitylistener/orm.xml @@ -25,14 +25,14 @@ - + - + - + diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/joincolumn/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/joincolumn/orm.xml similarity index 80% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/joincolumn/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/joincolumn/orm.xml index 46cf4c4dc5..fc94d479f3 100755 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/joincolumn/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/joincolumn/orm.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - + @@ -31,14 +31,14 @@ - + - + @@ -47,7 +47,7 @@ - + @@ -57,9 +57,9 @@ - + - + @@ -67,7 +67,7 @@ - + @@ -80,7 +80,7 @@ - + diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/manytomany/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/manytomany/orm.xml similarity index 87% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/manytomany/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/manytomany/orm.xml index 575de33cbe..9dab671d21 100755 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/manytomany/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/manytomany/orm.xml @@ -22,8 +22,8 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - com.sun.ts.tests.jpa.core.override.manytomany - + ee.jakarta.tck.persistence.core.override.manytomany + @@ -32,7 +32,7 @@ - + diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/mapkey/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/mapkey/orm.xml similarity index 80% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/mapkey/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/mapkey/orm.xml index 57ef37c2d0..0e61e292fb 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/mapkey/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/mapkey/orm.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - + id ASC @@ -32,12 +32,12 @@ - + - + @@ -47,7 +47,7 @@ - + @@ -57,7 +57,7 @@ - + @@ -67,15 +67,15 @@ - + - + cost DESC - + diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/nocallbacklistener/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/nocallbacklistener/orm.xml similarity index 86% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/nocallbacklistener/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/nocallbacklistener/orm.xml index d7a5762dda..5a33349cdc 100755 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/nocallbacklistener/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/nocallbacklistener/orm.xml @@ -22,8 +22,8 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - com.sun.ts.tests.jpa.core.override.nocallbacklistener - + ee.jakarta.tck.persistence.core.override.nocallbacklistener +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/table/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/table/orm.xml similarity index 87% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/table/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/table/orm.xml index 30fd60d884..468eb0e26c 100755 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/override/table/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/override/table/orm.xml @@ -22,8 +22,8 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - com.sun.ts.tests.jpa.core.override.table - + ee.jakarta.tck.persistence.core.override.table +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/relationship/descriptors/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/relationship/descriptors/orm.xml similarity index 86% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/core/relationship/descriptors/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/relationship/descriptors/orm.xml index cd85aabadf..f5b24f0edb 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/core/relationship/descriptors/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/core/relationship/descriptors/orm.xml @@ -22,8 +22,8 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - com.sun.ts.tests.jpa.core.relationship.descriptors - + ee.jakarta.tck.persistence.core.relationship.descriptors +
@@ -43,7 +43,7 @@ -
@@ -55,7 +55,7 @@ - +
@@ -71,7 +71,7 @@ - +
@@ -82,7 +82,7 @@ - +
@@ -121,7 +121,7 @@ - +
@@ -146,7 +146,7 @@ - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/persistence.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/persistence.xml similarity index 71% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/persistence.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/persistence.xml index da0a12e3e3..0e630c8e61 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/jpa22/se/repeatable/secondarytable/persistence.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/jpa22/se/repeatable/secondarytable/persistence.xml @@ -20,16 +20,16 @@ Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.jpa22.se.repeatable.secondarytable.Product - com.sun.ts.tests.jpa.jpa22.se.repeatable.secondarytable.SoftwareProduct - com.sun.ts.tests.jpa.jpa22.se.repeatable.secondarytable.HardwareProduct + ee.jakarta.tck.persistence.jpa22.se.repeatable.secondarytable.Product + ee.jakarta.tck.persistence.jpa22.se.repeatable.secondarytable.SoftwareProduct + ee.jakarta.tck.persistence.jpa22.se.repeatable.secondarytable.HardwareProduct ENABLE_SELECTIVE Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.jpa22.se.repeatable.secondarytable.Product - com.sun.ts.tests.jpa.jpa22.se.repeatable.secondarytable.SoftwareProduct - com.sun.ts.tests.jpa.jpa22.se.repeatable.secondarytable.HardwareProduct + ee.jakarta.tck.persistence.jpa22.se.repeatable.secondarytable.Product + ee.jakarta.tck.persistence.jpa22.se.repeatable.secondarytable.SoftwareProduct + ee.jakarta.tck.persistence.jpa22.se.repeatable.secondarytable.HardwareProduct ENABLE_SELECTIVE diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/inherit/persistence.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/inherit/persistence.xml similarity index 60% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/inherit/persistence.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/inherit/persistence.xml index 17bde30570..532c70c53c 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/inherit/persistence.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/inherit/persistence.xml @@ -20,22 +20,22 @@ Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.se.cache.inherit.Product - com.sun.ts.tests.jpa.se.cache.inherit.SoftwareProduct - com.sun.ts.tests.jpa.se.cache.inherit.HardwareProduct - com.sun.ts.tests.jpa.se.cache.inherit.Product2 - com.sun.ts.tests.jpa.se.cache.inherit.SoftwareProduct2 - com.sun.ts.tests.jpa.se.cache.inherit.HardwareProduct2 + ee.jakarta.tck.persistence.se.cache.inherit.Product + ee.jakarta.tck.persistence.se.cache.inherit.SoftwareProduct + ee.jakarta.tck.persistence.se.cache.inherit.HardwareProduct + ee.jakarta.tck.persistence.se.cache.inherit.Product2 + ee.jakarta.tck.persistence.se.cache.inherit.SoftwareProduct2 + ee.jakarta.tck.persistence.se.cache.inherit.HardwareProduct2 ENABLE_SELECTIVE Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.se.cache.inherit.Product - com.sun.ts.tests.jpa.se.cache.inherit.SoftwareProduct - com.sun.ts.tests.jpa.se.cache.inherit.HardwareProduct - com.sun.ts.tests.jpa.se.cache.inherit.Product2 - com.sun.ts.tests.jpa.se.cache.inherit.SoftwareProduct2 - com.sun.ts.tests.jpa.se.cache.inherit.HardwareProduct2 + ee.jakarta.tck.persistence.se.cache.inherit.Product + ee.jakarta.tck.persistence.se.cache.inherit.SoftwareProduct + ee.jakarta.tck.persistence.se.cache.inherit.HardwareProduct + ee.jakarta.tck.persistence.se.cache.inherit.Product2 + ee.jakarta.tck.persistence.se.cache.inherit.SoftwareProduct2 + ee.jakarta.tck.persistence.se.cache.inherit.HardwareProduct2 ENABLE_SELECTIVE diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/all/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/all/orm.xml similarity index 92% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/all/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/all/orm.xml index 11cdde1c7b..ecbb82a201 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/all/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/all/orm.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/all/persistence.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/all/persistence.xml similarity index 91% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/all/persistence.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/all/persistence.xml index 6a9601132a..dc3029736a 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/all/persistence.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/all/persistence.xml @@ -20,12 +20,12 @@ Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.se.cache.xml.all.Order + ee.jakarta.tck.persistence.se.cache.xml.all.Order ALL Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.se.cache.xml.all.Order + ee.jakarta.tck.persistence.se.cache.xml.all.Order ALL diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/disableselective/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/disableselective/orm.xml similarity index 86% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/disableselective/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/disableselective/orm.xml index 8dbdda1f9d..4d09fdfdb6 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/disableselective/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/disableselective/orm.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
@@ -33,7 +33,7 @@ - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/disableselective/persistence.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/disableselective/persistence.xml similarity index 81% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/disableselective/persistence.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/disableselective/persistence.xml index 0579bd77fc..db75df61c4 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/disableselective/persistence.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/disableselective/persistence.xml @@ -20,14 +20,14 @@ Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.se.cache.xml.disableselective.Order - com.sun.ts.tests.jpa.se.cache.xml.disableselective.Customer + ee.jakarta.tck.persistence.se.cache.xml.disableselective.Order + ee.jakarta.tck.persistence.se.cache.xml.disableselective.Customer DISABLE_SELECTIVE Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.se.cache.xml.disableselective.Order - com.sun.ts.tests.jpa.se.cache.xml.disableselective.Customer + ee.jakarta.tck.persistence.se.cache.xml.disableselective.Order + ee.jakarta.tck.persistence.se.cache.xml.disableselective.Customer DISABLE_SELECTIVE diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/enableselective/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/enableselective/orm.xml similarity index 84% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/enableselective/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/enableselective/orm.xml index 7c9ba6d58d..ec639e52da 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/enableselective/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/enableselective/orm.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
@@ -33,7 +33,7 @@ - +
@@ -44,7 +44,7 @@ - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/enableselective/persistence.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/enableselective/persistence.xml similarity index 74% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/enableselective/persistence.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/enableselective/persistence.xml index 5123ce480b..77a0320806 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/enableselective/persistence.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/enableselective/persistence.xml @@ -20,16 +20,16 @@ Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.se.cache.xml.enableselective.Order - com.sun.ts.tests.jpa.se.cache.xml.enableselective.Customer - com.sun.ts.tests.jpa.se.cache.xml.enableselective.Department + ee.jakarta.tck.persistence.se.cache.xml.enableselective.Order + ee.jakarta.tck.persistence.se.cache.xml.enableselective.Customer + ee.jakarta.tck.persistence.se.cache.xml.enableselective.Department ENABLE_SELECTIVE Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.se.cache.xml.enableselective.Order - com.sun.ts.tests.jpa.se.cache.xml.enableselective.Customer - com.sun.ts.tests.jpa.se.cache.xml.enableselective.Department + ee.jakarta.tck.persistence.se.cache.xml.enableselective.Order + ee.jakarta.tck.persistence.se.cache.xml.enableselective.Customer + ee.jakarta.tck.persistence.se.cache.xml.enableselective.Department ENABLE_SELECTIVE diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/none/persistence.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/none/persistence.xml similarity index 90% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/none/persistence.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/none/persistence.xml index 249cbf0527..738a768ed9 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/cache/xml/none/persistence.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/cache/xml/none/persistence.xml @@ -20,12 +20,12 @@ Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.se.cache.xml.none.Order + ee.jakarta.tck.persistence.se.cache.xml.none.Order NONE Persistence Unit for Java Persistence API Standalone TCK - com.sun.ts.tests.jpa.se.cache.xml.none.Order + ee.jakarta.tck.persistence.se.cache.xml.none.Order NONE diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/descriptor/myMappingFile.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/descriptor/myMappingFile.xml similarity index 85% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/se/descriptor/myMappingFile.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/descriptor/myMappingFile.xml index fc7aadb688..b1bc783611 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/descriptor/myMappingFile.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/descriptor/myMappingFile.xml @@ -22,7 +22,7 @@ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
@@ -35,12 +35,12 @@ - +
@@ -53,7 +53,7 @@ diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/descriptor/persistence.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/descriptor/persistence.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/se/descriptor/persistence.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/descriptor/persistence.xml diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/myMappingFile1.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/myMappingFile1.xml similarity index 91% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/myMappingFile1.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/myMappingFile1.xml index fde70d8b79..6354b413d4 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/ee/pluggability/contracts/resource_local/myMappingFile1.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/myMappingFile1.xml @@ -23,7 +23,7 @@ https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/myMappingFile2.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/myMappingFile2.xml similarity index 91% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/myMappingFile2.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/myMappingFile2.xml index 20f52e5f67..a38d34a37c 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/myMappingFile2.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/myMappingFile2.xml @@ -23,7 +23,7 @@ https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/orm.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/orm.xml similarity index 91% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/orm.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/orm.xml index db61c8b118..b6e6abc502 100644 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/orm.xml +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/orm.xml @@ -23,7 +23,7 @@ https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd" version="3.1"> - +
diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/persistence.xml b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/persistence.xml similarity index 100% rename from jpa/src/main/resources/com/sun/ts/tests/jpa/se/pluggability/contracts/resource_local/persistence.xml rename to jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/se/pluggability/contracts/resource_local/persistence.xml diff --git a/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/signaturetest/jakarta.persistence.sig_3.2 b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/signaturetest/jakarta.persistence.sig_3.2 new file mode 100644 index 0000000000..2718e045bb --- /dev/null +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/signaturetest/jakarta.persistence.sig_3.2 @@ -0,0 +1,2326 @@ +#Signature file v4.1 +#Version 3.2 + +CLSS public abstract interface !annotation jakarta.persistence.Access + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE, METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.AccessType value() + +CLSS public final !enum jakarta.persistence.AccessType +fld public final static jakarta.persistence.AccessType FIELD +fld public final static jakarta.persistence.AccessType PROPERTY +meth public static jakarta.persistence.AccessType valueOf(java.lang.String) +meth public static jakarta.persistence.AccessType[] values() +supr java.lang.Enum + +CLSS public abstract interface !annotation jakarta.persistence.AssociationOverride + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.AssociationOverrides) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE, METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.ForeignKey foreignKey() +meth public abstract !hasdefault jakarta.persistence.JoinColumn[] joinColumns() +meth public abstract !hasdefault jakarta.persistence.JoinTable joinTable() +meth public abstract java.lang.String name() + +CLSS public abstract interface !annotation jakarta.persistence.AssociationOverrides + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE, METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.AssociationOverride[] value() + +CLSS public abstract interface jakarta.persistence.AttributeConverter<%0 extends java.lang.Object, %1 extends java.lang.Object> +meth public abstract {jakarta.persistence.AttributeConverter%0} convertToEntityAttribute({jakarta.persistence.AttributeConverter%1}) +meth public abstract {jakarta.persistence.AttributeConverter%1} convertToDatabaseColumn({jakarta.persistence.AttributeConverter%0}) + +CLSS public abstract interface jakarta.persistence.AttributeNode<%0 extends java.lang.Object> +meth public abstract java.lang.String getAttributeName() +meth public abstract java.util.Map getKeySubgraphs() +meth public abstract java.util.Map getSubgraphs() + +CLSS public abstract interface !annotation jakarta.persistence.AttributeOverride + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.AttributeOverrides) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE, METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.Column column() +meth public abstract java.lang.String name() + +CLSS public abstract interface !annotation jakarta.persistence.AttributeOverrides + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE, METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.AttributeOverride[] value() + +CLSS public abstract interface !annotation jakarta.persistence.Basic + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean optional() +meth public abstract !hasdefault jakarta.persistence.FetchType fetch() + +CLSS public abstract interface jakarta.persistence.Cache +meth public abstract <%0 extends java.lang.Object> {%%0} unwrap(java.lang.Class<{%%0}>) +meth public abstract boolean contains(java.lang.Class,java.lang.Object) +meth public abstract void evict(java.lang.Class) +meth public abstract void evict(java.lang.Class,java.lang.Object) +meth public abstract void evictAll() + +CLSS public final !enum jakarta.persistence.CacheRetrieveMode +fld public final static jakarta.persistence.CacheRetrieveMode BYPASS +fld public final static jakarta.persistence.CacheRetrieveMode USE +intf jakarta.persistence.FindOption +meth public static jakarta.persistence.CacheRetrieveMode valueOf(java.lang.String) +meth public static jakarta.persistence.CacheRetrieveMode[] values() +supr java.lang.Enum + +CLSS public final !enum jakarta.persistence.CacheStoreMode +fld public final static jakarta.persistence.CacheStoreMode BYPASS +fld public final static jakarta.persistence.CacheStoreMode REFRESH +fld public final static jakarta.persistence.CacheStoreMode USE +intf jakarta.persistence.FindOption +intf jakarta.persistence.RefreshOption +meth public static jakarta.persistence.CacheStoreMode valueOf(java.lang.String) +meth public static jakarta.persistence.CacheStoreMode[] values() +supr java.lang.Enum + +CLSS public abstract interface !annotation jakarta.persistence.Cacheable + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean value() + +CLSS public final !enum jakarta.persistence.CascadeType +fld public final static jakarta.persistence.CascadeType ALL +fld public final static jakarta.persistence.CascadeType DETACH +fld public final static jakarta.persistence.CascadeType MERGE +fld public final static jakarta.persistence.CascadeType PERSIST +fld public final static jakarta.persistence.CascadeType REFRESH +fld public final static jakarta.persistence.CascadeType REMOVE +meth public static jakarta.persistence.CascadeType valueOf(java.lang.String) +meth public static jakarta.persistence.CascadeType[] values() +supr java.lang.Enum + +CLSS public abstract interface !annotation jakarta.persistence.CheckConstraint + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() +meth public abstract java.lang.String constraint() + +CLSS public abstract interface !annotation jakarta.persistence.CollectionTable + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.ForeignKey foreignKey() +meth public abstract !hasdefault jakarta.persistence.Index[] indexes() +meth public abstract !hasdefault jakarta.persistence.JoinColumn[] joinColumns() +meth public abstract !hasdefault jakarta.persistence.UniqueConstraint[] uniqueConstraints() +meth public abstract !hasdefault java.lang.String catalog() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() +meth public abstract !hasdefault java.lang.String schema() + +CLSS public abstract interface !annotation jakarta.persistence.Column + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean insertable() +meth public abstract !hasdefault boolean nullable() +meth public abstract !hasdefault boolean unique() +meth public abstract !hasdefault boolean updatable() +meth public abstract !hasdefault int length() +meth public abstract !hasdefault int precision() +meth public abstract !hasdefault int scale() +meth public abstract !hasdefault jakarta.persistence.CheckConstraint[] check() +meth public abstract !hasdefault java.lang.String columnDefinition() +meth public abstract !hasdefault java.lang.String comment() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() +meth public abstract !hasdefault java.lang.String table() + +CLSS public abstract interface !annotation jakarta.persistence.ColumnResult + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault java.lang.Class type() +meth public abstract java.lang.String name() + +CLSS public abstract interface jakarta.persistence.ConnectionConsumer<%0 extends java.lang.Object> + anno 0 java.lang.FunctionalInterface() +meth public abstract void accept({jakarta.persistence.ConnectionConsumer%0}) throws java.lang.Exception + +CLSS public abstract interface jakarta.persistence.ConnectionFunction<%0 extends java.lang.Object, %1 extends java.lang.Object> + anno 0 java.lang.FunctionalInterface() +meth public abstract {jakarta.persistence.ConnectionFunction%1} apply({jakarta.persistence.ConnectionFunction%0}) throws java.lang.Exception + +CLSS public final !enum jakarta.persistence.ConstraintMode +fld public final static jakarta.persistence.ConstraintMode CONSTRAINT +fld public final static jakarta.persistence.ConstraintMode NO_CONSTRAINT +fld public final static jakarta.persistence.ConstraintMode PROVIDER_DEFAULT +meth public static jakarta.persistence.ConstraintMode valueOf(java.lang.String) +meth public static jakarta.persistence.ConstraintMode[] values() +supr java.lang.Enum + +CLSS public abstract interface !annotation jakarta.persistence.ConstructorResult + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.ColumnResult[] columns() +meth public abstract java.lang.Class targetClass() + +CLSS public abstract interface !annotation jakarta.persistence.Convert + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.Converts) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD, TYPE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean disableConversion() +meth public abstract !hasdefault java.lang.Class converter() +meth public abstract !hasdefault java.lang.String attributeName() + +CLSS public abstract interface !annotation jakarta.persistence.Converter + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean autoApply() + +CLSS public abstract interface !annotation jakarta.persistence.Converts + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD, TYPE]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.Convert[] value() + +CLSS public abstract interface !annotation jakarta.persistence.DiscriminatorColumn + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault int length() +meth public abstract !hasdefault jakarta.persistence.DiscriminatorType discriminatorType() +meth public abstract !hasdefault java.lang.String columnDefinition() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() + +CLSS public final !enum jakarta.persistence.DiscriminatorType +fld public final static jakarta.persistence.DiscriminatorType CHAR +fld public final static jakarta.persistence.DiscriminatorType INTEGER +fld public final static jakarta.persistence.DiscriminatorType STRING +meth public static jakarta.persistence.DiscriminatorType valueOf(java.lang.String) +meth public static jakarta.persistence.DiscriminatorType[] values() +supr java.lang.Enum + +CLSS public abstract interface !annotation jakarta.persistence.DiscriminatorValue + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract java.lang.String value() + +CLSS public abstract interface !annotation jakarta.persistence.ElementCollection + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.FetchType fetch() +meth public abstract !hasdefault java.lang.Class targetClass() + +CLSS public abstract interface !annotation jakarta.persistence.Embeddable + anno 0 java.lang.annotation.Documented() + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation jakarta.persistence.Embedded + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation jakarta.persistence.EmbeddedId + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation jakarta.persistence.Entity + anno 0 java.lang.annotation.Documented() + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault java.lang.String name() + +CLSS public jakarta.persistence.EntityExistsException +cons public init() +cons public init(java.lang.String) +cons public init(java.lang.String,java.lang.Throwable) +cons public init(java.lang.Throwable) +supr jakarta.persistence.PersistenceException + +CLSS public abstract interface jakarta.persistence.EntityGraph<%0 extends java.lang.Object> +intf jakarta.persistence.Graph<{jakarta.persistence.EntityGraph%0}> +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph addSubclassSubgraph(java.lang.Class) + anno 0 java.lang.Deprecated(boolean forRemoval=true, java.lang.String since="3.2") +meth public abstract <%0 extends {jakarta.persistence.EntityGraph%0}> jakarta.persistence.Subgraph<{%%0}> addTreatedSubgraph(java.lang.Class<{%%0}>) +meth public abstract java.lang.String getName() + +CLSS public abstract interface !annotation jakarta.persistence.EntityListeners + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract java.lang.Class[] value() + +CLSS public abstract interface jakarta.persistence.EntityManager +intf java.lang.AutoCloseable +meth public abstract !varargs <%0 extends java.lang.Object> {%%0} find(jakarta.persistence.EntityGraph<{%%0}>,java.lang.Object,jakarta.persistence.FindOption[]) +meth public abstract !varargs <%0 extends java.lang.Object> {%%0} find(java.lang.Class<{%%0}>,java.lang.Object,jakarta.persistence.FindOption[]) +meth public abstract !varargs jakarta.persistence.StoredProcedureQuery createStoredProcedureQuery(java.lang.String,java.lang.Class[]) +meth public abstract !varargs jakarta.persistence.StoredProcedureQuery createStoredProcedureQuery(java.lang.String,java.lang.String[]) +meth public abstract !varargs void lock(java.lang.Object,jakarta.persistence.LockModeType,jakarta.persistence.LockOption[]) +meth public abstract !varargs void refresh(java.lang.Object,jakarta.persistence.RefreshOption[]) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> {%%1} callWithConnection(jakarta.persistence.ConnectionFunction<{%%0},{%%1}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.EntityGraph<{%%0}> createEntityGraph(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Query createNativeQuery(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.TypedQuery<{%%0}> createNamedQuery(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.TypedQuery<{%%0}> createQuery(jakarta.persistence.TypedQueryReference<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.TypedQuery<{%%0}> createQuery(jakarta.persistence.criteria.CriteriaQuery<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.TypedQuery<{%%0}> createQuery(jakarta.persistence.criteria.CriteriaSelect<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.TypedQuery<{%%0}> createQuery(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> java.util.List> getEntityGraphs(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> void runWithConnection(jakarta.persistence.ConnectionConsumer<{%%0}>) +meth public abstract <%0 extends java.lang.Object> {%%0} find(java.lang.Class<{%%0}>,java.lang.Object) +meth public abstract <%0 extends java.lang.Object> {%%0} find(java.lang.Class<{%%0}>,java.lang.Object,jakarta.persistence.LockModeType) +meth public abstract <%0 extends java.lang.Object> {%%0} find(java.lang.Class<{%%0}>,java.lang.Object,jakarta.persistence.LockModeType,java.util.Map) +meth public abstract <%0 extends java.lang.Object> {%%0} find(java.lang.Class<{%%0}>,java.lang.Object,java.util.Map) +meth public abstract <%0 extends java.lang.Object> {%%0} getReference(java.lang.Class<{%%0}>,java.lang.Object) +meth public abstract <%0 extends java.lang.Object> {%%0} getReference({%%0}) +meth public abstract <%0 extends java.lang.Object> {%%0} merge({%%0}) +meth public abstract <%0 extends java.lang.Object> {%%0} unwrap(java.lang.Class<{%%0}>) +meth public abstract boolean contains(java.lang.Object) +meth public abstract boolean isJoinedToTransaction() +meth public abstract boolean isOpen() +meth public abstract jakarta.persistence.CacheRetrieveMode getCacheRetrieveMode() +meth public abstract jakarta.persistence.CacheStoreMode getCacheStoreMode() +meth public abstract jakarta.persistence.EntityGraph createEntityGraph(java.lang.String) +meth public abstract jakarta.persistence.EntityGraph getEntityGraph(java.lang.String) +meth public abstract jakarta.persistence.EntityManagerFactory getEntityManagerFactory() +meth public abstract jakarta.persistence.EntityTransaction getTransaction() +meth public abstract jakarta.persistence.FlushModeType getFlushMode() +meth public abstract jakarta.persistence.LockModeType getLockMode(java.lang.Object) +meth public abstract jakarta.persistence.Query createNamedQuery(java.lang.String) +meth public abstract jakarta.persistence.Query createNativeQuery(java.lang.String) +meth public abstract jakarta.persistence.Query createNativeQuery(java.lang.String,java.lang.String) +meth public abstract jakarta.persistence.Query createQuery(jakarta.persistence.criteria.CriteriaDelete) +meth public abstract jakarta.persistence.Query createQuery(jakarta.persistence.criteria.CriteriaUpdate) +meth public abstract jakarta.persistence.Query createQuery(java.lang.String) +meth public abstract jakarta.persistence.StoredProcedureQuery createNamedStoredProcedureQuery(java.lang.String) +meth public abstract jakarta.persistence.StoredProcedureQuery createStoredProcedureQuery(java.lang.String) +meth public abstract jakarta.persistence.criteria.CriteriaBuilder getCriteriaBuilder() +meth public abstract jakarta.persistence.metamodel.Metamodel getMetamodel() +meth public abstract java.lang.Object getDelegate() +meth public abstract java.util.Map getProperties() +meth public abstract void clear() +meth public abstract void close() +meth public abstract void detach(java.lang.Object) +meth public abstract void flush() +meth public abstract void joinTransaction() +meth public abstract void lock(java.lang.Object,jakarta.persistence.LockModeType) +meth public abstract void lock(java.lang.Object,jakarta.persistence.LockModeType,java.util.Map) +meth public abstract void persist(java.lang.Object) +meth public abstract void refresh(java.lang.Object) +meth public abstract void refresh(java.lang.Object,jakarta.persistence.LockModeType) +meth public abstract void refresh(java.lang.Object,jakarta.persistence.LockModeType,java.util.Map) +meth public abstract void refresh(java.lang.Object,java.util.Map) +meth public abstract void remove(java.lang.Object) +meth public abstract void setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode) +meth public abstract void setCacheStoreMode(jakarta.persistence.CacheStoreMode) +meth public abstract void setFlushMode(jakarta.persistence.FlushModeType) +meth public abstract void setProperty(java.lang.String,java.lang.Object) + +CLSS public abstract interface jakarta.persistence.EntityManagerFactory +intf java.lang.AutoCloseable +meth public abstract <%0 extends java.lang.Object> java.util.Map> getNamedEntityGraphs(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> java.util.Map> getNamedQueries(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> void addNamedEntityGraph(java.lang.String,jakarta.persistence.EntityGraph<{%%0}>) +meth public abstract <%0 extends java.lang.Object> {%%0} callInTransaction(java.util.function.Function) +meth public abstract <%0 extends java.lang.Object> {%%0} unwrap(java.lang.Class<{%%0}>) +meth public abstract boolean isOpen() +meth public abstract jakarta.persistence.Cache getCache() +meth public abstract jakarta.persistence.EntityManager createEntityManager() +meth public abstract jakarta.persistence.EntityManager createEntityManager(jakarta.persistence.SynchronizationType) +meth public abstract jakarta.persistence.EntityManager createEntityManager(jakarta.persistence.SynchronizationType,java.util.Map) +meth public abstract jakarta.persistence.EntityManager createEntityManager(java.util.Map) +meth public abstract jakarta.persistence.PersistenceUnitTransactionType getTransactionType() +meth public abstract jakarta.persistence.PersistenceUnitUtil getPersistenceUnitUtil() +meth public abstract jakarta.persistence.SchemaManager getSchemaManager() +meth public abstract jakarta.persistence.criteria.CriteriaBuilder getCriteriaBuilder() +meth public abstract jakarta.persistence.metamodel.Metamodel getMetamodel() +meth public abstract java.lang.String getName() +meth public abstract java.util.Map getProperties() +meth public abstract void addNamedQuery(java.lang.String,jakarta.persistence.Query) +meth public abstract void close() +meth public abstract void runInTransaction(java.util.function.Consumer) + +CLSS public jakarta.persistence.EntityNotFoundException +cons public init() +cons public init(java.lang.Exception) +cons public init(java.lang.String) +cons public init(java.lang.String,java.lang.Exception) +supr jakarta.persistence.PersistenceException + +CLSS public abstract interface !annotation jakarta.persistence.EntityResult + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.FieldResult[] fields() +meth public abstract !hasdefault jakarta.persistence.LockModeType lockMode() +meth public abstract !hasdefault java.lang.String discriminatorColumn() +meth public abstract java.lang.Class entityClass() + +CLSS public abstract interface jakarta.persistence.EntityTransaction +meth public abstract boolean getRollbackOnly() +meth public abstract boolean isActive() +meth public abstract void begin() +meth public abstract void commit() +meth public abstract void rollback() +meth public abstract void setRollbackOnly() + +CLSS public final !enum jakarta.persistence.EnumType +fld public final static jakarta.persistence.EnumType ORDINAL +fld public final static jakarta.persistence.EnumType STRING +meth public static jakarta.persistence.EnumType valueOf(java.lang.String) +meth public static jakarta.persistence.EnumType[] values() +supr java.lang.Enum + +CLSS public abstract interface !annotation jakarta.persistence.Enumerated + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.EnumType value() + +CLSS public abstract interface !annotation jakarta.persistence.EnumeratedValue + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[FIELD]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation jakarta.persistence.ExcludeDefaultListeners + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation jakarta.persistence.ExcludeSuperclassListeners + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation + +CLSS public final !enum jakarta.persistence.FetchType +fld public final static jakarta.persistence.FetchType EAGER +fld public final static jakarta.persistence.FetchType LAZY +meth public static jakarta.persistence.FetchType valueOf(java.lang.String) +meth public static jakarta.persistence.FetchType[] values() +supr java.lang.Enum + +CLSS public abstract interface !annotation jakarta.persistence.FieldResult + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[]) +intf java.lang.annotation.Annotation +meth public abstract java.lang.String column() +meth public abstract java.lang.String name() + +CLSS public abstract interface jakarta.persistence.FindOption + +CLSS public final !enum jakarta.persistence.FlushModeType +fld public final static jakarta.persistence.FlushModeType AUTO +fld public final static jakarta.persistence.FlushModeType COMMIT +meth public static jakarta.persistence.FlushModeType valueOf(java.lang.String) +meth public static jakarta.persistence.FlushModeType[] values() +supr java.lang.Enum + +CLSS public abstract interface !annotation jakarta.persistence.ForeignKey + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.ConstraintMode value() +meth public abstract !hasdefault java.lang.String foreignKeyDefinition() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() + +CLSS public abstract interface !annotation jakarta.persistence.GeneratedValue + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.GenerationType strategy() +meth public abstract !hasdefault java.lang.String generator() + +CLSS public final !enum jakarta.persistence.GenerationType +fld public final static jakarta.persistence.GenerationType AUTO +fld public final static jakarta.persistence.GenerationType IDENTITY +fld public final static jakarta.persistence.GenerationType SEQUENCE +fld public final static jakarta.persistence.GenerationType TABLE +fld public final static jakarta.persistence.GenerationType UUID +meth public static jakarta.persistence.GenerationType valueOf(java.lang.String) +meth public static jakarta.persistence.GenerationType[] values() +supr java.lang.Enum + +CLSS public abstract interface jakarta.persistence.Graph<%0 extends java.lang.Object> +meth public abstract !varargs void addAttributeNodes(jakarta.persistence.metamodel.Attribute[]) +meth public abstract !varargs void addAttributeNodes(java.lang.String[]) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.AttributeNode<{%%0}> addAttributeNode(jakarta.persistence.metamodel.Attribute) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.AttributeNode<{%%0}> addAttributeNode(java.lang.String) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.AttributeNode<{%%0}> getAttributeNode(jakarta.persistence.metamodel.Attribute) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.AttributeNode<{%%0}> getAttributeNode(java.lang.String) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph addKeySubgraph(jakarta.persistence.metamodel.Attribute,java.lang.Class) + anno 0 java.lang.Deprecated(boolean forRemoval=true, java.lang.String since="3.2") +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph addSubgraph(jakarta.persistence.metamodel.Attribute,java.lang.Class) + anno 0 java.lang.Deprecated(boolean forRemoval=true, java.lang.String since="3.2") +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph<{%%0}> addElementSubgraph(jakarta.persistence.metamodel.PluralAttribute) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph<{%%0}> addElementSubgraph(java.lang.String) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph<{%%0}> addElementSubgraph(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph<{%%0}> addKeySubgraph(jakarta.persistence.metamodel.Attribute) + anno 0 java.lang.Deprecated(boolean forRemoval=true, java.lang.String since="3.2") +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph<{%%0}> addKeySubgraph(java.lang.String) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph<{%%0}> addKeySubgraph(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph<{%%0}> addMapKeySubgraph(jakarta.persistence.metamodel.MapAttribute) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph<{%%0}> addSubgraph(jakarta.persistence.metamodel.Attribute) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph<{%%0}> addSubgraph(java.lang.String) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph<{%%0}> addSubgraph(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph<{%%0}> addTreatedElementSubgraph(jakarta.persistence.metamodel.PluralAttribute,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph<{%%0}> addTreatedMapKeySubgraph(jakarta.persistence.metamodel.MapAttribute,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Subgraph<{%%0}> addTreatedSubgraph(jakarta.persistence.metamodel.Attribute,java.lang.Class<{%%0}>) +meth public abstract boolean hasAttributeNode(jakarta.persistence.metamodel.Attribute) +meth public abstract boolean hasAttributeNode(java.lang.String) +meth public abstract java.util.List> getAttributeNodes() +meth public abstract void removeAttributeNode(jakarta.persistence.metamodel.Attribute) +meth public abstract void removeAttributeNode(java.lang.String) +meth public abstract void removeAttributeNodes(jakarta.persistence.metamodel.Attribute$PersistentAttributeType) + +CLSS public abstract interface !annotation jakarta.persistence.Id + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation jakarta.persistence.IdClass + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract java.lang.Class value() + +CLSS public abstract interface !annotation jakarta.persistence.Index + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean unique() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() +meth public abstract java.lang.String columnList() + +CLSS public abstract interface !annotation jakarta.persistence.Inheritance + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.InheritanceType strategy() + +CLSS public final !enum jakarta.persistence.InheritanceType +fld public final static jakarta.persistence.InheritanceType JOINED +fld public final static jakarta.persistence.InheritanceType SINGLE_TABLE +fld public final static jakarta.persistence.InheritanceType TABLE_PER_CLASS +meth public static jakarta.persistence.InheritanceType valueOf(java.lang.String) +meth public static jakarta.persistence.InheritanceType[] values() +supr java.lang.Enum + +CLSS public abstract interface !annotation jakarta.persistence.JoinColumn + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.JoinColumns) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean insertable() +meth public abstract !hasdefault boolean nullable() +meth public abstract !hasdefault boolean unique() +meth public abstract !hasdefault boolean updatable() +meth public abstract !hasdefault jakarta.persistence.CheckConstraint[] check() +meth public abstract !hasdefault jakarta.persistence.ForeignKey foreignKey() +meth public abstract !hasdefault java.lang.String columnDefinition() +meth public abstract !hasdefault java.lang.String comment() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() +meth public abstract !hasdefault java.lang.String referencedColumnName() +meth public abstract !hasdefault java.lang.String table() + +CLSS public abstract interface !annotation jakarta.persistence.JoinColumns + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.ForeignKey foreignKey() +meth public abstract jakarta.persistence.JoinColumn[] value() + +CLSS public abstract interface !annotation jakarta.persistence.JoinTable + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.CheckConstraint[] check() +meth public abstract !hasdefault jakarta.persistence.ForeignKey foreignKey() +meth public abstract !hasdefault jakarta.persistence.ForeignKey inverseForeignKey() +meth public abstract !hasdefault jakarta.persistence.Index[] indexes() +meth public abstract !hasdefault jakarta.persistence.JoinColumn[] inverseJoinColumns() +meth public abstract !hasdefault jakarta.persistence.JoinColumn[] joinColumns() +meth public abstract !hasdefault jakarta.persistence.UniqueConstraint[] uniqueConstraints() +meth public abstract !hasdefault java.lang.String catalog() +meth public abstract !hasdefault java.lang.String comment() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() +meth public abstract !hasdefault java.lang.String schema() + +CLSS public abstract interface !annotation jakarta.persistence.Lob + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation + +CLSS public final !enum jakarta.persistence.LockModeType +fld public final static jakarta.persistence.LockModeType NONE +fld public final static jakarta.persistence.LockModeType OPTIMISTIC +fld public final static jakarta.persistence.LockModeType OPTIMISTIC_FORCE_INCREMENT +fld public final static jakarta.persistence.LockModeType PESSIMISTIC_FORCE_INCREMENT +fld public final static jakarta.persistence.LockModeType PESSIMISTIC_READ +fld public final static jakarta.persistence.LockModeType PESSIMISTIC_WRITE +fld public final static jakarta.persistence.LockModeType READ +fld public final static jakarta.persistence.LockModeType WRITE +intf jakarta.persistence.FindOption +intf jakarta.persistence.RefreshOption +meth public static jakarta.persistence.LockModeType valueOf(java.lang.String) +meth public static jakarta.persistence.LockModeType[] values() +supr java.lang.Enum + +CLSS public abstract interface jakarta.persistence.LockOption + +CLSS public jakarta.persistence.LockTimeoutException +cons public init() +cons public init(java.lang.Object) +cons public init(java.lang.String) +cons public init(java.lang.String,java.lang.Throwable) +cons public init(java.lang.String,java.lang.Throwable,java.lang.Object) +cons public init(java.lang.Throwable) +meth public java.lang.Object getObject() +supr jakarta.persistence.PersistenceException +hfds entity + +CLSS public abstract interface !annotation jakarta.persistence.ManyToMany + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.CascadeType[] cascade() +meth public abstract !hasdefault jakarta.persistence.FetchType fetch() +meth public abstract !hasdefault java.lang.Class targetEntity() +meth public abstract !hasdefault java.lang.String mappedBy() + +CLSS public abstract interface !annotation jakarta.persistence.ManyToOne + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean optional() +meth public abstract !hasdefault jakarta.persistence.CascadeType[] cascade() +meth public abstract !hasdefault jakarta.persistence.FetchType fetch() +meth public abstract !hasdefault java.lang.Class targetEntity() + +CLSS public abstract interface !annotation jakarta.persistence.MapKey + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault java.lang.String name() + +CLSS public abstract interface !annotation jakarta.persistence.MapKeyClass + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract java.lang.Class value() + +CLSS public abstract interface !annotation jakarta.persistence.MapKeyColumn + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean insertable() +meth public abstract !hasdefault boolean nullable() +meth public abstract !hasdefault boolean unique() +meth public abstract !hasdefault boolean updatable() +meth public abstract !hasdefault int length() +meth public abstract !hasdefault int precision() +meth public abstract !hasdefault int scale() +meth public abstract !hasdefault java.lang.String columnDefinition() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() +meth public abstract !hasdefault java.lang.String table() + +CLSS public abstract interface !annotation jakarta.persistence.MapKeyEnumerated + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.EnumType value() + +CLSS public abstract interface !annotation jakarta.persistence.MapKeyJoinColumn + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.MapKeyJoinColumns) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean insertable() +meth public abstract !hasdefault boolean nullable() +meth public abstract !hasdefault boolean unique() +meth public abstract !hasdefault boolean updatable() +meth public abstract !hasdefault jakarta.persistence.ForeignKey foreignKey() +meth public abstract !hasdefault java.lang.String columnDefinition() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() +meth public abstract !hasdefault java.lang.String referencedColumnName() +meth public abstract !hasdefault java.lang.String table() + +CLSS public abstract interface !annotation jakarta.persistence.MapKeyJoinColumns + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.ForeignKey foreignKey() +meth public abstract jakarta.persistence.MapKeyJoinColumn[] value() + +CLSS public abstract interface !annotation jakarta.persistence.MapKeyTemporal + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.TemporalType value() + +CLSS public abstract interface !annotation jakarta.persistence.MappedSuperclass + anno 0 java.lang.annotation.Documented() + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation jakarta.persistence.MapsId + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault java.lang.String value() + +CLSS public abstract interface !annotation jakarta.persistence.NamedAttributeNode + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault java.lang.String keySubgraph() +meth public abstract !hasdefault java.lang.String subgraph() +meth public abstract java.lang.String value() + +CLSS public abstract interface !annotation jakarta.persistence.NamedEntityGraph + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.NamedEntityGraphs) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean includeAllAttributes() +meth public abstract !hasdefault jakarta.persistence.NamedAttributeNode[] attributeNodes() +meth public abstract !hasdefault jakarta.persistence.NamedSubgraph[] subclassSubgraphs() +meth public abstract !hasdefault jakarta.persistence.NamedSubgraph[] subgraphs() +meth public abstract !hasdefault java.lang.String name() + +CLSS public abstract interface !annotation jakarta.persistence.NamedEntityGraphs + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.NamedEntityGraph[] value() + +CLSS public abstract interface !annotation jakarta.persistence.NamedNativeQueries + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.NamedNativeQuery[] value() + +CLSS public abstract interface !annotation jakarta.persistence.NamedNativeQuery + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.NamedNativeQueries) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.ColumnResult[] columns() +meth public abstract !hasdefault jakarta.persistence.ConstructorResult[] classes() +meth public abstract !hasdefault jakarta.persistence.EntityResult[] entities() +meth public abstract !hasdefault jakarta.persistence.QueryHint[] hints() +meth public abstract !hasdefault java.lang.Class resultClass() +meth public abstract !hasdefault java.lang.String resultSetMapping() +meth public abstract java.lang.String name() +meth public abstract java.lang.String query() + +CLSS public abstract interface !annotation jakarta.persistence.NamedQueries + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.NamedQuery[] value() + +CLSS public abstract interface !annotation jakarta.persistence.NamedQuery + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.NamedQueries) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.LockModeType lockMode() +meth public abstract !hasdefault jakarta.persistence.QueryHint[] hints() +meth public abstract !hasdefault java.lang.Class resultClass() +meth public abstract java.lang.String name() +meth public abstract java.lang.String query() + +CLSS public abstract interface !annotation jakarta.persistence.NamedStoredProcedureQueries + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.NamedStoredProcedureQuery[] value() + +CLSS public abstract interface !annotation jakarta.persistence.NamedStoredProcedureQuery + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.NamedStoredProcedureQueries) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.QueryHint[] hints() +meth public abstract !hasdefault jakarta.persistence.StoredProcedureParameter[] parameters() +meth public abstract !hasdefault java.lang.Class[] resultClasses() +meth public abstract !hasdefault java.lang.String[] resultSetMappings() +meth public abstract java.lang.String name() +meth public abstract java.lang.String procedureName() + +CLSS public abstract interface !annotation jakarta.persistence.NamedSubgraph + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault java.lang.Class type() +meth public abstract jakarta.persistence.NamedAttributeNode[] attributeNodes() +meth public abstract java.lang.String name() + +CLSS public jakarta.persistence.NoResultException +cons public init() +cons public init(java.lang.String) +supr jakarta.persistence.PersistenceException + +CLSS public jakarta.persistence.NonUniqueResultException +cons public init() +cons public init(java.lang.Exception) +cons public init(java.lang.String) +cons public init(java.lang.String,java.lang.Exception) +supr jakarta.persistence.PersistenceException + +CLSS public abstract interface !annotation jakarta.persistence.OneToMany + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean orphanRemoval() +meth public abstract !hasdefault jakarta.persistence.CascadeType[] cascade() +meth public abstract !hasdefault jakarta.persistence.FetchType fetch() +meth public abstract !hasdefault java.lang.Class targetEntity() +meth public abstract !hasdefault java.lang.String mappedBy() + +CLSS public abstract interface !annotation jakarta.persistence.OneToOne + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean optional() +meth public abstract !hasdefault boolean orphanRemoval() +meth public abstract !hasdefault jakarta.persistence.CascadeType[] cascade() +meth public abstract !hasdefault jakarta.persistence.FetchType fetch() +meth public abstract !hasdefault java.lang.Class targetEntity() +meth public abstract !hasdefault java.lang.String mappedBy() + +CLSS public jakarta.persistence.OptimisticLockException +cons public init() +cons public init(java.lang.Object) +cons public init(java.lang.String) +cons public init(java.lang.String,java.lang.Throwable) +cons public init(java.lang.String,java.lang.Throwable,java.lang.Object) +cons public init(java.lang.Throwable) +meth public java.lang.Object getEntity() +supr jakarta.persistence.PersistenceException +hfds entity + +CLSS public abstract interface !annotation jakarta.persistence.OrderBy + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault java.lang.String value() + +CLSS public abstract interface !annotation jakarta.persistence.OrderColumn + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean insertable() +meth public abstract !hasdefault boolean nullable() +meth public abstract !hasdefault boolean updatable() +meth public abstract !hasdefault java.lang.String columnDefinition() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() + +CLSS public abstract interface jakarta.persistence.Parameter<%0 extends java.lang.Object> +meth public abstract java.lang.Class<{jakarta.persistence.Parameter%0}> getParameterType() +meth public abstract java.lang.Integer getPosition() +meth public abstract java.lang.String getName() + +CLSS public final !enum jakarta.persistence.ParameterMode +fld public final static jakarta.persistence.ParameterMode IN +fld public final static jakarta.persistence.ParameterMode INOUT +fld public final static jakarta.persistence.ParameterMode OUT +fld public final static jakarta.persistence.ParameterMode REF_CURSOR +meth public static jakarta.persistence.ParameterMode valueOf(java.lang.String) +meth public static jakarta.persistence.ParameterMode[] values() +supr java.lang.Enum + +CLSS public jakarta.persistence.Persistence +cons public init() + anno 0 java.lang.Deprecated(boolean forRemoval=true, java.lang.String since="3.2") +fld protected final static java.util.Set providers + anno 0 java.lang.Deprecated(boolean forRemoval=true, java.lang.String since="3.2") +fld public final static java.lang.String PERSISTENCE_PROVIDER = "jakarta.persistence.spi.PersistenceProvider" + anno 0 java.lang.Deprecated(boolean forRemoval=true, java.lang.String since="3.2") +meth public static jakarta.persistence.EntityManagerFactory createEntityManagerFactory(jakarta.persistence.PersistenceConfiguration) +meth public static jakarta.persistence.EntityManagerFactory createEntityManagerFactory(java.lang.String) +meth public static jakarta.persistence.EntityManagerFactory createEntityManagerFactory(java.lang.String,java.util.Map) +meth public static jakarta.persistence.PersistenceUtil getPersistenceUtil() +meth public static void generateSchema(java.lang.String,java.util.Map) +supr java.lang.Object +hcls PersistenceUtilImpl + +CLSS public jakarta.persistence.PersistenceConfiguration +cons public init(java.lang.String) +fld public final static java.lang.String CACHE_MODE = "jakarta.persistence.sharedCache.mode" +fld public final static java.lang.String JDBC_DATASOURCE = "jakarta.persistence.dataSource" +fld public final static java.lang.String JDBC_DRIVER = "jakarta.persistence.jdbc.driver" +fld public final static java.lang.String JDBC_PASSWORD = "jakarta.persistence.jdbc.password" +fld public final static java.lang.String JDBC_URL = "jakarta.persistence.jdbc.url" +fld public final static java.lang.String JDBC_USER = "jakarta.persistence.jdbc.user" +fld public final static java.lang.String LOCK_TIMEOUT = "jakarta.persistence.lock.timeout" +fld public final static java.lang.String QUERY_TIMEOUT = "jakarta.persistence.query.timeout" +fld public final static java.lang.String SCHEMAGEN_CREATE_SCRIPT_SOURCE = "jakarta.persistence.schema-generation.create-script-source" +fld public final static java.lang.String SCHEMAGEN_CREATE_SOURCE = "jakarta.persistence.schema-generation.create-source" +fld public final static java.lang.String SCHEMAGEN_CREATE_TARGET = "jakarta.persistence.schema-generation.create-target" +fld public final static java.lang.String SCHEMAGEN_DATABASE_ACTION = "jakarta.persistence.schema-generation.database.action" +fld public final static java.lang.String SCHEMAGEN_DROP_SCRIPT_SOURCE = "jakarta.persistence.schema-generation.drop-script-source" +fld public final static java.lang.String SCHEMAGEN_DROP_SOURCE = "jakarta.persistence.schema-generation.drop-source" +fld public final static java.lang.String SCHEMAGEN_DROP_TARGET = "jakarta.persistence.schema-generation.drop-target" +fld public final static java.lang.String SCHEMAGEN_SCRIPTS_ACTION = "jakarta.persistence.schema-generation.scripts.action" +fld public final static java.lang.String VALIDATION_FACTORY = "jakarta.persistence.validation.factory" +fld public final static java.lang.String VALIDATION_GROUP_PRE_PERSIST = "jakarta.persistence.validation.group.pre-persist" +fld public final static java.lang.String VALIDATION_GROUP_PRE_REMOVE = "jakarta.persistence.validation.group.pre-remove" +fld public final static java.lang.String VALIDATION_GROUP_PRE_UPDATE = "jakarta.persistence.validation.group.pre-update" +meth public jakarta.persistence.EntityManagerFactory createEntityManagerFactory() +meth public jakarta.persistence.PersistenceConfiguration jtaDataSource(java.lang.String) +meth public jakarta.persistence.PersistenceConfiguration managedClass(java.lang.Class) +meth public jakarta.persistence.PersistenceConfiguration mappingFile(java.lang.String) +meth public jakarta.persistence.PersistenceConfiguration nonJtaDataSource(java.lang.String) +meth public jakarta.persistence.PersistenceConfiguration properties(java.util.Map) +meth public jakarta.persistence.PersistenceConfiguration property(java.lang.String,java.lang.Object) +meth public jakarta.persistence.PersistenceConfiguration provider(java.lang.String) +meth public jakarta.persistence.PersistenceConfiguration sharedCacheMode(jakarta.persistence.SharedCacheMode) +meth public jakarta.persistence.PersistenceConfiguration transactionType(jakarta.persistence.PersistenceUnitTransactionType) +meth public jakarta.persistence.PersistenceConfiguration validationMode(jakarta.persistence.ValidationMode) +meth public jakarta.persistence.PersistenceUnitTransactionType transactionType() +meth public jakarta.persistence.SharedCacheMode sharedCacheMode() +meth public jakarta.persistence.ValidationMode validationMode() +meth public java.lang.String jtaDataSource() +meth public java.lang.String name() +meth public java.lang.String nonJtaDataSource() +meth public java.lang.String provider() +meth public java.util.List> managedClasses() +meth public java.util.List mappingFiles() +meth public java.util.Map properties() +supr java.lang.Object +hfds jtaDataSource,managedClasses,mappingFileNames,name,nonJtaDataSource,properties,provider,sharedCacheMode,transactionType,validationMode + +CLSS public abstract interface !annotation jakarta.persistence.PersistenceContext + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.PersistenceContexts) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE, METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.PersistenceContextType type() +meth public abstract !hasdefault jakarta.persistence.PersistenceProperty[] properties() +meth public abstract !hasdefault jakarta.persistence.SynchronizationType synchronization() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String unitName() + +CLSS public final !enum jakarta.persistence.PersistenceContextType +fld public final static jakarta.persistence.PersistenceContextType EXTENDED +fld public final static jakarta.persistence.PersistenceContextType TRANSACTION +meth public static jakarta.persistence.PersistenceContextType valueOf(java.lang.String) +meth public static jakarta.persistence.PersistenceContextType[] values() +supr java.lang.Enum + +CLSS public abstract interface !annotation jakarta.persistence.PersistenceContexts + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.PersistenceContext[] value() + +CLSS public jakarta.persistence.PersistenceException +cons public init() +cons public init(java.lang.String) +cons public init(java.lang.String,java.lang.Throwable) +cons public init(java.lang.Throwable) +supr java.lang.RuntimeException + +CLSS public abstract interface !annotation jakarta.persistence.PersistenceProperty + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[]) +intf java.lang.annotation.Annotation +meth public abstract java.lang.String name() +meth public abstract java.lang.String value() + +CLSS public abstract interface !annotation jakarta.persistence.PersistenceUnit + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.PersistenceUnits) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE, METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String unitName() + +CLSS public final !enum jakarta.persistence.PersistenceUnitTransactionType +fld public final static jakarta.persistence.PersistenceUnitTransactionType JTA +fld public final static jakarta.persistence.PersistenceUnitTransactionType RESOURCE_LOCAL +meth public static jakarta.persistence.PersistenceUnitTransactionType valueOf(java.lang.String) +meth public static jakarta.persistence.PersistenceUnitTransactionType[] values() +supr java.lang.Enum + +CLSS public abstract interface jakarta.persistence.PersistenceUnitUtil +intf jakarta.persistence.PersistenceUtil +meth public abstract <%0 extends java.lang.Object> boolean isLoaded({%%0},jakarta.persistence.metamodel.Attribute) +meth public abstract <%0 extends java.lang.Object> java.lang.Class getClass({%%0}) +meth public abstract <%0 extends java.lang.Object> void load({%%0},jakarta.persistence.metamodel.Attribute) +meth public abstract boolean isInstance(java.lang.Object,java.lang.Class) +meth public abstract boolean isLoaded(java.lang.Object) +meth public abstract boolean isLoaded(java.lang.Object,java.lang.String) +meth public abstract java.lang.Object getIdentifier(java.lang.Object) +meth public abstract java.lang.Object getVersion(java.lang.Object) +meth public abstract void load(java.lang.Object) +meth public abstract void load(java.lang.Object,java.lang.String) + +CLSS public abstract interface !annotation jakarta.persistence.PersistenceUnits + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.PersistenceUnit[] value() + +CLSS public abstract interface jakarta.persistence.PersistenceUtil +meth public abstract boolean isLoaded(java.lang.Object) +meth public abstract boolean isLoaded(java.lang.Object,java.lang.String) + +CLSS public jakarta.persistence.PessimisticLockException +cons public init() +cons public init(java.lang.Object) +cons public init(java.lang.String) +cons public init(java.lang.String,java.lang.Throwable) +cons public init(java.lang.String,java.lang.Throwable,java.lang.Object) +cons public init(java.lang.Throwable) +meth public java.lang.Object getEntity() +supr jakarta.persistence.PersistenceException +hfds entity + +CLSS public final !enum jakarta.persistence.PessimisticLockScope +fld public final static jakarta.persistence.PessimisticLockScope EXTENDED +fld public final static jakarta.persistence.PessimisticLockScope NORMAL +intf jakarta.persistence.FindOption +intf jakarta.persistence.LockOption +intf jakarta.persistence.RefreshOption +meth public static jakarta.persistence.PessimisticLockScope valueOf(java.lang.String) +meth public static jakarta.persistence.PessimisticLockScope[] values() +supr java.lang.Enum + +CLSS public abstract interface !annotation jakarta.persistence.PostLoad + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation jakarta.persistence.PostPersist + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation jakarta.persistence.PostRemove + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation jakarta.persistence.PostUpdate + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation jakarta.persistence.PrePersist + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation jakarta.persistence.PreRemove + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation jakarta.persistence.PreUpdate + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation jakarta.persistence.PrimaryKeyJoinColumn + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.PrimaryKeyJoinColumns) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE, METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.ForeignKey foreignKey() +meth public abstract !hasdefault java.lang.String columnDefinition() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() +meth public abstract !hasdefault java.lang.String referencedColumnName() + +CLSS public abstract interface !annotation jakarta.persistence.PrimaryKeyJoinColumns + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE, METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.ForeignKey foreignKey() +meth public abstract jakarta.persistence.PrimaryKeyJoinColumn[] value() + +CLSS public abstract interface jakarta.persistence.Query +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Parameter<{%%0}> getParameter(int,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Parameter<{%%0}> getParameter(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.Query setParameter(jakarta.persistence.Parameter<{%%0}>,{%%0}) +meth public abstract <%0 extends java.lang.Object> {%%0} getParameterValue(jakarta.persistence.Parameter<{%%0}>) +meth public abstract <%0 extends java.lang.Object> {%%0} unwrap(java.lang.Class<{%%0}>) +meth public abstract boolean isBound(jakarta.persistence.Parameter) +meth public abstract int executeUpdate() +meth public abstract int getFirstResult() +meth public abstract int getMaxResults() +meth public abstract jakarta.persistence.CacheRetrieveMode getCacheRetrieveMode() +meth public abstract jakarta.persistence.CacheStoreMode getCacheStoreMode() +meth public abstract jakarta.persistence.FlushModeType getFlushMode() +meth public abstract jakarta.persistence.LockModeType getLockMode() +meth public abstract jakarta.persistence.Parameter getParameter(int) +meth public abstract jakarta.persistence.Parameter getParameter(java.lang.String) +meth public abstract jakarta.persistence.Query setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode) +meth public abstract jakarta.persistence.Query setCacheStoreMode(jakarta.persistence.CacheStoreMode) +meth public abstract jakarta.persistence.Query setFirstResult(int) +meth public abstract jakarta.persistence.Query setFlushMode(jakarta.persistence.FlushModeType) +meth public abstract jakarta.persistence.Query setHint(java.lang.String,java.lang.Object) +meth public abstract jakarta.persistence.Query setLockMode(jakarta.persistence.LockModeType) +meth public abstract jakarta.persistence.Query setMaxResults(int) +meth public abstract jakarta.persistence.Query setParameter(int,java.lang.Object) +meth public abstract jakarta.persistence.Query setParameter(int,java.util.Calendar,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.Query setParameter(int,java.util.Date,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.Query setParameter(jakarta.persistence.Parameter,java.util.Calendar,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.Query setParameter(jakarta.persistence.Parameter,java.util.Date,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.Query setParameter(java.lang.String,java.lang.Object) +meth public abstract jakarta.persistence.Query setParameter(java.lang.String,java.util.Calendar,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.Query setParameter(java.lang.String,java.util.Date,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.Query setTimeout(java.lang.Integer) +meth public abstract java.lang.Integer getTimeout() +meth public abstract java.lang.Object getParameterValue(int) +meth public abstract java.lang.Object getParameterValue(java.lang.String) +meth public abstract java.lang.Object getSingleResult() +meth public abstract java.lang.Object getSingleResultOrNull() +meth public abstract java.util.List getResultList() +meth public abstract java.util.Map getHints() +meth public abstract java.util.Set> getParameters() +meth public java.util.stream.Stream getResultStream() + +CLSS public abstract interface !annotation jakarta.persistence.QueryHint + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[]) +intf java.lang.annotation.Annotation +meth public abstract java.lang.String name() +meth public abstract java.lang.String value() + +CLSS public jakarta.persistence.QueryTimeoutException +cons public init() +cons public init(jakarta.persistence.Query) +cons public init(java.lang.String) +cons public init(java.lang.String,java.lang.Throwable) +cons public init(java.lang.String,java.lang.Throwable,jakarta.persistence.Query) +cons public init(java.lang.Throwable) +meth public jakarta.persistence.Query getQuery() +supr jakarta.persistence.PersistenceException +hfds query + +CLSS public abstract interface jakarta.persistence.RefreshOption + +CLSS public jakarta.persistence.RollbackException +cons public init() +cons public init(java.lang.String) +cons public init(java.lang.String,java.lang.Throwable) +cons public init(java.lang.Throwable) +supr jakarta.persistence.PersistenceException + +CLSS public abstract interface jakarta.persistence.SchemaManager +meth public abstract void create(boolean) +meth public abstract void drop(boolean) +meth public abstract void truncate() +meth public abstract void validate() throws jakarta.persistence.SchemaValidationException + +CLSS public jakarta.persistence.SchemaValidationException +cons public !varargs init(java.lang.String,java.lang.Exception[]) +meth public java.lang.Exception[] getFailures() +supr java.lang.Exception +hfds failures + +CLSS public abstract interface !annotation jakarta.persistence.SecondaryTable + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.SecondaryTables) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.CheckConstraint[] check() +meth public abstract !hasdefault jakarta.persistence.ForeignKey foreignKey() +meth public abstract !hasdefault jakarta.persistence.Index[] indexes() +meth public abstract !hasdefault jakarta.persistence.PrimaryKeyJoinColumn[] pkJoinColumns() +meth public abstract !hasdefault jakarta.persistence.UniqueConstraint[] uniqueConstraints() +meth public abstract !hasdefault java.lang.String catalog() +meth public abstract !hasdefault java.lang.String comment() +meth public abstract !hasdefault java.lang.String options() +meth public abstract !hasdefault java.lang.String schema() +meth public abstract java.lang.String name() + +CLSS public abstract interface !annotation jakarta.persistence.SecondaryTables + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.SecondaryTable[] value() + +CLSS public abstract interface !annotation jakarta.persistence.SequenceGenerator + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.SequenceGenerators) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE, METHOD, FIELD, PACKAGE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault int allocationSize() +meth public abstract !hasdefault int initialValue() +meth public abstract !hasdefault java.lang.String catalog() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() +meth public abstract !hasdefault java.lang.String schema() +meth public abstract !hasdefault java.lang.String sequenceName() + +CLSS public abstract interface !annotation jakarta.persistence.SequenceGenerators + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE, METHOD, FIELD, PACKAGE]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.SequenceGenerator[] value() + +CLSS public final !enum jakarta.persistence.SharedCacheMode +fld public final static jakarta.persistence.SharedCacheMode ALL +fld public final static jakarta.persistence.SharedCacheMode DISABLE_SELECTIVE +fld public final static jakarta.persistence.SharedCacheMode ENABLE_SELECTIVE +fld public final static jakarta.persistence.SharedCacheMode NONE +fld public final static jakarta.persistence.SharedCacheMode UNSPECIFIED +meth public static jakarta.persistence.SharedCacheMode valueOf(java.lang.String) +meth public static jakarta.persistence.SharedCacheMode[] values() +supr java.lang.Enum + +CLSS public abstract interface !annotation jakarta.persistence.SqlResultSetMapping + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.SqlResultSetMappings) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.ColumnResult[] columns() +meth public abstract !hasdefault jakarta.persistence.ConstructorResult[] classes() +meth public abstract !hasdefault jakarta.persistence.EntityResult[] entities() +meth public abstract java.lang.String name() + +CLSS public abstract interface !annotation jakarta.persistence.SqlResultSetMappings + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.SqlResultSetMapping[] value() + +CLSS public abstract interface !annotation jakarta.persistence.StoredProcedureParameter + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.ParameterMode mode() +meth public abstract !hasdefault java.lang.String name() +meth public abstract java.lang.Class type() + +CLSS public abstract interface jakarta.persistence.StoredProcedureQuery +intf jakarta.persistence.Query +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.StoredProcedureQuery setParameter(jakarta.persistence.Parameter<{%%0}>,{%%0}) +meth public abstract boolean execute() +meth public abstract boolean hasMoreResults() +meth public abstract int executeUpdate() +meth public abstract int getUpdateCount() +meth public abstract jakarta.persistence.StoredProcedureQuery registerStoredProcedureParameter(int,java.lang.Class,jakarta.persistence.ParameterMode) +meth public abstract jakarta.persistence.StoredProcedureQuery registerStoredProcedureParameter(java.lang.String,java.lang.Class,jakarta.persistence.ParameterMode) +meth public abstract jakarta.persistence.StoredProcedureQuery setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode) +meth public abstract jakarta.persistence.StoredProcedureQuery setCacheStoreMode(jakarta.persistence.CacheStoreMode) +meth public abstract jakarta.persistence.StoredProcedureQuery setFlushMode(jakarta.persistence.FlushModeType) +meth public abstract jakarta.persistence.StoredProcedureQuery setHint(java.lang.String,java.lang.Object) +meth public abstract jakarta.persistence.StoredProcedureQuery setParameter(int,java.lang.Object) +meth public abstract jakarta.persistence.StoredProcedureQuery setParameter(int,java.util.Calendar,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.StoredProcedureQuery setParameter(int,java.util.Date,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.StoredProcedureQuery setParameter(jakarta.persistence.Parameter,java.util.Calendar,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.StoredProcedureQuery setParameter(jakarta.persistence.Parameter,java.util.Date,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.StoredProcedureQuery setParameter(java.lang.String,java.lang.Object) +meth public abstract jakarta.persistence.StoredProcedureQuery setParameter(java.lang.String,java.util.Calendar,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.StoredProcedureQuery setParameter(java.lang.String,java.util.Date,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.StoredProcedureQuery setTimeout(java.lang.Integer) +meth public abstract java.lang.Object getOutputParameterValue(int) +meth public abstract java.lang.Object getOutputParameterValue(java.lang.String) +meth public abstract java.lang.Object getSingleResult() +meth public abstract java.lang.Object getSingleResultOrNull() +meth public abstract java.util.List getResultList() + +CLSS public abstract interface jakarta.persistence.Subgraph<%0 extends java.lang.Object> +intf jakarta.persistence.Graph<{jakarta.persistence.Subgraph%0}> +meth public abstract java.lang.Class<{jakarta.persistence.Subgraph%0}> getClassType() + +CLSS public final !enum jakarta.persistence.SynchronizationType +fld public final static jakarta.persistence.SynchronizationType SYNCHRONIZED +fld public final static jakarta.persistence.SynchronizationType UNSYNCHRONIZED +meth public static jakarta.persistence.SynchronizationType valueOf(java.lang.String) +meth public static jakarta.persistence.SynchronizationType[] values() +supr java.lang.Enum + +CLSS public abstract interface !annotation jakarta.persistence.Table + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault jakarta.persistence.CheckConstraint[] check() +meth public abstract !hasdefault jakarta.persistence.Index[] indexes() +meth public abstract !hasdefault jakarta.persistence.UniqueConstraint[] uniqueConstraints() +meth public abstract !hasdefault java.lang.String catalog() +meth public abstract !hasdefault java.lang.String comment() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() +meth public abstract !hasdefault java.lang.String schema() + +CLSS public abstract interface !annotation jakarta.persistence.TableGenerator + anno 0 java.lang.annotation.Repeatable(java.lang.Class value=class jakarta.persistence.TableGenerators) + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE, METHOD, FIELD, PACKAGE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault int allocationSize() +meth public abstract !hasdefault int initialValue() +meth public abstract !hasdefault jakarta.persistence.Index[] indexes() +meth public abstract !hasdefault jakarta.persistence.UniqueConstraint[] uniqueConstraints() +meth public abstract !hasdefault java.lang.String catalog() +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() +meth public abstract !hasdefault java.lang.String pkColumnName() +meth public abstract !hasdefault java.lang.String pkColumnValue() +meth public abstract !hasdefault java.lang.String schema() +meth public abstract !hasdefault java.lang.String table() +meth public abstract !hasdefault java.lang.String valueColumnName() + +CLSS public abstract interface !annotation jakarta.persistence.TableGenerators + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE, METHOD, FIELD, PACKAGE]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.TableGenerator[] value() + +CLSS public abstract interface !annotation jakarta.persistence.Temporal + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation +meth public abstract jakarta.persistence.TemporalType value() + +CLSS public final !enum jakarta.persistence.TemporalType + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +fld public final static jakarta.persistence.TemporalType DATE +fld public final static jakarta.persistence.TemporalType TIME +fld public final static jakarta.persistence.TemporalType TIMESTAMP +meth public static jakarta.persistence.TemporalType valueOf(java.lang.String) +meth public static jakarta.persistence.TemporalType[] values() +supr java.lang.Enum + +CLSS public jakarta.persistence.Timeout +intf jakarta.persistence.FindOption +intf jakarta.persistence.LockOption +intf jakarta.persistence.RefreshOption +meth public int milliseconds() +meth public static jakarta.persistence.Timeout milliseconds(int) +meth public static jakarta.persistence.Timeout ms(int) +meth public static jakarta.persistence.Timeout s(int) +meth public static jakarta.persistence.Timeout seconds(int) +supr java.lang.Object +hfds milliseconds + +CLSS public jakarta.persistence.TransactionRequiredException +cons public init() +cons public init(java.lang.Exception) +cons public init(java.lang.String) +cons public init(java.lang.String,java.lang.Exception) +supr jakarta.persistence.PersistenceException + +CLSS public abstract interface !annotation jakarta.persistence.Transient + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface jakarta.persistence.Tuple +meth public abstract <%0 extends java.lang.Object> {%%0} get(int,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> {%%0} get(jakarta.persistence.TupleElement<{%%0}>) +meth public abstract <%0 extends java.lang.Object> {%%0} get(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract java.lang.Object get(int) +meth public abstract java.lang.Object get(java.lang.String) +meth public abstract java.lang.Object[] toArray() +meth public abstract java.util.List> getElements() + +CLSS public abstract interface jakarta.persistence.TupleElement<%0 extends java.lang.Object> +meth public abstract java.lang.Class getJavaType() +meth public abstract java.lang.String getAlias() + +CLSS public abstract interface jakarta.persistence.TypedQuery<%0 extends java.lang.Object> +intf jakarta.persistence.Query +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setParameter(jakarta.persistence.Parameter<{%%0}>,{%%0}) +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode) +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setCacheStoreMode(jakarta.persistence.CacheStoreMode) +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setFirstResult(int) +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setFlushMode(jakarta.persistence.FlushModeType) +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setHint(java.lang.String,java.lang.Object) +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setLockMode(jakarta.persistence.LockModeType) +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setMaxResults(int) +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setParameter(int,java.lang.Object) +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setParameter(int,java.util.Calendar,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setParameter(int,java.util.Date,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setParameter(jakarta.persistence.Parameter,java.util.Calendar,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setParameter(jakarta.persistence.Parameter,java.util.Date,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setParameter(java.lang.String,java.lang.Object) +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setParameter(java.lang.String,java.util.Calendar,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setParameter(java.lang.String,java.util.Date,jakarta.persistence.TemporalType) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.TypedQuery<{jakarta.persistence.TypedQuery%0}> setTimeout(java.lang.Integer) +meth public abstract java.util.List<{jakarta.persistence.TypedQuery%0}> getResultList() +meth public abstract {jakarta.persistence.TypedQuery%0} getSingleResult() +meth public abstract {jakarta.persistence.TypedQuery%0} getSingleResultOrNull() +meth public java.util.stream.Stream<{jakarta.persistence.TypedQuery%0}> getResultStream() + +CLSS public abstract interface jakarta.persistence.TypedQueryReference<%0 extends java.lang.Object> +meth public abstract java.lang.Class getResultType() +meth public abstract java.lang.String getName() +meth public abstract java.util.Map getHints() + +CLSS public abstract interface !annotation jakarta.persistence.UniqueConstraint + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault java.lang.String name() +meth public abstract !hasdefault java.lang.String options() +meth public abstract java.lang.String[] columnNames() + +CLSS public final !enum jakarta.persistence.ValidationMode +fld public final static jakarta.persistence.ValidationMode AUTO +fld public final static jakarta.persistence.ValidationMode CALLBACK +fld public final static jakarta.persistence.ValidationMode NONE +meth public static jakarta.persistence.ValidationMode valueOf(java.lang.String) +meth public static jakarta.persistence.ValidationMode[] values() +supr java.lang.Enum + +CLSS public abstract interface !annotation jakarta.persistence.Version + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[METHOD, FIELD]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface jakarta.persistence.criteria.AbstractQuery<%0 extends java.lang.Object> +intf jakarta.persistence.criteria.CommonAbstractCriteria +meth public abstract !varargs jakarta.persistence.criteria.AbstractQuery<{jakarta.persistence.criteria.AbstractQuery%0}> groupBy(jakarta.persistence.criteria.Expression[]) +meth public abstract !varargs jakarta.persistence.criteria.AbstractQuery<{jakarta.persistence.criteria.AbstractQuery%0}> having(jakarta.persistence.criteria.Predicate[]) +meth public abstract !varargs jakarta.persistence.criteria.AbstractQuery<{jakarta.persistence.criteria.AbstractQuery%0}> where(jakarta.persistence.criteria.Predicate[]) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Root<{%%0}> from(jakarta.persistence.metamodel.EntityType<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Root<{%%0}> from(java.lang.Class<{%%0}>) +meth public abstract boolean isDistinct() +meth public abstract jakarta.persistence.criteria.AbstractQuery<{jakarta.persistence.criteria.AbstractQuery%0}> distinct(boolean) +meth public abstract jakarta.persistence.criteria.AbstractQuery<{jakarta.persistence.criteria.AbstractQuery%0}> groupBy(java.util.List>) +meth public abstract jakarta.persistence.criteria.AbstractQuery<{jakarta.persistence.criteria.AbstractQuery%0}> having(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.AbstractQuery<{jakarta.persistence.criteria.AbstractQuery%0}> having(java.util.List) +meth public abstract jakarta.persistence.criteria.AbstractQuery<{jakarta.persistence.criteria.AbstractQuery%0}> where(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.AbstractQuery<{jakarta.persistence.criteria.AbstractQuery%0}> where(java.util.List) +meth public abstract jakarta.persistence.criteria.Predicate getGroupRestriction() +meth public abstract jakarta.persistence.criteria.Selection<{jakarta.persistence.criteria.AbstractQuery%0}> getSelection() +meth public abstract java.lang.Class<{jakarta.persistence.criteria.AbstractQuery%0}> getResultType() +meth public abstract java.util.List> getGroupList() +meth public abstract java.util.Set> getRoots() + +CLSS public abstract interface jakarta.persistence.criteria.CollectionJoin<%0 extends java.lang.Object, %1 extends java.lang.Object> +intf jakarta.persistence.criteria.PluralJoin<{jakarta.persistence.criteria.CollectionJoin%0},java.util.Collection<{jakarta.persistence.criteria.CollectionJoin%1}>,{jakarta.persistence.criteria.CollectionJoin%1}> +meth public abstract !varargs jakarta.persistence.criteria.CollectionJoin<{jakarta.persistence.criteria.CollectionJoin%0},{jakarta.persistence.criteria.CollectionJoin%1}> on(jakarta.persistence.criteria.Predicate[]) +meth public abstract jakarta.persistence.criteria.CollectionJoin<{jakarta.persistence.criteria.CollectionJoin%0},{jakarta.persistence.criteria.CollectionJoin%1}> on(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.metamodel.CollectionAttribute getModel() + +CLSS public abstract interface jakarta.persistence.criteria.CommonAbstractCriteria +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Subquery<{%%0}> subquery(jakarta.persistence.metamodel.EntityType<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Subquery<{%%0}> subquery(java.lang.Class<{%%0}>) +meth public abstract jakarta.persistence.criteria.Predicate getRestriction() +meth public abstract java.util.Set> getParameters() + +CLSS public abstract interface jakarta.persistence.criteria.CompoundSelection<%0 extends java.lang.Object> +intf jakarta.persistence.criteria.Selection<{jakarta.persistence.criteria.CompoundSelection%0}> + +CLSS public abstract interface jakarta.persistence.criteria.CriteriaBuilder +innr public abstract interface static Case +innr public abstract interface static Coalesce +innr public abstract interface static In +innr public abstract interface static SimpleCase +innr public final static !enum Trimspec +meth public abstract !varargs <%0 extends java.lang.Object> jakarta.persistence.criteria.CompoundSelection<{%%0}> construct(java.lang.Class<{%%0}>,jakarta.persistence.criteria.Selection[]) +meth public abstract !varargs <%0 extends java.lang.Object> jakarta.persistence.criteria.Expression<{%%0}> function(java.lang.String,java.lang.Class<{%%0}>,jakarta.persistence.criteria.Expression[]) +meth public abstract !varargs jakarta.persistence.criteria.CompoundSelection tuple(jakarta.persistence.criteria.Selection[]) +meth public abstract !varargs jakarta.persistence.criteria.CompoundSelection array(jakarta.persistence.criteria.Selection[]) +meth public abstract !varargs jakarta.persistence.criteria.Predicate and(jakarta.persistence.criteria.Predicate[]) +meth public abstract !varargs jakarta.persistence.criteria.Predicate or(jakarta.persistence.criteria.Predicate[]) +meth public abstract <%0 extends java.lang.Comparable> jakarta.persistence.criteria.Expression<{%%0}> greatest(jakarta.persistence.criteria.Expression<{%%0}>) +meth public abstract <%0 extends java.lang.Comparable> jakarta.persistence.criteria.Expression<{%%0}> least(jakarta.persistence.criteria.Expression<{%%0}>) +meth public abstract <%0 extends java.lang.Comparable> jakarta.persistence.criteria.Predicate between(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Comparable> jakarta.persistence.criteria.Predicate between(jakarta.persistence.criteria.Expression,{%%0},{%%0}) +meth public abstract <%0 extends java.lang.Comparable> jakarta.persistence.criteria.Predicate greaterThan(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Comparable> jakarta.persistence.criteria.Predicate greaterThan(jakarta.persistence.criteria.Expression,{%%0}) +meth public abstract <%0 extends java.lang.Comparable> jakarta.persistence.criteria.Predicate greaterThanOrEqualTo(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Comparable> jakarta.persistence.criteria.Predicate greaterThanOrEqualTo(jakarta.persistence.criteria.Expression,{%%0}) +meth public abstract <%0 extends java.lang.Comparable> jakarta.persistence.criteria.Predicate lessThan(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Comparable> jakarta.persistence.criteria.Predicate lessThan(jakarta.persistence.criteria.Expression,{%%0}) +meth public abstract <%0 extends java.lang.Comparable> jakarta.persistence.criteria.Predicate lessThanOrEqualTo(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Comparable> jakarta.persistence.criteria.Predicate lessThanOrEqualTo(jakarta.persistence.criteria.Expression,{%%0}) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression avg(jakarta.persistence.criteria.Expression<{%%0}>) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> abs(jakarta.persistence.criteria.Expression<{%%0}>) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> ceiling(jakarta.persistence.criteria.Expression<{%%0}>) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> diff(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> diff(jakarta.persistence.criteria.Expression,{%%0}) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> diff({%%0},jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> floor(jakarta.persistence.criteria.Expression<{%%0}>) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> max(jakarta.persistence.criteria.Expression<{%%0}>) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> min(jakarta.persistence.criteria.Expression<{%%0}>) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> neg(jakarta.persistence.criteria.Expression<{%%0}>) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> prod(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> prod(jakarta.persistence.criteria.Expression,{%%0}) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> prod({%%0},jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> round(jakarta.persistence.criteria.Expression<{%%0}>,java.lang.Integer) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> sum(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> sum(jakarta.persistence.criteria.Expression,{%%0}) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> sum(jakarta.persistence.criteria.Expression<{%%0}>) +meth public abstract <%0 extends java.lang.Number> jakarta.persistence.criteria.Expression<{%%0}> sum({%%0},jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object, %2 extends java.lang.Object, %3 extends {%%2}> jakarta.persistence.criteria.MapJoin<{%%0},{%%1},{%%3}> treat(jakarta.persistence.criteria.MapJoin<{%%0},{%%1},{%%2}>,java.lang.Class<{%%3}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object, %2 extends {%%1}> jakarta.persistence.criteria.CollectionJoin<{%%0},{%%2}> treat(jakarta.persistence.criteria.CollectionJoin<{%%0},{%%1}>,java.lang.Class<{%%2}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object, %2 extends {%%1}> jakarta.persistence.criteria.Join<{%%0},{%%2}> treat(jakarta.persistence.criteria.Join<{%%0},{%%1}>,java.lang.Class<{%%2}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object, %2 extends {%%1}> jakarta.persistence.criteria.ListJoin<{%%0},{%%2}> treat(jakarta.persistence.criteria.ListJoin<{%%0},{%%1}>,java.lang.Class<{%%2}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object, %2 extends {%%1}> jakarta.persistence.criteria.SetJoin<{%%0},{%%2}> treat(jakarta.persistence.criteria.SetJoin<{%%0},{%%1}>,java.lang.Class<{%%2}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.CriteriaBuilder$SimpleCase<{%%0},{%%1}> selectCase(jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Object, %1 extends java.time.temporal.Temporal> jakarta.persistence.criteria.Expression<{%%0}> extract(jakarta.persistence.criteria.TemporalField<{%%0},{%%1}>,jakarta.persistence.criteria.Expression<{%%1}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.util.Collection<{%%0}>> jakarta.persistence.criteria.Predicate isMember(jakarta.persistence.criteria.Expression<{%%0}>,jakarta.persistence.criteria.Expression<{%%1}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.util.Collection<{%%0}>> jakarta.persistence.criteria.Predicate isMember({%%0},jakarta.persistence.criteria.Expression<{%%1}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.util.Collection<{%%0}>> jakarta.persistence.criteria.Predicate isNotMember(jakarta.persistence.criteria.Expression<{%%0}>,jakarta.persistence.criteria.Expression<{%%1}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.util.Collection<{%%0}>> jakarta.persistence.criteria.Predicate isNotMember({%%0},jakarta.persistence.criteria.Expression<{%%1}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.util.Map> jakarta.persistence.criteria.Expression> values({%%1}) +meth public abstract <%0 extends java.lang.Object, %1 extends java.util.Map<{%%0},?>> jakarta.persistence.criteria.Expression> keys({%%1}) +meth public abstract <%0 extends java.lang.Object, %1 extends {%%0}> jakarta.persistence.criteria.Path<{%%1}> treat(jakarta.persistence.criteria.Path<{%%0}>,java.lang.Class<{%%1}>) +meth public abstract <%0 extends java.lang.Object, %1 extends {%%0}> jakarta.persistence.criteria.Root<{%%1}> treat(jakarta.persistence.criteria.Root<{%%0}>,java.lang.Class<{%%1}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CriteriaBuilder$Case<{%%0}> selectCase() +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CriteriaBuilder$Coalesce<{%%0}> coalesce() +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CriteriaBuilder$In<{%%0}> in(jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CriteriaDelete<{%%0}> createCriteriaDelete(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CriteriaQuery<{%%0}> createQuery(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CriteriaSelect<{%%0}> except(jakarta.persistence.criteria.CriteriaSelect<{%%0}>,jakarta.persistence.criteria.CriteriaSelect) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CriteriaSelect<{%%0}> exceptAll(jakarta.persistence.criteria.CriteriaSelect<{%%0}>,jakarta.persistence.criteria.CriteriaSelect) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CriteriaSelect<{%%0}> intersect(jakarta.persistence.criteria.CriteriaSelect,jakarta.persistence.criteria.CriteriaSelect) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CriteriaSelect<{%%0}> intersectAll(jakarta.persistence.criteria.CriteriaSelect,jakarta.persistence.criteria.CriteriaSelect) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CriteriaSelect<{%%0}> union(jakarta.persistence.criteria.CriteriaSelect,jakarta.persistence.criteria.CriteriaSelect) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CriteriaSelect<{%%0}> unionAll(jakarta.persistence.criteria.CriteriaSelect,jakarta.persistence.criteria.CriteriaSelect) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CriteriaUpdate<{%%0}> createCriteriaUpdate(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Expression<{%%0}> all(jakarta.persistence.criteria.Subquery<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Expression<{%%0}> any(jakarta.persistence.criteria.Subquery<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Expression<{%%0}> coalesce(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Expression<{%%0}> coalesce(jakarta.persistence.criteria.Expression,{%%0}) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Expression<{%%0}> literal({%%0}) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Expression<{%%0}> nullLiteral(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Expression<{%%0}> nullif(jakarta.persistence.criteria.Expression<{%%0}>,jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Expression<{%%0}> nullif(jakarta.persistence.criteria.Expression<{%%0}>,{%%0}) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Expression<{%%0}> some(jakarta.persistence.criteria.Subquery<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.ParameterExpression<{%%0}> parameter(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.ParameterExpression<{%%0}> parameter(java.lang.Class<{%%0}>,java.lang.String) +meth public abstract <%0 extends java.util.Collection> jakarta.persistence.criteria.Expression size(jakarta.persistence.criteria.Expression<{%%0}>) +meth public abstract <%0 extends java.util.Collection> jakarta.persistence.criteria.Expression size({%%0}) +meth public abstract <%0 extends java.util.Collection> jakarta.persistence.criteria.Predicate isEmpty(jakarta.persistence.criteria.Expression<{%%0}>) +meth public abstract <%0 extends java.util.Collection> jakarta.persistence.criteria.Predicate isNotEmpty(jakarta.persistence.criteria.Expression<{%%0}>) +meth public abstract jakarta.persistence.criteria.CompoundSelection tuple(java.util.List>) +meth public abstract jakarta.persistence.criteria.CompoundSelection array(java.util.List>) +meth public abstract jakarta.persistence.criteria.CriteriaQuery createTupleQuery() +meth public abstract jakarta.persistence.criteria.CriteriaQuery createQuery() +meth public abstract jakarta.persistence.criteria.Expression exp(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression ln(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression power(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression power(jakarta.persistence.criteria.Expression,java.lang.Number) +meth public abstract jakarta.persistence.criteria.Expression sqrt(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression sumAsDouble(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression toDouble(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression toFloat(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression length(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression locate(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression locate(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression locate(jakarta.persistence.criteria.Expression,java.lang.String) +meth public abstract jakarta.persistence.criteria.Expression locate(jakarta.persistence.criteria.Expression,java.lang.String,int) +meth public abstract jakarta.persistence.criteria.Expression mod(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression mod(jakarta.persistence.criteria.Expression,java.lang.Integer) +meth public abstract jakarta.persistence.criteria.Expression mod(java.lang.Integer,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression sign(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression toInteger(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression count(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression countDistinct(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression sumAsLong(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression toLong(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression quot(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression quot(jakarta.persistence.criteria.Expression,java.lang.Number) +meth public abstract jakarta.persistence.criteria.Expression quot(java.lang.Number,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression concat(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression concat(jakarta.persistence.criteria.Expression,java.lang.String) +meth public abstract jakarta.persistence.criteria.Expression concat(java.lang.String,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression concat(java.util.List>) +meth public abstract jakarta.persistence.criteria.Expression left(jakarta.persistence.criteria.Expression,int) +meth public abstract jakarta.persistence.criteria.Expression left(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression lower(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression replace(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression replace(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression,java.lang.String) +meth public abstract jakarta.persistence.criteria.Expression replace(jakarta.persistence.criteria.Expression,java.lang.String,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression replace(jakarta.persistence.criteria.Expression,java.lang.String,java.lang.String) +meth public abstract jakarta.persistence.criteria.Expression right(jakarta.persistence.criteria.Expression,int) +meth public abstract jakarta.persistence.criteria.Expression right(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression substring(jakarta.persistence.criteria.Expression,int) +meth public abstract jakarta.persistence.criteria.Expression substring(jakarta.persistence.criteria.Expression,int,int) +meth public abstract jakarta.persistence.criteria.Expression substring(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression substring(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression toString(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression trim(char,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression trim(jakarta.persistence.criteria.CriteriaBuilder$Trimspec,char,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression trim(jakarta.persistence.criteria.CriteriaBuilder$Trimspec,jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression trim(jakarta.persistence.criteria.CriteriaBuilder$Trimspec,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression trim(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression trim(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression upper(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression toBigDecimal(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression toBigInteger(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression currentDate() +meth public abstract jakarta.persistence.criteria.Expression currentTime() +meth public abstract jakarta.persistence.criteria.Expression currentTimestamp() +meth public abstract jakarta.persistence.criteria.Expression localDate() +meth public abstract jakarta.persistence.criteria.Expression localDateTime() +meth public abstract jakarta.persistence.criteria.Expression localTime() +meth public abstract jakarta.persistence.criteria.Order asc(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Order asc(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Nulls) +meth public abstract jakarta.persistence.criteria.Order desc(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Order desc(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Nulls) +meth public abstract jakarta.persistence.criteria.Predicate and(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate and(java.util.List) +meth public abstract jakarta.persistence.criteria.Predicate conjunction() +meth public abstract jakarta.persistence.criteria.Predicate disjunction() +meth public abstract jakarta.persistence.criteria.Predicate equal(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate equal(jakarta.persistence.criteria.Expression,java.lang.Object) +meth public abstract jakarta.persistence.criteria.Predicate exists(jakarta.persistence.criteria.Subquery) +meth public abstract jakarta.persistence.criteria.Predicate ge(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate ge(jakarta.persistence.criteria.Expression,java.lang.Number) +meth public abstract jakarta.persistence.criteria.Predicate gt(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate gt(jakarta.persistence.criteria.Expression,java.lang.Number) +meth public abstract jakarta.persistence.criteria.Predicate isFalse(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate isNotNull(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate isNull(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate isTrue(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate le(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate le(jakarta.persistence.criteria.Expression,java.lang.Number) +meth public abstract jakarta.persistence.criteria.Predicate like(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate like(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression,char) +meth public abstract jakarta.persistence.criteria.Predicate like(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate like(jakarta.persistence.criteria.Expression,java.lang.String) +meth public abstract jakarta.persistence.criteria.Predicate like(jakarta.persistence.criteria.Expression,java.lang.String,char) +meth public abstract jakarta.persistence.criteria.Predicate like(jakarta.persistence.criteria.Expression,java.lang.String,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate lt(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate lt(jakarta.persistence.criteria.Expression,java.lang.Number) +meth public abstract jakarta.persistence.criteria.Predicate not(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate notEqual(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate notEqual(jakarta.persistence.criteria.Expression,java.lang.Object) +meth public abstract jakarta.persistence.criteria.Predicate notLike(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate notLike(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression,char) +meth public abstract jakarta.persistence.criteria.Predicate notLike(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate notLike(jakarta.persistence.criteria.Expression,java.lang.String) +meth public abstract jakarta.persistence.criteria.Predicate notLike(jakarta.persistence.criteria.Expression,java.lang.String,char) +meth public abstract jakarta.persistence.criteria.Predicate notLike(jakarta.persistence.criteria.Expression,java.lang.String,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate or(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate or(java.util.List) + +CLSS public abstract interface static jakarta.persistence.criteria.CriteriaBuilder$Case<%0 extends java.lang.Object> + outer jakarta.persistence.criteria.CriteriaBuilder +intf jakarta.persistence.criteria.Expression<{jakarta.persistence.criteria.CriteriaBuilder$Case%0}> +meth public abstract jakarta.persistence.criteria.CriteriaBuilder$Case<{jakarta.persistence.criteria.CriteriaBuilder$Case%0}> when(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.CriteriaBuilder$Case<{jakarta.persistence.criteria.CriteriaBuilder$Case%0}> when(jakarta.persistence.criteria.Expression,{jakarta.persistence.criteria.CriteriaBuilder$Case%0}) +meth public abstract jakarta.persistence.criteria.Expression<{jakarta.persistence.criteria.CriteriaBuilder$Case%0}> otherwise(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression<{jakarta.persistence.criteria.CriteriaBuilder$Case%0}> otherwise({jakarta.persistence.criteria.CriteriaBuilder$Case%0}) + +CLSS public abstract interface static jakarta.persistence.criteria.CriteriaBuilder$Coalesce<%0 extends java.lang.Object> + outer jakarta.persistence.criteria.CriteriaBuilder +intf jakarta.persistence.criteria.Expression<{jakarta.persistence.criteria.CriteriaBuilder$Coalesce%0}> +meth public abstract jakarta.persistence.criteria.CriteriaBuilder$Coalesce<{jakarta.persistence.criteria.CriteriaBuilder$Coalesce%0}> value(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.CriteriaBuilder$Coalesce<{jakarta.persistence.criteria.CriteriaBuilder$Coalesce%0}> value({jakarta.persistence.criteria.CriteriaBuilder$Coalesce%0}) + +CLSS public abstract interface static jakarta.persistence.criteria.CriteriaBuilder$In<%0 extends java.lang.Object> + outer jakarta.persistence.criteria.CriteriaBuilder +intf jakarta.persistence.criteria.Predicate +meth public abstract jakarta.persistence.criteria.CriteriaBuilder$In<{jakarta.persistence.criteria.CriteriaBuilder$In%0}> value(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.CriteriaBuilder$In<{jakarta.persistence.criteria.CriteriaBuilder$In%0}> value({jakarta.persistence.criteria.CriteriaBuilder$In%0}) +meth public abstract jakarta.persistence.criteria.Expression<{jakarta.persistence.criteria.CriteriaBuilder$In%0}> getExpression() + +CLSS public abstract interface static jakarta.persistence.criteria.CriteriaBuilder$SimpleCase<%0 extends java.lang.Object, %1 extends java.lang.Object> + outer jakarta.persistence.criteria.CriteriaBuilder +intf jakarta.persistence.criteria.Expression<{jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%1}> +meth public abstract jakarta.persistence.criteria.CriteriaBuilder$SimpleCase<{jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%0},{jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%1}> when(jakarta.persistence.criteria.Expression,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.CriteriaBuilder$SimpleCase<{jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%0},{jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%1}> when(jakarta.persistence.criteria.Expression,{jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%1}) +meth public abstract jakarta.persistence.criteria.CriteriaBuilder$SimpleCase<{jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%0},{jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%1}> when({jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%0},jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.CriteriaBuilder$SimpleCase<{jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%0},{jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%1}> when({jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%0},{jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%1}) +meth public abstract jakarta.persistence.criteria.Expression<{jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%0}> getExpression() +meth public abstract jakarta.persistence.criteria.Expression<{jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%1}> otherwise(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Expression<{jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%1}> otherwise({jakarta.persistence.criteria.CriteriaBuilder$SimpleCase%1}) + +CLSS public final static !enum jakarta.persistence.criteria.CriteriaBuilder$Trimspec + outer jakarta.persistence.criteria.CriteriaBuilder +fld public final static jakarta.persistence.criteria.CriteriaBuilder$Trimspec BOTH +fld public final static jakarta.persistence.criteria.CriteriaBuilder$Trimspec LEADING +fld public final static jakarta.persistence.criteria.CriteriaBuilder$Trimspec TRAILING +meth public static jakarta.persistence.criteria.CriteriaBuilder$Trimspec valueOf(java.lang.String) +meth public static jakarta.persistence.criteria.CriteriaBuilder$Trimspec[] values() +supr java.lang.Enum + +CLSS public abstract interface jakarta.persistence.criteria.CriteriaDelete<%0 extends java.lang.Object> +intf jakarta.persistence.criteria.CommonAbstractCriteria +meth public abstract !varargs jakarta.persistence.criteria.CriteriaDelete<{jakarta.persistence.criteria.CriteriaDelete%0}> where(jakarta.persistence.criteria.Predicate[]) +meth public abstract jakarta.persistence.criteria.CriteriaDelete<{jakarta.persistence.criteria.CriteriaDelete%0}> where(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Root<{jakarta.persistence.criteria.CriteriaDelete%0}> from(jakarta.persistence.metamodel.EntityType<{jakarta.persistence.criteria.CriteriaDelete%0}>) +meth public abstract jakarta.persistence.criteria.Root<{jakarta.persistence.criteria.CriteriaDelete%0}> from(java.lang.Class<{jakarta.persistence.criteria.CriteriaDelete%0}>) +meth public abstract jakarta.persistence.criteria.Root<{jakarta.persistence.criteria.CriteriaDelete%0}> getRoot() + +CLSS public abstract interface jakarta.persistence.criteria.CriteriaQuery<%0 extends java.lang.Object> +intf jakarta.persistence.criteria.AbstractQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> +intf jakarta.persistence.criteria.CriteriaSelect<{jakarta.persistence.criteria.CriteriaQuery%0}> +meth public abstract !varargs jakarta.persistence.criteria.CriteriaQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> groupBy(jakarta.persistence.criteria.Expression[]) +meth public abstract !varargs jakarta.persistence.criteria.CriteriaQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> having(jakarta.persistence.criteria.Predicate[]) +meth public abstract !varargs jakarta.persistence.criteria.CriteriaQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> multiselect(jakarta.persistence.criteria.Selection[]) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract !varargs jakarta.persistence.criteria.CriteriaQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> orderBy(jakarta.persistence.criteria.Order[]) +meth public abstract !varargs jakarta.persistence.criteria.CriteriaQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> where(jakarta.persistence.criteria.Predicate[]) +meth public abstract jakarta.persistence.criteria.CriteriaQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> distinct(boolean) +meth public abstract jakarta.persistence.criteria.CriteriaQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> groupBy(java.util.List>) +meth public abstract jakarta.persistence.criteria.CriteriaQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> having(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.CriteriaQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> having(java.util.List) +meth public abstract jakarta.persistence.criteria.CriteriaQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> multiselect(java.util.List>) + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="3.2") +meth public abstract jakarta.persistence.criteria.CriteriaQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> orderBy(java.util.List) +meth public abstract jakarta.persistence.criteria.CriteriaQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> select(jakarta.persistence.criteria.Selection) +meth public abstract jakarta.persistence.criteria.CriteriaQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> where(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.CriteriaQuery<{jakarta.persistence.criteria.CriteriaQuery%0}> where(java.util.List) +meth public abstract java.util.List getOrderList() + +CLSS public abstract interface jakarta.persistence.criteria.CriteriaSelect<%0 extends java.lang.Object> + +CLSS public abstract interface jakarta.persistence.criteria.CriteriaUpdate<%0 extends java.lang.Object> +intf jakarta.persistence.criteria.CommonAbstractCriteria +meth public abstract !varargs jakarta.persistence.criteria.CriteriaUpdate<{jakarta.persistence.criteria.CriteriaUpdate%0}> where(jakarta.persistence.criteria.Predicate[]) +meth public abstract <%0 extends java.lang.Object, %1 extends {%%0}> jakarta.persistence.criteria.CriteriaUpdate<{jakarta.persistence.criteria.CriteriaUpdate%0}> set(jakarta.persistence.criteria.Path<{%%0}>,{%%1}) +meth public abstract <%0 extends java.lang.Object, %1 extends {%%0}> jakarta.persistence.criteria.CriteriaUpdate<{jakarta.persistence.criteria.CriteriaUpdate%0}> set(jakarta.persistence.metamodel.SingularAttribute,{%%1}) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CriteriaUpdate<{jakarta.persistence.criteria.CriteriaUpdate%0}> set(jakarta.persistence.criteria.Path<{%%0}>,jakarta.persistence.criteria.Expression) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CriteriaUpdate<{jakarta.persistence.criteria.CriteriaUpdate%0}> set(jakarta.persistence.metamodel.SingularAttribute,jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.CriteriaUpdate<{jakarta.persistence.criteria.CriteriaUpdate%0}> set(java.lang.String,java.lang.Object) +meth public abstract jakarta.persistence.criteria.CriteriaUpdate<{jakarta.persistence.criteria.CriteriaUpdate%0}> where(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Root<{jakarta.persistence.criteria.CriteriaUpdate%0}> from(jakarta.persistence.metamodel.EntityType<{jakarta.persistence.criteria.CriteriaUpdate%0}>) +meth public abstract jakarta.persistence.criteria.Root<{jakarta.persistence.criteria.CriteriaUpdate%0}> from(java.lang.Class<{jakarta.persistence.criteria.CriteriaUpdate%0}>) +meth public abstract jakarta.persistence.criteria.Root<{jakarta.persistence.criteria.CriteriaUpdate%0}> getRoot() + +CLSS public abstract interface jakarta.persistence.criteria.Expression<%0 extends java.lang.Object> +intf jakarta.persistence.criteria.Selection<{jakarta.persistence.criteria.Expression%0}> +meth public abstract !varargs jakarta.persistence.criteria.Predicate in(jakarta.persistence.criteria.Expression[]) +meth public abstract !varargs jakarta.persistence.criteria.Predicate in(java.lang.Object[]) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Expression<{%%0}> as(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Expression<{%%0}> cast(java.lang.Class<{%%0}>) +meth public abstract jakarta.persistence.criteria.Predicate equalTo(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate equalTo(java.lang.Object) +meth public abstract jakarta.persistence.criteria.Predicate in(jakarta.persistence.criteria.Expression>) +meth public abstract jakarta.persistence.criteria.Predicate in(java.util.Collection) +meth public abstract jakarta.persistence.criteria.Predicate isNotNull() +meth public abstract jakarta.persistence.criteria.Predicate isNull() +meth public abstract jakarta.persistence.criteria.Predicate notEqualTo(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Predicate notEqualTo(java.lang.Object) + +CLSS public abstract interface jakarta.persistence.criteria.Fetch<%0 extends java.lang.Object, %1 extends java.lang.Object> +intf jakarta.persistence.criteria.FetchParent<{jakarta.persistence.criteria.Fetch%0},{jakarta.persistence.criteria.Fetch%1}> +meth public abstract jakarta.persistence.criteria.FetchParent getParent() +meth public abstract jakarta.persistence.criteria.JoinType getJoinType() +meth public abstract jakarta.persistence.metamodel.Attribute getAttribute() + +CLSS public abstract interface jakarta.persistence.criteria.FetchParent<%0 extends java.lang.Object, %1 extends java.lang.Object> +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.Fetch<{%%0},{%%1}> fetch(java.lang.String) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.Fetch<{%%0},{%%1}> fetch(java.lang.String,jakarta.persistence.criteria.JoinType) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Fetch<{jakarta.persistence.criteria.FetchParent%1},{%%0}> fetch(jakarta.persistence.metamodel.PluralAttribute) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Fetch<{jakarta.persistence.criteria.FetchParent%1},{%%0}> fetch(jakarta.persistence.metamodel.PluralAttribute,jakarta.persistence.criteria.JoinType) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Fetch<{jakarta.persistence.criteria.FetchParent%1},{%%0}> fetch(jakarta.persistence.metamodel.SingularAttribute) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Fetch<{jakarta.persistence.criteria.FetchParent%1},{%%0}> fetch(jakarta.persistence.metamodel.SingularAttribute,jakarta.persistence.criteria.JoinType) +meth public abstract java.util.Set> getFetches() + +CLSS public abstract interface jakarta.persistence.criteria.From<%0 extends java.lang.Object, %1 extends java.lang.Object> +intf jakarta.persistence.criteria.FetchParent<{jakarta.persistence.criteria.From%0},{jakarta.persistence.criteria.From%1}> +intf jakarta.persistence.criteria.Path<{jakarta.persistence.criteria.From%1}> +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object, %2 extends java.lang.Object> jakarta.persistence.criteria.MapJoin<{%%0},{%%1},{%%2}> joinMap(java.lang.String) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object, %2 extends java.lang.Object> jakarta.persistence.criteria.MapJoin<{%%0},{%%1},{%%2}> joinMap(java.lang.String,jakarta.persistence.criteria.JoinType) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.CollectionJoin<{%%0},{%%1}> joinCollection(java.lang.String) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.CollectionJoin<{%%0},{%%1}> joinCollection(java.lang.String,jakarta.persistence.criteria.JoinType) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.Join<{%%0},{%%1}> join(java.lang.String) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.Join<{%%0},{%%1}> join(java.lang.String,jakarta.persistence.criteria.JoinType) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.ListJoin<{%%0},{%%1}> joinList(java.lang.String) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.ListJoin<{%%0},{%%1}> joinList(java.lang.String,jakarta.persistence.criteria.JoinType) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.MapJoin<{jakarta.persistence.criteria.From%1},{%%0},{%%1}> join(jakarta.persistence.metamodel.MapAttribute) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.MapJoin<{jakarta.persistence.criteria.From%1},{%%0},{%%1}> join(jakarta.persistence.metamodel.MapAttribute,jakarta.persistence.criteria.JoinType) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.SetJoin<{%%0},{%%1}> joinSet(java.lang.String) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.SetJoin<{%%0},{%%1}> joinSet(java.lang.String,jakarta.persistence.criteria.JoinType) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CollectionJoin<{jakarta.persistence.criteria.From%1},{%%0}> join(jakarta.persistence.metamodel.CollectionAttribute) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.CollectionJoin<{jakarta.persistence.criteria.From%1},{%%0}> join(jakarta.persistence.metamodel.CollectionAttribute,jakarta.persistence.criteria.JoinType) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Join<{jakarta.persistence.criteria.From%1},{%%0}> join(jakarta.persistence.metamodel.EntityType<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Join<{jakarta.persistence.criteria.From%1},{%%0}> join(jakarta.persistence.metamodel.EntityType<{%%0}>,jakarta.persistence.criteria.JoinType) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Join<{jakarta.persistence.criteria.From%1},{%%0}> join(jakarta.persistence.metamodel.SingularAttribute) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Join<{jakarta.persistence.criteria.From%1},{%%0}> join(jakarta.persistence.metamodel.SingularAttribute,jakarta.persistence.criteria.JoinType) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Join<{jakarta.persistence.criteria.From%1},{%%0}> join(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Join<{jakarta.persistence.criteria.From%1},{%%0}> join(java.lang.Class<{%%0}>,jakarta.persistence.criteria.JoinType) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.ListJoin<{jakarta.persistence.criteria.From%1},{%%0}> join(jakarta.persistence.metamodel.ListAttribute) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.ListJoin<{jakarta.persistence.criteria.From%1},{%%0}> join(jakarta.persistence.metamodel.ListAttribute,jakarta.persistence.criteria.JoinType) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.SetJoin<{jakarta.persistence.criteria.From%1},{%%0}> join(jakarta.persistence.metamodel.SetAttribute) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.SetJoin<{jakarta.persistence.criteria.From%1},{%%0}> join(jakarta.persistence.metamodel.SetAttribute,jakarta.persistence.criteria.JoinType) +meth public abstract boolean isCorrelated() +meth public abstract jakarta.persistence.criteria.From<{jakarta.persistence.criteria.From%0},{jakarta.persistence.criteria.From%1}> getCorrelationParent() +meth public abstract java.util.Set> getJoins() + +CLSS public abstract interface jakarta.persistence.criteria.Join<%0 extends java.lang.Object, %1 extends java.lang.Object> +intf jakarta.persistence.criteria.From<{jakarta.persistence.criteria.Join%0},{jakarta.persistence.criteria.Join%1}> +meth public abstract !varargs jakarta.persistence.criteria.Join<{jakarta.persistence.criteria.Join%0},{jakarta.persistence.criteria.Join%1}> on(jakarta.persistence.criteria.Predicate[]) +meth public abstract jakarta.persistence.criteria.From getParent() +meth public abstract jakarta.persistence.criteria.Join<{jakarta.persistence.criteria.Join%0},{jakarta.persistence.criteria.Join%1}> on(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.JoinType getJoinType() +meth public abstract jakarta.persistence.criteria.Predicate getOn() +meth public abstract jakarta.persistence.metamodel.Attribute getAttribute() + +CLSS public final !enum jakarta.persistence.criteria.JoinType +fld public final static jakarta.persistence.criteria.JoinType INNER +fld public final static jakarta.persistence.criteria.JoinType LEFT +fld public final static jakarta.persistence.criteria.JoinType RIGHT +meth public static jakarta.persistence.criteria.JoinType valueOf(java.lang.String) +meth public static jakarta.persistence.criteria.JoinType[] values() +supr java.lang.Enum + +CLSS public abstract interface jakarta.persistence.criteria.ListJoin<%0 extends java.lang.Object, %1 extends java.lang.Object> +intf jakarta.persistence.criteria.PluralJoin<{jakarta.persistence.criteria.ListJoin%0},java.util.List<{jakarta.persistence.criteria.ListJoin%1}>,{jakarta.persistence.criteria.ListJoin%1}> +meth public abstract !varargs jakarta.persistence.criteria.ListJoin<{jakarta.persistence.criteria.ListJoin%0},{jakarta.persistence.criteria.ListJoin%1}> on(jakarta.persistence.criteria.Predicate[]) +meth public abstract jakarta.persistence.criteria.Expression index() +meth public abstract jakarta.persistence.criteria.ListJoin<{jakarta.persistence.criteria.ListJoin%0},{jakarta.persistence.criteria.ListJoin%1}> on(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.metamodel.ListAttribute getModel() + +CLSS public jakarta.persistence.criteria.LocalDateField<%0 extends java.lang.Object> +fld public final static jakarta.persistence.criteria.LocalDateField DAY +fld public final static jakarta.persistence.criteria.LocalDateField MONTH +fld public final static jakarta.persistence.criteria.LocalDateField QUARTER +fld public final static jakarta.persistence.criteria.LocalDateField WEEK +fld public final static jakarta.persistence.criteria.LocalDateField YEAR +intf jakarta.persistence.criteria.TemporalField<{jakarta.persistence.criteria.LocalDateField%0},java.time.LocalDate> +meth public java.lang.String toString() +supr java.lang.Object +hfds name + +CLSS public jakarta.persistence.criteria.LocalDateTimeField<%0 extends java.lang.Object> +fld public final static jakarta.persistence.criteria.LocalDateTimeField SECOND +fld public final static jakarta.persistence.criteria.LocalDateTimeField DAY +fld public final static jakarta.persistence.criteria.LocalDateTimeField HOUR +fld public final static jakarta.persistence.criteria.LocalDateTimeField MINUTE +fld public final static jakarta.persistence.criteria.LocalDateTimeField MONTH +fld public final static jakarta.persistence.criteria.LocalDateTimeField QUARTER +fld public final static jakarta.persistence.criteria.LocalDateTimeField WEEK +fld public final static jakarta.persistence.criteria.LocalDateTimeField YEAR +fld public final static jakarta.persistence.criteria.LocalDateTimeField DATE +fld public final static jakarta.persistence.criteria.LocalDateTimeField TIME +intf jakarta.persistence.criteria.TemporalField<{jakarta.persistence.criteria.LocalDateTimeField%0},java.time.LocalDateTime> +meth public java.lang.String toString() +supr java.lang.Object +hfds name + +CLSS public jakarta.persistence.criteria.LocalTimeField<%0 extends java.lang.Object> +fld public final static jakarta.persistence.criteria.LocalTimeField SECOND +fld public final static jakarta.persistence.criteria.LocalTimeField HOUR +fld public final static jakarta.persistence.criteria.LocalTimeField MINUTE +intf jakarta.persistence.criteria.TemporalField<{jakarta.persistence.criteria.LocalTimeField%0},java.time.LocalTime> +meth public java.lang.String toString() +supr java.lang.Object +hfds name + +CLSS public abstract interface jakarta.persistence.criteria.MapJoin<%0 extends java.lang.Object, %1 extends java.lang.Object, %2 extends java.lang.Object> +intf jakarta.persistence.criteria.PluralJoin<{jakarta.persistence.criteria.MapJoin%0},java.util.Map<{jakarta.persistence.criteria.MapJoin%1},{jakarta.persistence.criteria.MapJoin%2}>,{jakarta.persistence.criteria.MapJoin%2}> +meth public abstract !varargs jakarta.persistence.criteria.MapJoin<{jakarta.persistence.criteria.MapJoin%0},{jakarta.persistence.criteria.MapJoin%1},{jakarta.persistence.criteria.MapJoin%2}> on(jakarta.persistence.criteria.Predicate[]) +meth public abstract jakarta.persistence.criteria.Expression> entry() +meth public abstract jakarta.persistence.criteria.MapJoin<{jakarta.persistence.criteria.MapJoin%0},{jakarta.persistence.criteria.MapJoin%1},{jakarta.persistence.criteria.MapJoin%2}> on(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Path<{jakarta.persistence.criteria.MapJoin%1}> key() +meth public abstract jakarta.persistence.criteria.Path<{jakarta.persistence.criteria.MapJoin%2}> value() +meth public abstract jakarta.persistence.metamodel.MapAttribute getModel() + +CLSS public final !enum jakarta.persistence.criteria.Nulls +fld public final static jakarta.persistence.criteria.Nulls FIRST +fld public final static jakarta.persistence.criteria.Nulls LAST +fld public final static jakarta.persistence.criteria.Nulls NONE +meth public static jakarta.persistence.criteria.Nulls valueOf(java.lang.String) +meth public static jakarta.persistence.criteria.Nulls[] values() +supr java.lang.Enum + +CLSS public abstract interface jakarta.persistence.criteria.Order +meth public abstract boolean isAscending() +meth public abstract jakarta.persistence.criteria.Expression getExpression() +meth public abstract jakarta.persistence.criteria.Nulls getNullPrecedence() +meth public abstract jakarta.persistence.criteria.Order reverse() + +CLSS public abstract interface jakarta.persistence.criteria.ParameterExpression<%0 extends java.lang.Object> +intf jakarta.persistence.Parameter<{jakarta.persistence.criteria.ParameterExpression%0}> +intf jakarta.persistence.criteria.Expression<{jakarta.persistence.criteria.ParameterExpression%0}> + +CLSS public abstract interface jakarta.persistence.criteria.Path<%0 extends java.lang.Object> +intf jakarta.persistence.criteria.Expression<{jakarta.persistence.criteria.Path%0}> +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object, %2 extends java.util.Map<{%%0},{%%1}>> jakarta.persistence.criteria.Expression<{%%2}> get(jakarta.persistence.metamodel.MapAttribute) +meth public abstract <%0 extends java.lang.Object, %1 extends java.util.Collection<{%%0}>> jakarta.persistence.criteria.Expression<{%%1}> get(jakarta.persistence.metamodel.PluralAttribute) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Path<{%%0}> get(jakarta.persistence.metamodel.SingularAttribute) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Path<{%%0}> get(java.lang.String) +meth public abstract jakarta.persistence.criteria.Expression> type() +meth public abstract jakarta.persistence.criteria.Path getParentPath() +meth public abstract jakarta.persistence.metamodel.Bindable<{jakarta.persistence.criteria.Path%0}> getModel() + +CLSS public abstract interface jakarta.persistence.criteria.PluralJoin<%0 extends java.lang.Object, %1 extends java.lang.Object, %2 extends java.lang.Object> +intf jakarta.persistence.criteria.Join<{jakarta.persistence.criteria.PluralJoin%0},{jakarta.persistence.criteria.PluralJoin%2}> +meth public abstract jakarta.persistence.metamodel.PluralAttribute getModel() + +CLSS public abstract interface jakarta.persistence.criteria.Predicate +innr public final static !enum BooleanOperator +intf jakarta.persistence.criteria.Expression +meth public abstract boolean isNegated() +meth public abstract jakarta.persistence.criteria.Predicate not() +meth public abstract jakarta.persistence.criteria.Predicate$BooleanOperator getOperator() +meth public abstract java.util.List> getExpressions() + +CLSS public final static !enum jakarta.persistence.criteria.Predicate$BooleanOperator + outer jakarta.persistence.criteria.Predicate +fld public final static jakarta.persistence.criteria.Predicate$BooleanOperator AND +fld public final static jakarta.persistence.criteria.Predicate$BooleanOperator OR +meth public static jakarta.persistence.criteria.Predicate$BooleanOperator valueOf(java.lang.String) +meth public static jakarta.persistence.criteria.Predicate$BooleanOperator[] values() +supr java.lang.Enum + +CLSS public abstract interface jakarta.persistence.criteria.Root<%0 extends java.lang.Object> +intf jakarta.persistence.criteria.From<{jakarta.persistence.criteria.Root%0},{jakarta.persistence.criteria.Root%0}> +meth public abstract jakarta.persistence.metamodel.EntityType<{jakarta.persistence.criteria.Root%0}> getModel() + +CLSS public abstract interface jakarta.persistence.criteria.Selection<%0 extends java.lang.Object> +intf jakarta.persistence.TupleElement<{jakarta.persistence.criteria.Selection%0}> +meth public abstract boolean isCompoundSelection() +meth public abstract jakarta.persistence.criteria.Selection<{jakarta.persistence.criteria.Selection%0}> alias(java.lang.String) +meth public abstract java.util.List> getCompoundSelectionItems() + +CLSS public abstract interface jakarta.persistence.criteria.SetJoin<%0 extends java.lang.Object, %1 extends java.lang.Object> +intf jakarta.persistence.criteria.PluralJoin<{jakarta.persistence.criteria.SetJoin%0},java.util.Set<{jakarta.persistence.criteria.SetJoin%1}>,{jakarta.persistence.criteria.SetJoin%1}> +meth public abstract !varargs jakarta.persistence.criteria.SetJoin<{jakarta.persistence.criteria.SetJoin%0},{jakarta.persistence.criteria.SetJoin%1}> on(jakarta.persistence.criteria.Predicate[]) +meth public abstract jakarta.persistence.criteria.SetJoin<{jakarta.persistence.criteria.SetJoin%0},{jakarta.persistence.criteria.SetJoin%1}> on(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.metamodel.SetAttribute getModel() + +CLSS public abstract interface jakarta.persistence.criteria.Subquery<%0 extends java.lang.Object> +intf jakarta.persistence.criteria.AbstractQuery<{jakarta.persistence.criteria.Subquery%0}> +intf jakarta.persistence.criteria.Expression<{jakarta.persistence.criteria.Subquery%0}> +meth public abstract !varargs jakarta.persistence.criteria.Subquery<{jakarta.persistence.criteria.Subquery%0}> groupBy(jakarta.persistence.criteria.Expression[]) +meth public abstract !varargs jakarta.persistence.criteria.Subquery<{jakarta.persistence.criteria.Subquery%0}> having(jakarta.persistence.criteria.Predicate[]) +meth public abstract !varargs jakarta.persistence.criteria.Subquery<{jakarta.persistence.criteria.Subquery%0}> where(jakarta.persistence.criteria.Predicate[]) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object, %2 extends java.lang.Object> jakarta.persistence.criteria.MapJoin<{%%0},{%%1},{%%2}> correlate(jakarta.persistence.criteria.MapJoin<{%%0},{%%1},{%%2}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.CollectionJoin<{%%0},{%%1}> correlate(jakarta.persistence.criteria.CollectionJoin<{%%0},{%%1}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.Join<{%%0},{%%1}> correlate(jakarta.persistence.criteria.Join<{%%0},{%%1}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.ListJoin<{%%0},{%%1}> correlate(jakarta.persistence.criteria.ListJoin<{%%0},{%%1}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.criteria.SetJoin<{%%0},{%%1}> correlate(jakarta.persistence.criteria.SetJoin<{%%0},{%%1}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.criteria.Root<{%%0}> correlate(jakarta.persistence.criteria.Root<{%%0}>) +meth public abstract jakarta.persistence.criteria.AbstractQuery getParent() +meth public abstract jakarta.persistence.criteria.CommonAbstractCriteria getContainingQuery() +meth public abstract jakarta.persistence.criteria.Expression<{jakarta.persistence.criteria.Subquery%0}> getSelection() +meth public abstract jakarta.persistence.criteria.Subquery<{jakarta.persistence.criteria.Subquery%0}> distinct(boolean) +meth public abstract jakarta.persistence.criteria.Subquery<{jakarta.persistence.criteria.Subquery%0}> groupBy(java.util.List>) +meth public abstract jakarta.persistence.criteria.Subquery<{jakarta.persistence.criteria.Subquery%0}> having(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Subquery<{jakarta.persistence.criteria.Subquery%0}> having(java.util.List) +meth public abstract jakarta.persistence.criteria.Subquery<{jakarta.persistence.criteria.Subquery%0}> select(jakarta.persistence.criteria.Expression<{jakarta.persistence.criteria.Subquery%0}>) +meth public abstract jakarta.persistence.criteria.Subquery<{jakarta.persistence.criteria.Subquery%0}> where(jakarta.persistence.criteria.Expression) +meth public abstract jakarta.persistence.criteria.Subquery<{jakarta.persistence.criteria.Subquery%0}> where(java.util.List) +meth public abstract java.util.Set> getCorrelatedJoins() + +CLSS public abstract interface jakarta.persistence.criteria.TemporalField<%0 extends java.lang.Object, %1 extends java.time.temporal.Temporal> + +CLSS abstract interface jakarta.persistence.criteria.package-info + +CLSS public abstract interface jakarta.persistence.metamodel.Attribute<%0 extends java.lang.Object, %1 extends java.lang.Object> +innr public final static !enum PersistentAttributeType +meth public abstract boolean isAssociation() +meth public abstract boolean isCollection() +meth public abstract jakarta.persistence.metamodel.Attribute$PersistentAttributeType getPersistentAttributeType() +meth public abstract jakarta.persistence.metamodel.ManagedType<{jakarta.persistence.metamodel.Attribute%0}> getDeclaringType() +meth public abstract java.lang.Class<{jakarta.persistence.metamodel.Attribute%1}> getJavaType() +meth public abstract java.lang.String getName() +meth public abstract java.lang.reflect.Member getJavaMember() + +CLSS public final static !enum jakarta.persistence.metamodel.Attribute$PersistentAttributeType + outer jakarta.persistence.metamodel.Attribute +fld public final static jakarta.persistence.metamodel.Attribute$PersistentAttributeType BASIC +fld public final static jakarta.persistence.metamodel.Attribute$PersistentAttributeType ELEMENT_COLLECTION +fld public final static jakarta.persistence.metamodel.Attribute$PersistentAttributeType EMBEDDED +fld public final static jakarta.persistence.metamodel.Attribute$PersistentAttributeType MANY_TO_MANY +fld public final static jakarta.persistence.metamodel.Attribute$PersistentAttributeType MANY_TO_ONE +fld public final static jakarta.persistence.metamodel.Attribute$PersistentAttributeType ONE_TO_MANY +fld public final static jakarta.persistence.metamodel.Attribute$PersistentAttributeType ONE_TO_ONE +meth public static jakarta.persistence.metamodel.Attribute$PersistentAttributeType valueOf(java.lang.String) +meth public static jakarta.persistence.metamodel.Attribute$PersistentAttributeType[] values() +supr java.lang.Enum + +CLSS public abstract interface jakarta.persistence.metamodel.BasicType<%0 extends java.lang.Object> +intf jakarta.persistence.metamodel.Type<{jakarta.persistence.metamodel.BasicType%0}> + +CLSS public abstract interface jakarta.persistence.metamodel.Bindable<%0 extends java.lang.Object> +innr public final static !enum BindableType +meth public abstract jakarta.persistence.metamodel.Bindable$BindableType getBindableType() +meth public abstract java.lang.Class<{jakarta.persistence.metamodel.Bindable%0}> getBindableJavaType() + +CLSS public final static !enum jakarta.persistence.metamodel.Bindable$BindableType + outer jakarta.persistence.metamodel.Bindable +fld public final static jakarta.persistence.metamodel.Bindable$BindableType ENTITY_TYPE +fld public final static jakarta.persistence.metamodel.Bindable$BindableType PLURAL_ATTRIBUTE +fld public final static jakarta.persistence.metamodel.Bindable$BindableType SINGULAR_ATTRIBUTE +meth public static jakarta.persistence.metamodel.Bindable$BindableType valueOf(java.lang.String) +meth public static jakarta.persistence.metamodel.Bindable$BindableType[] values() +supr java.lang.Enum + +CLSS public abstract interface jakarta.persistence.metamodel.CollectionAttribute<%0 extends java.lang.Object, %1 extends java.lang.Object> +intf jakarta.persistence.metamodel.PluralAttribute<{jakarta.persistence.metamodel.CollectionAttribute%0},java.util.Collection<{jakarta.persistence.metamodel.CollectionAttribute%1}>,{jakarta.persistence.metamodel.CollectionAttribute%1}> + +CLSS public abstract interface jakarta.persistence.metamodel.EmbeddableType<%0 extends java.lang.Object> +intf jakarta.persistence.metamodel.ManagedType<{jakarta.persistence.metamodel.EmbeddableType%0}> + +CLSS public abstract interface jakarta.persistence.metamodel.EntityType<%0 extends java.lang.Object> +intf jakarta.persistence.metamodel.Bindable<{jakarta.persistence.metamodel.EntityType%0}> +intf jakarta.persistence.metamodel.IdentifiableType<{jakarta.persistence.metamodel.EntityType%0}> +meth public abstract java.lang.String getName() + +CLSS public abstract interface jakarta.persistence.metamodel.IdentifiableType<%0 extends java.lang.Object> +intf jakarta.persistence.metamodel.ManagedType<{jakarta.persistence.metamodel.IdentifiableType%0}> +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.SingularAttribute getId(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.SingularAttribute getVersion(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.SingularAttribute<{jakarta.persistence.metamodel.IdentifiableType%0},{%%0}> getDeclaredId(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.SingularAttribute<{jakarta.persistence.metamodel.IdentifiableType%0},{%%0}> getDeclaredVersion(java.lang.Class<{%%0}>) +meth public abstract boolean hasSingleIdAttribute() +meth public abstract boolean hasVersionAttribute() +meth public abstract jakarta.persistence.metamodel.IdentifiableType getSupertype() +meth public abstract jakarta.persistence.metamodel.Type getIdType() +meth public abstract java.util.Set> getIdClassAttributes() + +CLSS public abstract interface jakarta.persistence.metamodel.ListAttribute<%0 extends java.lang.Object, %1 extends java.lang.Object> +intf jakarta.persistence.metamodel.PluralAttribute<{jakarta.persistence.metamodel.ListAttribute%0},java.util.List<{jakarta.persistence.metamodel.ListAttribute%1}>,{jakarta.persistence.metamodel.ListAttribute%1}> + +CLSS public abstract interface jakarta.persistence.metamodel.ManagedType<%0 extends java.lang.Object> +intf jakarta.persistence.metamodel.Type<{jakarta.persistence.metamodel.ManagedType%0}> +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.metamodel.MapAttribute getMap(java.lang.String,java.lang.Class<{%%0}>,java.lang.Class<{%%1}>) +meth public abstract <%0 extends java.lang.Object, %1 extends java.lang.Object> jakarta.persistence.metamodel.MapAttribute<{jakarta.persistence.metamodel.ManagedType%0},{%%0},{%%1}> getDeclaredMap(java.lang.String,java.lang.Class<{%%0}>,java.lang.Class<{%%1}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.CollectionAttribute getCollection(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.CollectionAttribute<{jakarta.persistence.metamodel.ManagedType%0},{%%0}> getDeclaredCollection(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.ListAttribute getList(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.ListAttribute<{jakarta.persistence.metamodel.ManagedType%0},{%%0}> getDeclaredList(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.SetAttribute getSet(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.SetAttribute<{jakarta.persistence.metamodel.ManagedType%0},{%%0}> getDeclaredSet(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.SingularAttribute getSingularAttribute(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.SingularAttribute<{jakarta.persistence.metamodel.ManagedType%0},{%%0}> getDeclaredSingularAttribute(java.lang.String,java.lang.Class<{%%0}>) +meth public abstract jakarta.persistence.metamodel.Attribute getAttribute(java.lang.String) +meth public abstract jakarta.persistence.metamodel.Attribute<{jakarta.persistence.metamodel.ManagedType%0},?> getDeclaredAttribute(java.lang.String) +meth public abstract jakarta.persistence.metamodel.CollectionAttribute getCollection(java.lang.String) +meth public abstract jakarta.persistence.metamodel.CollectionAttribute<{jakarta.persistence.metamodel.ManagedType%0},?> getDeclaredCollection(java.lang.String) +meth public abstract jakarta.persistence.metamodel.ListAttribute getList(java.lang.String) +meth public abstract jakarta.persistence.metamodel.ListAttribute<{jakarta.persistence.metamodel.ManagedType%0},?> getDeclaredList(java.lang.String) +meth public abstract jakarta.persistence.metamodel.MapAttribute getMap(java.lang.String) +meth public abstract jakarta.persistence.metamodel.MapAttribute<{jakarta.persistence.metamodel.ManagedType%0},?,?> getDeclaredMap(java.lang.String) +meth public abstract jakarta.persistence.metamodel.SetAttribute getSet(java.lang.String) +meth public abstract jakarta.persistence.metamodel.SetAttribute<{jakarta.persistence.metamodel.ManagedType%0},?> getDeclaredSet(java.lang.String) +meth public abstract jakarta.persistence.metamodel.SingularAttribute getSingularAttribute(java.lang.String) +meth public abstract jakarta.persistence.metamodel.SingularAttribute<{jakarta.persistence.metamodel.ManagedType%0},?> getDeclaredSingularAttribute(java.lang.String) +meth public abstract java.util.Set> getAttributes() +meth public abstract java.util.Set> getDeclaredAttributes() +meth public abstract java.util.Set> getPluralAttributes() +meth public abstract java.util.Set> getDeclaredPluralAttributes() +meth public abstract java.util.Set> getSingularAttributes() +meth public abstract java.util.Set> getDeclaredSingularAttributes() + +CLSS public abstract interface jakarta.persistence.metamodel.MapAttribute<%0 extends java.lang.Object, %1 extends java.lang.Object, %2 extends java.lang.Object> +intf jakarta.persistence.metamodel.PluralAttribute<{jakarta.persistence.metamodel.MapAttribute%0},java.util.Map<{jakarta.persistence.metamodel.MapAttribute%1},{jakarta.persistence.metamodel.MapAttribute%2}>,{jakarta.persistence.metamodel.MapAttribute%2}> +meth public abstract jakarta.persistence.metamodel.Type<{jakarta.persistence.metamodel.MapAttribute%1}> getKeyType() +meth public abstract java.lang.Class<{jakarta.persistence.metamodel.MapAttribute%1}> getKeyJavaType() + +CLSS public abstract interface jakarta.persistence.metamodel.MappedSuperclassType<%0 extends java.lang.Object> +intf jakarta.persistence.metamodel.IdentifiableType<{jakarta.persistence.metamodel.MappedSuperclassType%0}> + +CLSS public abstract interface jakarta.persistence.metamodel.Metamodel +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.EmbeddableType<{%%0}> embeddable(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.EntityType<{%%0}> entity(java.lang.Class<{%%0}>) +meth public abstract <%0 extends java.lang.Object> jakarta.persistence.metamodel.ManagedType<{%%0}> managedType(java.lang.Class<{%%0}>) +meth public abstract jakarta.persistence.metamodel.EntityType entity(java.lang.String) +meth public abstract java.util.Set> getEmbeddables() +meth public abstract java.util.Set> getEntities() +meth public abstract java.util.Set> getManagedTypes() + +CLSS public abstract interface jakarta.persistence.metamodel.PluralAttribute<%0 extends java.lang.Object, %1 extends java.lang.Object, %2 extends java.lang.Object> +innr public final static !enum CollectionType +intf jakarta.persistence.metamodel.Attribute<{jakarta.persistence.metamodel.PluralAttribute%0},{jakarta.persistence.metamodel.PluralAttribute%1}> +intf jakarta.persistence.metamodel.Bindable<{jakarta.persistence.metamodel.PluralAttribute%2}> +meth public abstract jakarta.persistence.metamodel.PluralAttribute$CollectionType getCollectionType() +meth public abstract jakarta.persistence.metamodel.Type<{jakarta.persistence.metamodel.PluralAttribute%2}> getElementType() + +CLSS public final static !enum jakarta.persistence.metamodel.PluralAttribute$CollectionType + outer jakarta.persistence.metamodel.PluralAttribute +fld public final static jakarta.persistence.metamodel.PluralAttribute$CollectionType COLLECTION +fld public final static jakarta.persistence.metamodel.PluralAttribute$CollectionType LIST +fld public final static jakarta.persistence.metamodel.PluralAttribute$CollectionType MAP +fld public final static jakarta.persistence.metamodel.PluralAttribute$CollectionType SET +meth public static jakarta.persistence.metamodel.PluralAttribute$CollectionType valueOf(java.lang.String) +meth public static jakarta.persistence.metamodel.PluralAttribute$CollectionType[] values() +supr java.lang.Enum + +CLSS public abstract interface jakarta.persistence.metamodel.SetAttribute<%0 extends java.lang.Object, %1 extends java.lang.Object> +intf jakarta.persistence.metamodel.PluralAttribute<{jakarta.persistence.metamodel.SetAttribute%0},java.util.Set<{jakarta.persistence.metamodel.SetAttribute%1}>,{jakarta.persistence.metamodel.SetAttribute%1}> + +CLSS public abstract interface jakarta.persistence.metamodel.SingularAttribute<%0 extends java.lang.Object, %1 extends java.lang.Object> +intf jakarta.persistence.metamodel.Attribute<{jakarta.persistence.metamodel.SingularAttribute%0},{jakarta.persistence.metamodel.SingularAttribute%1}> +intf jakarta.persistence.metamodel.Bindable<{jakarta.persistence.metamodel.SingularAttribute%1}> +meth public abstract boolean isId() +meth public abstract boolean isOptional() +meth public abstract boolean isVersion() +meth public abstract jakarta.persistence.metamodel.Type<{jakarta.persistence.metamodel.SingularAttribute%1}> getType() + +CLSS public abstract interface !annotation jakarta.persistence.metamodel.StaticMetamodel + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation +meth public abstract java.lang.Class value() + +CLSS public abstract interface jakarta.persistence.metamodel.Type<%0 extends java.lang.Object> +innr public final static !enum PersistenceType +meth public abstract jakarta.persistence.metamodel.Type$PersistenceType getPersistenceType() +meth public abstract java.lang.Class<{jakarta.persistence.metamodel.Type%0}> getJavaType() + +CLSS public final static !enum jakarta.persistence.metamodel.Type$PersistenceType + outer jakarta.persistence.metamodel.Type +fld public final static jakarta.persistence.metamodel.Type$PersistenceType BASIC +fld public final static jakarta.persistence.metamodel.Type$PersistenceType EMBEDDABLE +fld public final static jakarta.persistence.metamodel.Type$PersistenceType ENTITY +fld public final static jakarta.persistence.metamodel.Type$PersistenceType MAPPED_SUPERCLASS +meth public static jakarta.persistence.metamodel.Type$PersistenceType valueOf(java.lang.String) +meth public static jakarta.persistence.metamodel.Type$PersistenceType[] values() +supr java.lang.Enum + +CLSS abstract interface jakarta.persistence.metamodel.package-info + +CLSS abstract interface jakarta.persistence.package-info + +CLSS public abstract interface jakarta.persistence.spi.ClassTransformer +meth public abstract byte[] transform(java.lang.ClassLoader,java.lang.String,java.lang.Class,java.security.ProtectionDomain,byte[]) throws jakarta.persistence.spi.TransformerException + +CLSS public final !enum jakarta.persistence.spi.LoadState +fld public final static jakarta.persistence.spi.LoadState LOADED +fld public final static jakarta.persistence.spi.LoadState NOT_LOADED +fld public final static jakarta.persistence.spi.LoadState UNKNOWN +meth public static jakarta.persistence.spi.LoadState valueOf(java.lang.String) +meth public static jakarta.persistence.spi.LoadState[] values() +supr java.lang.Enum + +CLSS public abstract interface jakarta.persistence.spi.PersistenceProvider +meth public abstract boolean generateSchema(java.lang.String,java.util.Map) +meth public abstract jakarta.persistence.EntityManagerFactory createContainerEntityManagerFactory(jakarta.persistence.spi.PersistenceUnitInfo,java.util.Map) +meth public abstract jakarta.persistence.EntityManagerFactory createEntityManagerFactory(jakarta.persistence.PersistenceConfiguration) +meth public abstract jakarta.persistence.EntityManagerFactory createEntityManagerFactory(java.lang.String,java.util.Map) +meth public abstract jakarta.persistence.spi.ProviderUtil getProviderUtil() +meth public abstract void generateSchema(jakarta.persistence.spi.PersistenceUnitInfo,java.util.Map) + +CLSS public abstract interface jakarta.persistence.spi.PersistenceProviderResolver +meth public abstract java.util.List getPersistenceProviders() +meth public abstract void clearCachedProviders() + +CLSS public jakarta.persistence.spi.PersistenceProviderResolverHolder +cons public init() +meth public static jakarta.persistence.spi.PersistenceProviderResolver getPersistenceProviderResolver() +meth public static void setPersistenceProviderResolver(jakarta.persistence.spi.PersistenceProviderResolver) +supr java.lang.Object +hfds singleton +hcls DefaultPersistenceProviderResolver + +CLSS public abstract interface jakarta.persistence.spi.PersistenceUnitInfo +meth public abstract boolean excludeUnlistedClasses() +meth public abstract jakarta.persistence.SharedCacheMode getSharedCacheMode() +meth public abstract jakarta.persistence.ValidationMode getValidationMode() +meth public abstract jakarta.persistence.spi.PersistenceUnitTransactionType getTransactionType() +meth public abstract java.lang.ClassLoader getClassLoader() +meth public abstract java.lang.ClassLoader getNewTempClassLoader() +meth public abstract java.lang.String getPersistenceProviderClassName() +meth public abstract java.lang.String getPersistenceUnitName() +meth public abstract java.lang.String getPersistenceXMLSchemaVersion() +meth public abstract java.net.URL getPersistenceUnitRootUrl() +meth public abstract java.util.List getManagedClassNames() +meth public abstract java.util.List getMappingFileNames() +meth public abstract java.util.List getJarFileUrls() +meth public abstract java.util.Properties getProperties() +meth public abstract javax.sql.DataSource getJtaDataSource() +meth public abstract javax.sql.DataSource getNonJtaDataSource() +meth public abstract void addTransformer(jakarta.persistence.spi.ClassTransformer) + +CLSS public final !enum jakarta.persistence.spi.PersistenceUnitTransactionType + anno 0 java.lang.Deprecated(boolean forRemoval=true, java.lang.String since="3.2") +fld public final static jakarta.persistence.spi.PersistenceUnitTransactionType JTA +fld public final static jakarta.persistence.spi.PersistenceUnitTransactionType RESOURCE_LOCAL +meth public static jakarta.persistence.spi.PersistenceUnitTransactionType valueOf(java.lang.String) +meth public static jakarta.persistence.spi.PersistenceUnitTransactionType[] values() +supr java.lang.Enum + +CLSS public abstract interface jakarta.persistence.spi.ProviderUtil +meth public abstract jakarta.persistence.spi.LoadState isLoaded(java.lang.Object) +meth public abstract jakarta.persistence.spi.LoadState isLoadedWithReference(java.lang.Object,java.lang.String) +meth public abstract jakarta.persistence.spi.LoadState isLoadedWithoutReference(java.lang.Object,java.lang.String) + +CLSS public jakarta.persistence.spi.TransformerException +cons public init() +cons public init(java.lang.String) +cons public init(java.lang.String,java.lang.Throwable) +cons public init(java.lang.Throwable) +supr java.lang.Exception +hfds serialVersionUID + +CLSS abstract interface jakarta.persistence.spi.package-info + +CLSS public abstract interface java.io.Serializable + +CLSS public abstract interface java.lang.AutoCloseable +meth public abstract void close() throws java.lang.Exception + +CLSS public abstract interface java.lang.Comparable<%0 extends java.lang.Object> +meth public abstract int compareTo({java.lang.Comparable%0}) + +CLSS public abstract interface !annotation java.lang.Deprecated + anno 0 java.lang.annotation.Documented() + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[CONSTRUCTOR, FIELD, LOCAL_VARIABLE, METHOD, PACKAGE, MODULE, PARAMETER, TYPE]) +intf java.lang.annotation.Annotation +meth public abstract !hasdefault boolean forRemoval() +meth public abstract !hasdefault java.lang.String since() + +CLSS public abstract java.lang.Enum<%0 extends java.lang.Enum<{java.lang.Enum%0}>> +cons protected init(java.lang.String,int) +innr public final static EnumDesc +intf java.io.Serializable +intf java.lang.Comparable<{java.lang.Enum%0}> +intf java.lang.constant.Constable +meth protected final java.lang.Object clone() throws java.lang.CloneNotSupportedException +meth protected final void finalize() +meth public final boolean equals(java.lang.Object) +meth public final int compareTo({java.lang.Enum%0}) +meth public final int hashCode() +meth public final int ordinal() +meth public final java.lang.Class<{java.lang.Enum%0}> getDeclaringClass() +meth public final java.lang.String name() +meth public final java.util.Optional> describeConstable() +meth public java.lang.String toString() +meth public static <%0 extends java.lang.Enum<{%%0}>> {%%0} valueOf(java.lang.Class<{%%0}>,java.lang.String) +supr java.lang.Object +hfds name,ordinal + +CLSS public java.lang.Exception +cons protected init(java.lang.String,java.lang.Throwable,boolean,boolean) +cons public init() +cons public init(java.lang.String) +cons public init(java.lang.String,java.lang.Throwable) +cons public init(java.lang.Throwable) +supr java.lang.Throwable +hfds serialVersionUID + +CLSS public abstract interface !annotation java.lang.FunctionalInterface + anno 0 java.lang.annotation.Documented() + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE]) +intf java.lang.annotation.Annotation + +CLSS public java.lang.Object +cons public init() +meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException +meth protected void finalize() throws java.lang.Throwable + anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="9") +meth public boolean equals(java.lang.Object) +meth public final java.lang.Class getClass() +meth public final void notify() +meth public final void notifyAll() +meth public final void wait() throws java.lang.InterruptedException +meth public final void wait(long) throws java.lang.InterruptedException +meth public final void wait(long,int) throws java.lang.InterruptedException +meth public int hashCode() +meth public java.lang.String toString() + +CLSS public java.lang.RuntimeException +cons protected init(java.lang.String,java.lang.Throwable,boolean,boolean) +cons public init() +cons public init(java.lang.String) +cons public init(java.lang.String,java.lang.Throwable) +cons public init(java.lang.Throwable) +supr java.lang.Exception +hfds serialVersionUID + +CLSS public java.lang.Throwable +cons protected init(java.lang.String,java.lang.Throwable,boolean,boolean) +cons public init() +cons public init(java.lang.String) +cons public init(java.lang.String,java.lang.Throwable) +cons public init(java.lang.Throwable) +intf java.io.Serializable +meth public final java.lang.Throwable[] getSuppressed() +meth public final void addSuppressed(java.lang.Throwable) +meth public java.lang.StackTraceElement[] getStackTrace() +meth public java.lang.String getLocalizedMessage() +meth public java.lang.String getMessage() +meth public java.lang.String toString() +meth public java.lang.Throwable fillInStackTrace() +meth public java.lang.Throwable getCause() +meth public java.lang.Throwable initCause(java.lang.Throwable) +meth public void printStackTrace() +meth public void printStackTrace(java.io.PrintStream) +meth public void printStackTrace(java.io.PrintWriter) +meth public void setStackTrace(java.lang.StackTraceElement[]) +supr java.lang.Object +hfds CAUSE_CAPTION,EMPTY_THROWABLE_ARRAY,NULL_CAUSE_MESSAGE,SELF_SUPPRESSION_MESSAGE,SUPPRESSED_CAPTION,SUPPRESSED_SENTINEL,UNASSIGNED_STACK,backtrace,cause,depth,detailMessage,serialVersionUID,stackTrace,suppressedExceptions +hcls PrintStreamOrWriter,SentinelHolder,WrappedPrintStream,WrappedPrintWriter + +CLSS public abstract interface java.lang.annotation.Annotation +meth public abstract boolean equals(java.lang.Object) +meth public abstract int hashCode() +meth public abstract java.lang.Class annotationType() +meth public abstract java.lang.String toString() + +CLSS public abstract interface !annotation java.lang.annotation.Documented + anno 0 java.lang.annotation.Documented() + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE]) +intf java.lang.annotation.Annotation + +CLSS public abstract interface !annotation java.lang.annotation.Repeatable + anno 0 java.lang.annotation.Documented() + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE]) +intf java.lang.annotation.Annotation +meth public abstract java.lang.Class value() + +CLSS public abstract interface !annotation java.lang.annotation.Retention + anno 0 java.lang.annotation.Documented() + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE]) +intf java.lang.annotation.Annotation +meth public abstract java.lang.annotation.RetentionPolicy value() + +CLSS public abstract interface !annotation java.lang.annotation.Target + anno 0 java.lang.annotation.Documented() + anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME) + anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE]) +intf java.lang.annotation.Annotation +meth public abstract java.lang.annotation.ElementType[] value() + +CLSS public abstract interface java.lang.constant.Constable +meth public abstract java.util.Optional describeConstable() + diff --git a/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/signaturetest/sig-test-pkg-list.txt b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/signaturetest/sig-test-pkg-list.txt new file mode 100644 index 0000000000..9cb02d8985 --- /dev/null +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/signaturetest/sig-test-pkg-list.txt @@ -0,0 +1,31 @@ +# +# Copyright (c) 2018, 2024 Oracle and/or its affiliates. All rights reserved. +# +# This program and the accompanying materials are made available under the +# terms of the Eclipse Public License v. 2.0, which is available at +# http://www.eclipse.org/legal/epl-2.0. +# +# This Source Code may also be made available under the following Secondary +# Licenses when the conditions for such availability set forth in the +# Eclipse Public License v. 2.0 are satisfied: GNU General Public License, +# version 2 with the GNU Classpath Exception, which is available at +# https://www.gnu.org/software/classpath/license.html. +# +# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 +# + +## +# This file contains a list of all the packages +# contained in the signature files for this +# deliverable. This file is used to exclude valid +# sub-packages from being verified when their +# parent package's signature is checked. +## +java.io +java.lang +java.lang.Enum<{java.lang +java.lang.annotation +jakarta.persistence +jakarta.persistence.criteria +jakarta.persistence.metamodel +jakarta.persistence.spi diff --git a/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/signaturetest/sig-test.map b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/signaturetest/sig-test.map new file mode 100644 index 0000000000..4044bfed42 --- /dev/null +++ b/jpa/spec-tests/src/main/resources/ee/jakarta/tck/persistence/signaturetest/sig-test.map @@ -0,0 +1,42 @@ +# +# Copyright (c) 2017, 2024 Oracle and/or its affiliates. All rights reserved. +# +# This program and the accompanying materials are made available under the +# terms of the Eclipse Public License v. 2.0, which is available at +# http://www.eclipse.org/legal/epl-2.0. +# +# This Source Code may also be made available under the following Secondary +# Licenses when the conditions for such availability set forth in the +# Eclipse Public License v. 2.0 are satisfied: GNU General Public License, +# version 2 with the GNU Classpath Exception, which is available at +# https://www.gnu.org/software/classpath/license.html. +# +# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 +# + +############################################################### +# The signature test mapping file for the JPA TCK. This file +# should be formatted as a standard java properties file. The +# name is the package name and the value is the version of the +# package that should be tested by the signature tests. +# +# Note: Recording the signatures of a package includes all +# child packages. The signature test tool looks for +# the best signature file to use when playing back +# signatures. Meaning if we have a jakarta.servlet +# signature file and a jakarta.servlet.jsp signature file, +# the signature test tool will use the jakarta.servlet.jsp +# signature file to verify the jakarta.servlet.jsp package +# signatures even though the jakarta.servlet signature +# file contains the jakarta.servlet.jsp package signatures. +# The signatures are in both files (since the API Check +# tool records child package signatures and there does +# not seem to be a way to turn this feature off) but the +# jakarta.servlet.jsp signature file can vary independent +# of the jakarta.servlet signature file. +# +############################################################### + +# Persistence packages +jakarta.persistence=3.2 + diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/ZipCode.java b/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/ZipCode.java deleted file mode 100644 index 75c59c8b0e..0000000000 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/managedtype/ZipCode.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.ts.tests.jpa.core.metamodelapi.managedtype; - -import jakarta.persistence.Embeddable; - -@Embeddable -public class ZipCode implements java.io.Serializable { - - protected String zip; - - protected String plusFour; - - public ZipCode() { - } - - public ZipCode(String zip, String plusFour) { - this.zip = zip; - this.plusFour = plusFour; - } - - public String getPlusFour() { - return plusFour; - } - - public void setPlusFour(String plusFour) { - this.plusFour = plusFour; - } - - public String getZip() { - return zip; - } - - public void setZip(String zip) { - this.zip = zip; - } -} diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/Address.java b/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/Address.java deleted file mode 100644 index d9f6b8fc17..0000000000 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/Address.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.ts.tests.jpa.core.metamodelapi.metamodel; - -import jakarta.persistence.Embeddable; -import jakarta.persistence.Embedded; - -@Embeddable -public class Address implements java.io.Serializable { - - protected String street; - - protected String city; - - protected String state; - - @Embedded - protected ZipCode zipcode; - - public Address() { - } - - public Address(String street, String city, String state) { - this.street = street; - this.city = city; - this.state = state; - } - - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - public String getStreet() { - return street; - } - - public void setStreet(String street) { - this.street = street; - } - - public ZipCode getZipCode() { - return zipcode; - } - - public void setZipCode(ZipCode zipcode) { - this.zipcode = zipcode; - } -} diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/ZipCode.java b/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/ZipCode.java deleted file mode 100644 index e645f9419c..0000000000 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/metamodel/ZipCode.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.ts.tests.jpa.core.metamodelapi.metamodel; - -import jakarta.persistence.Embeddable; - -@Embeddable -public class ZipCode implements java.io.Serializable { - - protected String zip; - - protected String plusFour; - - public ZipCode() { - } - - public ZipCode(String zip, String plusFour) { - this.zip = zip; - this.plusFour = plusFour; - } - - public String getPlusFour() { - return plusFour; - } - - public void setPlusFour(String plusFour) { - this.plusFour = plusFour; - } - - public String getZip() { - return zip; - } - - public void setZip(String zip) { - this.zip = zip; - } -} diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute/Address.java b/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute/Address.java deleted file mode 100644 index f095ee8266..0000000000 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute/Address.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.ts.tests.jpa.core.metamodelapi.setattribute; - -import jakarta.persistence.Embeddable; -import jakarta.persistence.Embedded; - -@Embeddable -public class Address implements java.io.Serializable { - - protected String street; - - protected String city; - - protected String state; - - @Embedded - protected ZipCode zipcode; - - public Address() { - } - - public Address(String street, String city, String state) { - this.street = street; - this.city = city; - this.state = state; - } - - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - public String getStreet() { - return street; - } - - public void setStreet(String street) { - this.street = street; - } - - public ZipCode getZipCode() { - return zipcode; - } - - public void setZipCode(ZipCode zipcode) { - this.zipcode = zipcode; - } -} diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute/ZipCode.java b/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute/ZipCode.java deleted file mode 100644 index 2f65f9dadc..0000000000 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/setattribute/ZipCode.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.ts.tests.jpa.core.metamodelapi.setattribute; - -import jakarta.persistence.Embeddable; - -@Embeddable -public class ZipCode implements java.io.Serializable { - - protected String zip; - - protected String plusFour; - - public ZipCode() { - } - - public ZipCode(String zip, String plusFour) { - this.zip = zip; - this.plusFour = plusFour; - } - - public String getPlusFour() { - return plusFour; - } - - public void setPlusFour(String plusFour) { - this.plusFour = plusFour; - } - - public String getZip() { - return zip; - } - - public void setZip(String zip) { - this.zip = zip; - } -} diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/Address.java b/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/Address.java deleted file mode 100644 index 1418cc6f28..0000000000 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/Address.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.ts.tests.jpa.core.metamodelapi.type; - -import jakarta.persistence.Embeddable; -import jakarta.persistence.Embedded; - -@Embeddable -public class Address implements java.io.Serializable { - - protected String street; - - protected String city; - - protected String state; - - @Embedded - protected ZipCode zipcode; - - public Address() { - } - - public Address(String street, String city, String state) { - this.street = street; - this.city = city; - this.state = state; - } - - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - public String getStreet() { - return street; - } - - public void setStreet(String street) { - this.street = street; - } - - public ZipCode getZipCode() { - return zipcode; - } - - public void setZipCode(ZipCode zipcode) { - this.zipcode = zipcode; - } -} diff --git a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/ZipCode.java b/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/ZipCode.java deleted file mode 100644 index c949dfdeba..0000000000 --- a/jpa/src/main/java/com/sun/ts/tests/jpa/core/metamodelapi/type/ZipCode.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v. 2.0, which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * This Source Code may also be made available under the following Secondary - * Licenses when the conditions for such availability set forth in the - * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, - * version 2 with the GNU Classpath Exception, which is available at - * https://www.gnu.org/software/classpath/license.html. - * - * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 - */ - -package com.sun.ts.tests.jpa.core.metamodelapi.type; - -import jakarta.persistence.Embeddable; - -@Embeddable -public class ZipCode implements java.io.Serializable { - - protected String zip; - - protected String plusFour; - - public ZipCode() { - } - - public ZipCode(String zip, String plusFour) { - this.zip = zip; - this.plusFour = plusFour; - } - - public String getPlusFour() { - return plusFour; - } - - public void setPlusFour(String plusFour) { - this.plusFour = plusFour; - } - - public String getZip() { - return zip; - } - - public void setZip(String zip) { - this.zip = zip; - } -} diff --git a/jpa/src/main/resources/com/sun/ts/tests/jpa/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider b/jpa/src/main/resources/com/sun/ts/tests/jpa/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider deleted file mode 100755 index 314f3e7877..0000000000 --- a/jpa/src/main/resources/com/sun/ts/tests/jpa/common/pluggability/altprovider/METAINF/services/jakarta.persistence.spi.PersistenceProvider +++ /dev/null @@ -1 +0,0 @@ -com.sun.ts.tests.jpa.common.pluggability.altprovider.implementation.PersistenceProvider \ No newline at end of file diff --git a/jpa_extras/pom.xml b/jpa_extras/pom.xml deleted file mode 100644 index 6429b36b3d..0000000000 --- a/jpa_extras/pom.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - 4.0.0 - - jakarta.tck - project - 10.0.0-SNAPSHOT - - dbprocedures - JPA - JPA - - 1.7.0.Alpha14 - 5.9.1 - 11 - 11 - ${project.version} - - - - - diff --git a/pom.xml b/pom.xml index cd00b2200e..97f116be36 100644 --- a/pom.xml +++ b/pom.xml @@ -58,7 +58,6 @@ jdbc jms jpa - jpa_extras jsonb jsonp jsp @@ -145,7 +144,7 @@ 3.0.0 3.0.0 - 2.1.0 + 2.2.0 2.1.0