I am using JPA2 @entity
to represent my models. I need to put data asynchronously to the datastore. How would I do that? If a JPA Dao cannot do that, can I use AsyncDatastoreService on JPA entities -- instead of JPQL? Does anyone have an example?
(I know in Python this would be a joke as I can extend ndb.Model
to create models and then call put_async on them. But in Java there is no ndb.Model
to extend so I am using JPA.)