Eclipse IDE

Ebean uses bytecode enhancement to provide dirty checking and lazy loading. Setup Eclipse to use the Ebean agent to enhance entity beans and transactional methods when we develop and run tests in the IDE.

Install the Plugin for IntelliJ IDEA or Eclipse IDE.

Eclipse IDE

Preferences > Installed JREs

Goto the installed JRE's and hit Edit



Add -javaagent

Add the ebean-agent as a VM -javaagent argument to the JRE. Use this JRE for your project.