Code Completion does not work for createQuery().setParameter() using Jakarta EE
已回答
Code Completion works for javax.persistence.setParameter(String name, Object value), not for jakarta.persistence.setParameter(String name, Object value)
Language Injection seems correct for EntityManager.createQuery().
Is this a bug in IntelliJ?
jakarta:


javax:


请先登录再写评论。
Could you try following steps one by one and check if the issue is still happening:
If the issue persists, please share sample project to try to reproduce the issue on our side, and your IDE logs (Help > Collect Logs and Diagnostic Data) via https://uploads.jetbrains.com, just provide us the uploaded file ID. Thanks!
Fail after following your list.
Created a sample project: Upload id: 2023_05_29_qAT5J8uyUd1tY5wHJd4FNW (file: demo5.zip)
Same problem om another PC
IntelliJ IDEA 2023.1.2 (Ultimate Edition), Windows 10
Thanks for the project. I managed to reproduce the issue, and created it in the issue tracker: https://youtrack.jetbrains.com/issue/IDEA-321205
I added you as the issue watcher. You can vote for it to increase popularity.