Note that much of this comes from the PU in JPA sense. This is intended as an abstraction over the PU in JPA cases, as well as a delegate allowing usage in non-JPA cases. With the planned move to unify the cfg.xml and persistence.xml schemas (like we are doing with hbm.xml and orm.xml) this becomes less needed (at least parts of it).
After unification, I think the biggest difference is that we will not need to pass ScanEnvironment into the MetadataSources/MetadataBuilder while for the time being we will need to.
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: The explicitly listed classesReturns any classes which are explicitly listed as part of the "persistence unit". |
| public List | Returns: The explicitly listed mapping files.Returns the mapping files which are explicitly listed as part of the "persistence unit". |
| public List | |
| public URL |
| getExplicitlyListedClassNames | back to summary |
|---|---|
| public List Returns any classes which are explicitly listed as part of the "persistence unit". | |
| getExplicitlyListedMappingFiles | back to summary |
|---|---|
| public List Returns the mapping files which are explicitly listed as part of the "persistence unit". | |
| getNonRootUrls | back to summary |
|---|---|
| public List Returns any non-root URLs for scanning. Can be null/empty to indicate that no non-root URL scanning should be done.
| |
| getRootUrl | back to summary |
|---|---|
| public URL getRootUrl() Returns the root URL for scanning. Can be
| |