Skip to content

1.4.0

Compare
Choose a tag to compare
@sai-pullabhotla sai-pullabhotla released this 14 Mar 04:46
· 101 commits to master since this release
  • Enhanced the EntityManagerFactory to allow creation of EntityManager using advanced options such as connection timeout and read timeout. A new class, ConnectionParameters was created for this purpose. The ConnectionParameters class provides a standardized and consistent way to create EntityManager 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 an Entity or ProjectedEntity. Using ProjectedEntity enforces additional checks (e.g. persistence of Projection Entities is disallowed).
  • Fixed the DefaultDatastoreMetadata to catch any underlying exceptions and re-throw them as EntityManagerException.
  • Upgraded the underlying google-cloud-datastore API to the latest version, 0.9.4-beta.