I assume that you are using Play 2.0. All you have to do is extend the Model
and then continue. You can specifically activate ebean servers in the configuration file, but this should not affect the result.
What happens in your case is likely that Eclipse will ruin (usually overwrite) the bytecode modifications created by the Play compiler. Here I assume that you are using Eclipse. This is a common problem that can be solved by disabling Eclipse, running play clean compile
and starting Eclipse.
source share