mappingResources
The mapping resources (equivalent to <mapping-file>
entries in persistence.xml
) for the persistence unit.
Note that mapping resources must be relative to the classpath root, e.g. "META-INF/mappings.xml" or "com/mycompany/repository/mappings.xml", so that they can be loaded through ClassLoader.getResource()
.
Return
the builder for fluent usage
Parameters
mappingResources
the mapping resources to use