greenDAO 2.2 with Database Encryption

Encryption is the central feature of today’s greenDAO 2.2 release. Actually, greenDAO seems to be the first Android ORM to officially support SQLCipher (non-beta). Since it’s first (source-only) release in August 2015, greenDAO’s encryption support has been successfully tested in a complex setup for months. So, if you want to store sensitive data in your database, give it a try!
Continue reading

EventBus 3 released, now based on @Annotations

EventBus3
Today, we are pleased to release EventBus 3. Previous versions of EventBus rejected to use annotations for performance reasons. Now, version 3 embraces annotations to improve performance. How does that make sense? Unfortunately, Android’s performance did not get any better. Reflection on annotations is still very bad compared to Desktop Java, even on Android 6 and ART. EventBus 3 resolves this problem by introducing a new annotation processor, which will index all annotations at build time. It generates a class containing all the data that would be expensive to get at run time. Build-time indexing makes EventBus 3 the fastest EventBus ever.

Continue reading

greenrobot-common 2.3 with improved ObjectCache

Version 2.3 of greenrobot-common was just released and brings a new cache implementation: as the class ObjectCache suggests, caches a number of objects in memory. The API is used in a key-value like fashion, very much like a Map. It comes with a couple of cache-specific features though:
Continue reading

Multimaps in greenrobot-common 2.2

We just released greenrobot-common 2.2, a small utility library that we use in almost every project. This version adds multimaps, which are absent from standard Java and Android.  Unlike a regular map, multimaps allow multiple values for a single key.
Continue reading

greenDAO 1.3 Release

Multithreading and Maven/Gradle support are the two major themes of greenDAO 1.3. If you are using greenDAO from multiple threads, you are highly advised to upgrade to the latest version of greenDAO to prevent deadlocks. Fixing these issues led to small modification to Queries resulting in breaking changes that require small adjustments in your code. We seized this opportunity to refactor code and introduce a couple of new packages. There are a few actions required to upgrade on your side, see below for a list.
Continue reading

greenDAO 1.1 Release

Since the 1.0 release of our Android ORM tool greenDAO, we saw greenDAOs’ community activity growing. During the last four months we collected developer feedback and added our own experience with greenDAO. Version 1.1 does not come with big changes, but brings evolutionary new features and fixes:
Continue reading

greenDAO 1.0 Open Source Release

Today, we are happy to announce version 1.0 of greenDAO, which is also the first open source release. With this release, we think greenDAO is ready for a wide developer audience. The preview versions of greenDAO proved to be stable and some apps in the Android Market already use greenDAO. Android developers, stop messing around with SQL, start with greenDAO! 😉
Continue reading