by Rob 18 Jul 05:14
Version 2.0.0 Released

Version 2.0.0 has been released.

- DDL Generation
- PropertyChangeSupport for enhanced entity beans
- Refactoring of programmatic configuration via ServerConfig
- Add query.findRowCount();
- Refactor for SqlQuery, SqlUpdate and CallableSql (as interfaces)...
- New methods to createNamedSqlQuery(), createNamedUpdate() etc
- Refactoring of Expressions (Expr has been repackaged)
- Removed some Deprecated methods
- Bug fixes

There was also a fair amount of refactoring of the internals as support the DDL generation etc.

19 Jul 19:32
by florin

Thank you so much for the great work.

Do we have upgrade details?

What's happened to the google group account?

21 Jul 07:55
by Rob

There are some upgrade details here:
http://groups.google.com/group/ebean/browse_thread/thread/344af95b140adb83

> What's happened to the google group account?
I'm not sure what you mean. I did think it was slow in emailing out some of the threads but otherwise I'm pretty happy using it.

Is there a problem with the google group?

21 Jul 08:05
by Rob

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.

Create a New Topic

Title:
Body:
 
Introduction User Guide (pdf) Install/Configure Public JavaDoc Whitepapers
General Database Specific Byte Code Deployment Annotations Features
Top Bugs Top Enhancements
woResponse