Java Reference
In-Depth Information
Click on
New
in the
Persistence Unit
window. In the
New Persistence Unit
window, specify a persistence unit name (
em
), and specify a
JTA Datasource Name
,
which is the datasource we created earlier. When we use a JTA datasource with
transaction type JTA (the default), the transactions are managed by the EJB container.
The
em
persistence unit gets added to the
Persistence Unit
window. Click on
Next
.
Search WWH ::
Custom Search