replace @XxxxQueryOptions with one @StaticQueryOptions annotation#984
replace @XxxxQueryOptions with one @StaticQueryOptions annotation#984njr-11 merged 2 commits intojakartaee:mainfrom
Conversation
alternate solution to jakartaee#806
b06c703 to
96ef425
Compare
|
@njr-11 @sebersole I would like to hear your feedback on this. |
njr-11
left a comment
There was a problem hiding this comment.
I'm fine with the single @StaticQueryOptions annotation that covers both read and write options. I added one comment where one of the Jakarta Data usages for WriteQueryOptions was left out when combining
Co-authored-by: Nathan Rauh <nathan.rauh@us.ibm.com>
|
Thanks, Nathan. |
|
Oops - sorry about the accidental merge. I thought I had a completely different PR up, not this one. |
|
No worries. I'm still waiting to hear what @sebersole thinks, but if he doesn't object then we can just leave it merged. |
|
Personally I'm not a fan of "one annotation(s) to rule them all" when you you have to explicitly say, "well, this option is only valid in one of the cases, and this one too, and this one blows up if you try to use it here...". But I really have no objection nor honestly any skin in this particular game - Hibernate will support whatever y'all decide. |
alternate solution to #806, since @njr-11 objected to #933.