1.4.0
sai-pullabhotla
released this
14 Mar 04:46
·
101 commits
to master
since this release
- Enhanced the
EntityManagerFactory
to allow creation ofEntityManager
using advanced options such as connection timeout and read timeout. A new class,ConnectionParameters
was created for this purpose. TheConnectionParameters
class provides a standardized and consistent way to createEntityManager
either for Datastore on GCP or Datastore Emulator. - Added a new annotation named
ProjectedEntity
to support mapping the results of a projection query. Query Results (Entity Query or Projection Query) can either be mapped to anEntity
orProjectedEntity
. UsingProjectedEntity
enforces additional checks (e.g. persistence of Projection Entities is disallowed). - Fixed the
DefaultDatastoreMetadata
to catch any underlying exceptions and re-throw them asEntityManagerException
. - Upgraded the underlying google-cloud-datastore API to the latest version, 0.9.4-beta.