The changes required in going to v2:
1. repackaging of some objects (Expr mostly)
2. No new SqlQuery(), new CallableSql(), new SqlUpdate() ... instead change to use Ebean.createSqlQuery(...) Ebean.createSqlUpdate(...) etc
3. Named SqlQuery, SqlUpdate ... become Ebean.createNamedSqlQuery(...) Ebean.createNamedSqlUpdate(...)
4. BeanPersistController, BeanPersistAdapter ... changed with a new methods isRegisterFor(java.lang.Class> cls) and getExecutionOrder()
- You can have more that one registered per bean type and getExecutionOrder() is used to control the order of BeanPersistControllers
- A BeanPersistController can listen to events from multiple types (aka MappedSuperClass ... listen to events from any class that extends X)
5. BeanPersistController, BeanPersistListener etc have been repackaged into the com.avaje.ebean.event package.
6. ServerConfig - programmatic configuration via ServerConfig has changed rather dramatically and now uses EbeanServerFactory to construct an EbeanServer.
That should be pretty much it. There are new methods and objects exposed.
Please let me know if there is anything confusing.
Thanks, Rob.