ebean.mf

The ebean.mf manifest file controls the enhancement. It controls:

  • What packages are enhanced
  • What enhancement features are used

It is typically located in src/main/resources/ebean.mf.

Example 1

entity-packages: org.example.domain
transactional-packages: org.example
querybean-packages: none

With example 1 we are enhancing entity beans in the org.example.domain package, we are also enhancing @Transactional methods but we are not using query bean enhancement.

Example 2

profile-location: true
entity-packages: org.example.domain
transactional-packages: org.example
querybean-packages: org.example

With example 2 turns on profile-location enhancement and query bean enhancement.

Tooling

The ebean.mf file is read by all the tooling that performs enhancement. It is read by:

  • IntelliJ IDEA plugin
  • Eclipse plugin
  • Maven enhancement plugin
  • Gradle enhancement plugin

Edit Page