Plugin for enhancing JPA entity classes at compile time to be ready for OpenJPA. Especially useful when combined with Javarel Framework.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
- 1.0 - Initial release.
Apache License 2.0
By default, plugin enhances all classes that have suffix Entity
, e.g UserEntity
, PostEntity
etc.
But that behavior can be customized to any needs, see below example.
apply plugin: 'neva.openjpa'
enhanceEntities {
includeFilter = {
include '**/*Entity.class'
}
}