Hi,
There's not necessarily a problem with @DataSourceDefinition being in the Common Annotations spec, although there is the mentioned issue with configurability and the generic attributes that the @DataSourceDefinition takes without specifying whether and how they should go to the pool vs the data source.
I'm a great fan of @DataSourceDefinition, but it has always been a bit of an issue that it essentially merges two other concepts in one; the data source and the connection pool. Many other proprietary mechanisms (like for example GlassFish) have two separate definitions for that.
Additionally, a small data storage spec might be orthogonal to the requirements of evolving @DataSourceDefinition, but these two efforts might be combined. Although it's just a proposal, I was half thinking about a replacement @DataSourceDefinition that does have the separate pool and data source concept, together with an actual available (embedded) database. As you know all too well (you closed my issue for it back then :P) Java EE doesn't really have a runtime available database, even though it's generally thought it has one.
At the same time, our friends from Apache/TomEE, Mark Struberg and Romain, have been crying for over a decade now that @DataSourceDefinition is absolutely bad and can't be used for anything. While I respectfully disagree with that (we've used @DataSourceDefinition for tons of real life projects), it might be interesting to finally get to the bottom of what these two are actually complaining about, and see if we can address that.
Kind regards,
Arjan