-
Notifications
You must be signed in to change notification settings - Fork 0
persistence.yaml
Laird Nelson edited this page Mar 4, 2019
·
1 revision
It might be nice to be able to load a minimal persistence.yaml
formatted like so:
units:
- name: "fred"
classes:
- "com.foobar.Frob"
- "com.foobar.Baz"
This is a persistence unit collection consisting of one persistence unit with a version of 2.2
(default), a name of fred
, explicitly listed managed classes consisting of com.foobar.Frob
and com.foobar.Baz
, a transactionType
of JTA
(default), a jtaDataSource
name of fred
(default) and a null
nonJtaDataSource
(default). The classloader used would be the flat CDI SE classloader (usually the context classloader). No temp classloader would be used and weaving would not be supported.