Skip to content

Upgrade to NetBeans RELEASE290 and fix JPQLExecutor API incompatibilities - #564

Merged
jGauravGupta merged 4 commits into
masterfrom
copilot/fix-jpql-executor-method
Mar 18, 2026
Merged

jGauravGupta merged 4 commits into
masterfrom
copilot/fix-jpql-executor-method

Conversation

Copilot AI commented Mar 17, 2026 •

Copy link
Copy Markdown
Contributor

Two NetBeans RELEASE290 API breaking changes caused compilation failures in JPQLEditorPanel.java. Both JPQLExecutor.execute() and JPQLEditorController.executeJPQLQuery() added Persistence as a new second parameter.

Changes

  • pom.xml: Bump netbeans.version RELEASE270 → RELEASE290
  • JPQLEditorPanel.java line 335: Insert puObject.getPersistence() as 2nd arg to JPQLExecutor.execute() (8→9 params)
  • JPQLEditorPanel.java line 952: Insert puObject.getPersistence() as 2nd arg to executeJPQLQuery() (5→6 params)
// JPQLExecutor.execute() — RELEASE290 signature (9 params)
queryExecutor.execute(jpql, puObject.getPersistence(), selectedConfigObject, pe, props, provider, 0, ph2, false);

// JPQLEditorController.executeJPQLQuery() — RELEASE290 signature (6 params)
getController().executeJPQLQuery(jpqlEditor.getText(), puObject.getPersistence(), pu, pe, getMaxRowCount(), ph);

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • www.netbeans.org
    • Triggering command: /opt/hostedtoolcache/CodeQL/2.24.3/x64/codeql/tools/linux64/java/bin/java /opt/hostedtoolcache/CodeQL/2.24.3/x64/codeql/tools/linux64/java/bin/java -jar /opt/hostedtoolcache/CodeQL/2.24.3/x64/codeql/xml/tools/xml-extractor.jar --fileList=/tmp/codeql-scratch-fdd66e05bc544768/dbs/java/working/files-to-index12119443654265164288.list --sourceArchiveDir=/tmp/codeql-scratch-fdd66e05bc544768/dbs/java/src --outputDir=/tmp/codeql-scratch-fdd66e05bc544768/dbs/java/trap/java (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

Co-authored-by: jGauravGupta <15934072+jGauravGupta@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix JPQLExecutor method argument mismatch Fix JPQLExecutor.execute() call to match updated NetBeans API signature Mar 17, 2026
Copilot AI requested a review from jGauravGupta March 17, 2026 19:48
Co-authored-by: jGauravGupta <15934072+jGauravGupta@users.noreply.github.com>
Copilot AI changed the title Fix JPQLExecutor.execute() call to match updated NetBeans API signature Upgrade to NetBeans RELEASE280 and fix JPQLExecutor.execute() 9-param signature Mar 17, 2026
Co-authored-by: jGauravGupta <15934072+jGauravGupta@users.noreply.github.com>
Copilot AI changed the title Upgrade to NetBeans RELEASE280 and fix JPQLExecutor.execute() 9-param signature Upgrade to NetBeans RELEASE290 and fix JPQLExecutor API incompatibilities Mar 18, 2026
@jGauravGupta
jGauravGupta marked this pull request as ready for review March 18, 2026 10:08
@jGauravGupta
jGauravGupta merged commit 54c26de into master Mar 18, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants