title: Can I force Ebean enhancement while sbt recompiles the project?
body: <p>I have following hierarchy:</p>
  
  <pre><code>@MappedSuperclass
  public abstract class BaseModel extends Model {
      // common persistent fields for all entities, (id, timestamps etc.)  
  }
  
  @MappedSuperclass
  public abstract class SpecificModel extends BaseModel {
      // common persistent fields for only some entities  
  }
  
  @Entity
  public class ExampleModel extends SpecificModel {
  
  }
  </code></pre>
  
  <p>The BaseModel extends io.ebean.Model class.</p>
  
  <h2>Problem:</h2>
  
  <p>When I make some code changes, the SBT will try to recompile only those classes that were affected by the change. This makes the compiler complaining that any class extending <strong>SpecificModel</strong> <em>is not abstract and does not override abstract method _ebean_intercept() in io.ebean.bean.EntityBean.</em></p>
  
  <p>I assume this happens when SBT recompiles only some sources, but those sources are not enhanced by the Ebean enhancer. </p>
  
  <p>After running the <strong>clean</strong> command the compilation is successful, but it would be pain to clean and compile whole project again for every change.</p>
  
  <p><strong>Is there a way to force the enhancement when recompiling? Or is the problem elsewhere? Or is it a bad practice to have two abstract MappedSuperclasses?</strong></p>
  
  <p>Using: Play! 2.6.7, PlayEbean 4.0.6</p>