by Rob 14 May 10:12
RELEASE 1.2.0 - Need to update the enhancer with this release

Note: Release 1.2 is going up shortly.

The enhancement has changed and if you are using the Eclipse Enhancer plugin, please update that as well. Otherwise you will see something like:

Exception in thread "main" java.lang.AbstractMethodError: app.data.User._ebean_setEmbeddedLoaded()V

This is a new method added to entity beans in v1.2 and is not available on beans enhanced with v1.2 of Ebean (hence the error above).


Thanks, Rob.

14 May 10:24
by Rob

Also some of the serialised objects have been changed. So when you first run Ebean v1.2 it will throw some error due to incompatible serialVersionUID.

java.io.InvalidClassException: com.avaje.ebean.server.autofetch.TunedQueryInfo; local class incompatible: stream classdesc serialVersionUID = 7381493228797997284, local class serialVersionUID = 7381493228797997282
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)

Please run your application again... and they should disappear.

Thanks, Rob.

14 May 10:44
by Rob

The main changes in v1.2 are:

- Local sorting and filtering - Ebean.sort() and Ebean.filter()
- Updating of only changed properties
- Enhancement modifications (for Embedded beans)
- Refactoring of BeanListener, BeanController etc with generics, new names BeanPersistListener, BeanPersistController and support the 'update only changes'
- Bug fixes

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