Prev |  | Next

## EclipseLink Detection Criteria

Bundlor scans for the EclipseLink `eclipselink-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.

### `eclipselink-orm.xml` Values

Using XPath syntax, the following is a list of values searched for type names

- `//cache-interceptor/@class`
- `//converter/@class`
- `//copy-policy/@class`
- `//customizer/@class`
- `//discriminator-class/@value`
- `//id-class/@class`
- `//element-collection/@target-class`
- `//entity/@class`
- `//entity-listener/@class`
- `//entity-result/@entity-class`
- `//embeddable/@class`
- `//many-to-many/@target-entity`
- `//many-to-one/@target-entity`
- `//map-key-class/@class`
- `//mapped-superclass/@class`
- `//named-native-query/@result-class`
- `//named-stored-procedure-query/@result-class`
- `//object-type-converter/@data-type`
- `//object-type-converter/@object-type`
- `//one-to-many/@target-entity`
- `//one-to-one/@target-entity`
- `//property/@value-type`
- `//query-redirectors/@all-queries`
- `//query-redirectors/@read-all`
- `//query-redirectors/@read-object`
- `//query-redirectors/@report`
- `//query-redirectors/@update`
- `//query-redirectors/@insert`
- `//query-redirectors/@delete`
- `//read-transformer/@transformer-class`
- `//stored-procedure-parameter/@type`
- `//struct-converter/@converter`
- `//type-converter/@data-type`
- `//type-converter/@object-type`
- `//variable-one-to-one/@target-interface`
- `//write-transformer/@transformer-class`

Prev | Up | Next
| Home |