Skip to content

Commit 6d988b9

Browse files
committed
PU default value desc
1 parent 1b5a31b commit 6d988b9

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

jpa/stream/src/test/resources/test-persistence.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
3-
<persistence-unit name="TEST_PU">
3+
4+
<!--
5+
This defines the persistence unit from which the entity manager is used in org.javaee8.jpa.stream.repository.PersonRepository
6+
7+
Note that this relies on the defaults; in Java EE the transaction type defaults to JTA and the data source defaults to the platform default data source
8+
9+
-->
10+
11+
<persistence-unit name="TEST_PU">
412
<properties>
513
<property name="javax.persistence.sql-load-script-source" value="META-INF/sql/insert.sql"/>
614
</properties>

0 commit comments

Comments
 (0)