-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Java: generalise javax.persistence
models to also recognise jakarta.persistence
.
#19187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java: generalise javax.persistence
models to also recognise jakarta.persistence
.
#19187
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (3)
- java/ql/lib/semmle/code/java/deadcode/DeadField.qll: Language not supported
- java/ql/lib/semmle/code/java/deadcode/EntryPoints.qll: Language not supported
- java/ql/lib/semmle/code/java/frameworks/javaee/Persistence.qll: Language not supported
Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple qldocs need to be updated. LGTM otherwise.
Co-authored-by: Jami <57204504+jcogs33@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one small caveat: Did you do any local perf/join-order checking? This sort of change might shift some join-orders.
I hadn't; I'll do a DCA now to cross-check. I've made a special-purpose suite consisting of some repos that use javax.persistence and some that use jakarta.persistence, since none in the default DCA suite do, which could hide a problematic join behind a zero result in a sentinel predicate. |
No description provided.