Bundlor scans for the JPA persistence.xml
and orm.xml
files located in the
META-INF
directory. If it detects this file it scans the file for a number of values that
contain class names and package names. If the class name is unqualified (i.e. has no '.
' in
it), the classname is prepended with the content of the entity-mapping
tag's
package
element.
Using XPath syntax, the following is a list of values searched for type names
//persistence-unit/provider
//persistence-unit/class
Using XPath syntax, the following is a list of values searched for type names
//element-collection/@target-class
//embeddable/@class
//entity/@class
//entity-listener/@class
//entity-result/@entity-class
//id-class/@class
//many-to-many/@target-entity
//many-to-one/@target-entity
//map-key-class/@class
//mapped-superclass/@class
//named-native-query/@result-class
//one-to-many/@target-entity
//one-to-one/@target-entity