jakartaee / persistence

https://jakartaee.github.io/persistence/
Other
187 stars 55 forks source link

slight adjustment to signature of EntityManager.createNativeQuery() #543

Closed gavinking closed 8 months ago

gavinking commented 8 months ago

preparing the way for #52 (which we won't do until JPA 4)

Change suggested by @lukasj in response to problem raised by @sebersole.

beikov commented 8 months ago

Since this was merged and will be part of Jakarta Persistence 3.2, this means https://github.com/hibernate/hibernate-orm/pull/7494#discussion_r1379785538 is not a problem anymore, correct @gavinking? I didn't check yet if introducing a type variable is a backwards compatible change, but I'd assume so.

gavinking commented 8 months ago

@beikov Right, that's the idea.

lukasj commented 8 months ago

@beikov wrt compatibility - see JLS 13.4.13