Skip to content

Feature Release - Non Entity serialization

Compare
Choose a tag to compare
@sboesebeck sboesebeck released this 22 Jan 22:20
· 3847 commits to master since this release

new release of morphium THE MongoDb POJO Mapper.

this new release contains several bugfixes, minor changes and one big new feature: Serialization of non-Entities to mongodb.

Usually, if you want to map a POJO to mongo, you need to put the @entity annotation to the corresponding class. Right now, it's possible to have non-Entities serialized as well. Those will be stored as Bas64Endoced Object Stream into mongodb.

The major advantage is, when you have a list of objects as member of an entity, those can now be stored in mongo as well.

Attention: Objects need to be serializable to be stored!