TCK tests of Asynchronous repository method#1456
Conversation
| @jakarta.nosql.Entity | ||
| @jakarta.persistence.Entity | ||
| public class Account { | ||
| @jakarta.nosql.Id |
There was a problem hiding this comment.
Do you mind putting a line here?
There was a problem hiding this comment.
Do you mind putting a line here?
I don't understand your question. My best guess is that you want a new line prior to the Id annotation. I added a commit that does that:
|
@njr-11 I would like to better understand your intention with this one. As the spec is written today, I believe async repositories are not required:
How is a provider which does not support |
Thanks for spotting that - I included logic to allow for Concurrency spec not being available, but forgot to include the catch block that tolerates the former like we have elsewhere throughout the TCK. This falls under the general category of unsupported repository method signatures, but I'll also add a note to the specification pointing out how to reject it. Corrections are included in: |
|
OK thanks. |
…thod annotated with Concurrency's Asynchronous
Co-authored-by: Gavin King <gavin@hibernate.org>
Adds a couple of TCK tests to cover Asynchronous on a repository method.
The tests include logic to check whether Jakarta Concurrency is present in the environment and if not present, the tests skip themselves.