-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial attempt at generating the persistence.xml files into the test tree #1447
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManager/persistence.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
|
||
Copyright (c) 2018 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 | ||
|
||
--> | ||
<persistence xmlns="https://jakarta.ee/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd" version="3.0"> | ||
<persistence-unit name="CTS-EM" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS Vehicle Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<class>ee.jakarta.tck.persistence.ee.entityManager.Order</class> | ||
</persistence-unit> | ||
<persistence-unit name="CTS-EM2" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS Vehicle Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<class>ee.jakarta.tck.persistence.ee.entityManager.Order</class> | ||
</persistence-unit> | ||
<persistence-unit name="CTS-EM-NOTX" transaction-type="RESOURCE_LOCAL"> | ||
<description>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</description> | ||
<non-jta-data-source>jdbc/DB_no_tx</non-jta-data-source> | ||
<class>ee.jakarta.tck.persistence.ee.entityManager.Order</class> | ||
</persistence-unit> | ||
</persistence> | ||
|
38 changes: 38 additions & 0 deletions
38
...rm-tests/src/main/java/ee/jakarta/tck/persistence/ee/entityManagerFactory/persistence.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
|
||
Copyright (c) 2018 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 | ||
|
||
--> | ||
<persistence xmlns="https://jakarta.ee/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd" version="3.0"> | ||
<persistence-unit name="CTS-EM" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS Vehicle Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<class>ee.jakarta.tck.persistence.ee.entityManagerFactory.Order</class> | ||
</persistence-unit> | ||
<persistence-unit name="CTS-EM2" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS Vehicle Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<class>ee.jakarta.tck.persistence.ee.entityManagerFactory.Order</class> | ||
</persistence-unit> | ||
<persistence-unit name="CTS-EM-NOTX" transaction-type="RESOURCE_LOCAL"> | ||
<description>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</description> | ||
<non-jta-data-source>jdbc/DB_no_tx</non-jta-data-source> | ||
<class>ee.jakarta.tck.persistence.ee.entityManagerFactory.Order</class> | ||
</persistence-unit> | ||
</persistence> | ||
|
26 changes: 26 additions & 0 deletions
26
.../src/main/java/ee/jakarta/tck/persistence/ee/packaging/web/standalone/persistence.new.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
|
||
Copyright (c) 2018 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 | ||
|
||
--> | ||
<persistence xmlns="https://jakarta.ee/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd" version="3.0"> | ||
<persistence-unit name="StandaloneAccountManager" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS EE Package Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<class>ee.jakarta.tck.persistence.ee.common.Account</class> | ||
</persistence-unit> | ||
</persistence> | ||
|
30 changes: 30 additions & 0 deletions
30
...s/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/extended/persistence.new.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
|
||
Copyright (c) 2018 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 | ||
|
||
--> | ||
<persistence xmlns="https://jakarta.ee/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd" version="3.0"> | ||
<persistence-unit name="CTS-EXT-UNIT"> | ||
<description>Persistence Unit for CTS EE Propagation Tests. | ||
If the transaction-type is not specified, | ||
the default is JTA.</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<class>ee.jakarta.tck.persistence.ee.common.A</class> | ||
<class>ee.jakarta.tck.persistence.ee.common.Account</class> | ||
<class>ee.jakarta.tck.persistence.ee.common.B</class> | ||
</persistence-unit> | ||
</persistence> | ||
|
35 changes: 35 additions & 0 deletions
35
...-tests/src/main/java/ee/jakarta/tck/persistence/ee/propagation/cm/jta/persistence.new.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
|
||
Copyright (c) 2018 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 | ||
|
||
--> | ||
<persistence xmlns="https://jakarta.ee/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd" version="3.0"> | ||
<persistence-unit name="CTS-JTA-UNIT" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS EE Package Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<class>ee.jakarta.tck.persistence.ee.common.A</class> | ||
<class>ee.jakarta.tck.persistence.ee.common.Account</class> | ||
<class>ee.jakarta.tck.persistence.ee.common.B</class> | ||
</persistence-unit> | ||
<persistence-unit name="CTS-JTA-UNIT2" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS EE Package Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<class>ee.jakarta.tck.persistence.ee.common.A</class> | ||
<class>ee.jakarta.tck.persistence.ee.common.Account</class> | ||
<class>ee.jakarta.tck.persistence.ee.common.B</class> | ||
</persistence-unit> | ||
</persistence> | ||
|
47 changes: 47 additions & 0 deletions
47
jpa/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/persistence.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
|
||
Copyright (c) 2018 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 | ||
|
||
--> | ||
<persistence xmlns="https://jakarta.ee/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd" version="3.0"> | ||
<persistence-unit name="CTS-EM" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS Vehicle Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<class>ee.jakarta.tck.persistence.core.EntityGraph.Department</class> | ||
<class>ee.jakarta.tck.persistence.core.EntityGraph.Employee</class> | ||
<class>ee.jakarta.tck.persistence.core.EntityGraph.Employee2</class> | ||
<class>ee.jakarta.tck.persistence.core.EntityGraph.Employee3</class> | ||
</persistence-unit> | ||
<persistence-unit name="CTS-EM2" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS Vehicle Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<class>ee.jakarta.tck.persistence.core.EntityGraph.Department</class> | ||
<class>ee.jakarta.tck.persistence.core.EntityGraph.Employee</class> | ||
<class>ee.jakarta.tck.persistence.core.EntityGraph.Employee2</class> | ||
<class>ee.jakarta.tck.persistence.core.EntityGraph.Employee3</class> | ||
</persistence-unit> | ||
<persistence-unit name="CTS-EM-NOTX" transaction-type="RESOURCE_LOCAL"> | ||
<description>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</description> | ||
<non-jta-data-source>jdbc/DB_no_tx</non-jta-data-source> | ||
<class>ee.jakarta.tck.persistence.core.EntityGraph.Department</class> | ||
<class>ee.jakarta.tck.persistence.core.EntityGraph.Employee</class> | ||
<class>ee.jakarta.tck.persistence.core.EntityGraph.Employee2</class> | ||
<class>ee.jakarta.tck.persistence.core.EntityGraph.Employee3</class> | ||
</persistence-unit> | ||
</persistence> | ||
|
47 changes: 47 additions & 0 deletions
47
...-tests/src/main/java/ee/jakarta/tck/persistence/core/StoredProcedureQuery/persistence.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
|
||
Copyright (c) 2018 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 | ||
|
||
--> | ||
<persistence xmlns="https://jakarta.ee/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd" version="3.0"> | ||
<persistence-unit name="CTS-EM" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS Vehicle Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<mapping-file>myMappingFile.xml</mapping-file> | ||
<class>ee.jakarta.tck.persistence.core.StoredProcedureQuery.Employee</class> | ||
<class>ee.jakarta.tck.persistence.core.StoredProcedureQuery.Employee2</class> | ||
<class>ee.jakarta.tck.persistence.core.StoredProcedureQuery.EmployeeMappedSC</class> | ||
</persistence-unit> | ||
<persistence-unit name="CTS-EM2" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS Vehicle Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<mapping-file>myMappingFile.xml</mapping-file> | ||
<class>ee.jakarta.tck.persistence.core.StoredProcedureQuery.Employee</class> | ||
<class>ee.jakarta.tck.persistence.core.StoredProcedureQuery.Employee2</class> | ||
<class>ee.jakarta.tck.persistence.core.StoredProcedureQuery.EmployeeMappedSC</class> | ||
</persistence-unit> | ||
<persistence-unit name="CTS-EM-NOTX" transaction-type="RESOURCE_LOCAL"> | ||
<description>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</description> | ||
<non-jta-data-source>jdbc/DB_no_tx</non-jta-data-source> | ||
<mapping-file>myMappingFile.xml</mapping-file> | ||
<class>ee.jakarta.tck.persistence.core.StoredProcedureQuery.Employee</class> | ||
<class>ee.jakarta.tck.persistence.core.StoredProcedureQuery.Employee2</class> | ||
<class>ee.jakarta.tck.persistence.core.StoredProcedureQuery.EmployeeMappedSC</class> | ||
</persistence-unit> | ||
</persistence> | ||
|
44 changes: 44 additions & 0 deletions
44
...ts/src/main/java/ee/jakarta/tck/persistence/core/annotations/access/field/persistence.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
|
||
Copyright (c) 2018 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 | ||
|
||
--> | ||
<persistence xmlns="https://jakarta.ee/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd" version="3.0"> | ||
<persistence-unit name="CTS-EM" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS Vehicle Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.field.DataTypes</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.field.DataTypes2</class> | ||
<class>ee.jakarta.tck.persistence.core.types.common.Grade</class> | ||
</persistence-unit> | ||
<persistence-unit name="CTS-EM2" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS Vehicle Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.field.DataTypes</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.field.DataTypes2</class> | ||
<class>ee.jakarta.tck.persistence.core.types.common.Grade</class> | ||
</persistence-unit> | ||
<persistence-unit name="CTS-EM-NOTX" transaction-type="RESOURCE_LOCAL"> | ||
<description>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</description> | ||
<non-jta-data-source>jdbc/DB_no_tx</non-jta-data-source> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.field.DataTypes</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.field.DataTypes2</class> | ||
<class>ee.jakarta.tck.persistence.core.types.common.Grade</class> | ||
</persistence-unit> | ||
</persistence> | ||
|
53 changes: 53 additions & 0 deletions
53
...src/main/java/ee/jakarta/tck/persistence/core/annotations/access/mappedsc/persistence.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
|
||
Copyright (c) 2018 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 | ||
|
||
--> | ||
<persistence xmlns="https://jakarta.ee/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd" version="3.0"> | ||
<persistence-unit name="CTS-EM" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS Vehicle Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.AbstractPersonnel</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.Department</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.Employee</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.FullTimeEmployee</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.PartTimeEmployee</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.Project</class> | ||
</persistence-unit> | ||
<persistence-unit name="CTS-EM2" transaction-type="JTA"> | ||
<description>Persistence Unit for CTS Vehicle Tests</description> | ||
<jta-data-source>jdbc/DB1</jta-data-source> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.AbstractPersonnel</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.Department</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.Employee</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.FullTimeEmployee</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.PartTimeEmployee</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.Project</class> | ||
</persistence-unit> | ||
<persistence-unit name="CTS-EM-NOTX" transaction-type="RESOURCE_LOCAL"> | ||
<description>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</description> | ||
<non-jta-data-source>jdbc/DB_no_tx</non-jta-data-source> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.AbstractPersonnel</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.Department</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.Employee</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.FullTimeEmployee</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.PartTimeEmployee</class> | ||
<class>ee.jakarta.tck.persistence.core.annotations.access.mappedsc.Project</class> | ||
</persistence-unit> | ||
</persistence> | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ee.jakarta.tck.persistence.ee.entityManagerFactory.Order looks like a valid (mapped) class reference which in my local #1442 branch looks right.