You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "euasier (via GitHub)" <gi...@apache.org> on 2025/07/29 23:10:13 UTC
[I] Apache db-derby-10.15.1.3 jdbc driver not property loaded when executing Run JPQL Query [netbeans]
euasier opened a new issue, #8689:
URL: https://github.com/apache/netbeans/issues/8689
### Apache NetBeans version
Apache NetBeans 26
### What happened
The new jdbc driver (org.apache.derby.client.ClientAutoloadedDriver) used in db-derby-10.15.1.3 is not properly loaded when executing a Run JPQL Query. The console displays the following error message:
<img width="1844" height="519" alt="Image" src="https://github.com/user-attachments/assets/d8a96a1e-9282-4f2d-a804-d6ffa02b2479" />
It works fine when using the old jdbc driver (org.apache.derby.jdbc.ClientDriver) with an older apache derby release (db-derby-10.14.2.0)
### Language / Project Type / NetBeans Component
_No response_
### How to reproduce
Install Apache Derby 10.15.1.3: https://archive.apache.org/dist/db/derby/db-derby-10.15.1.3/db-derby-10.15.1.3-bin.zip
Install NetBeans 26
Create DB in Services -> Databases -> JavaDB pointing to the installed Apache Derby version
Create a connection to the toursdb database of the installed Apache Derby Version
Import "test" project and Run JPQL Query
[test.zip](https://github.com/user-attachments/files/21498453/test.zip)
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Ubuntu 22.04.5 LTS - 64 bit - Wayland
### JDK
JDK 11
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] JPQL Query does not work for jakarta.persistence [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #8689:
URL: https://github.com/apache/netbeans/issues/8689#issuecomment-3369056987
@euasier please have a look at PR #8888. That should fix the problem. Please test the nightly build available from the Checks page of the PR. Direct link: https://github.com/apache/netbeans/actions/runs/18255695916/artifacts/4185817734
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] JPQL Query does not work for jakarta.persistence [netbeans]
Posted by "euasier (via GitHub)" <gi...@apache.org>.
euasier commented on issue #8689:
URL: https://github.com/apache/netbeans/issues/8689#issuecomment-3168690982
I installed TomEE 10.1.0 (JakartaEE 10) but as you say JPA 3.0 it's not fully supported yet:
<img width="807" height="518" alt="Image" src="https://github.com/user-attachments/assets/0cafa716-81e1-4f42-b8b3-de8895cb4689" />
Thank you
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] JPQL Query does not work for jakarta.persistence [netbeans]
Posted by "euasier (via GitHub)" <gi...@apache.org>.
euasier commented on issue #8689:
URL: https://github.com/apache/netbeans/issues/8689#issuecomment-3165518273
Hi Matthias,
Thanks for your response.
As you say using hibernate-core works. It seems to me that Netbeans supports up to Java EE 6 (->JPA 2.0):
https://netbeans.apache.org/tutorial/main/kb/docs/javaee/javaee-gettingstarted/
https://github.com/apache/netbeans/issues/5616
I was unable to find a Netbeans 26 page where the supported Java EE/Jakarta EE versions are listed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] JPQL Query does not work for jakarta.persistence [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #8689:
URL: https://github.com/apache/netbeans/issues/8689#issuecomment-3168616058
JakartaEE is partially supported. It still needs work and the JPQL executor is one of the areas.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] JPQL Query does not work for jakarta.persistence [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing closed issue #8689: JPQL Query does not work for jakarta.persistence
URL: https://github.com/apache/netbeans/issues/8689
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] JPQL Query does not work for jakarta.persistence [netbeans]
Posted by "euasier (via GitHub)" <gi...@apache.org>.
euasier commented on issue #8689:
URL: https://github.com/apache/netbeans/issues/8689#issuecomment-3165522012
I could be wrong though:
"Improve support for Jakarta EE 11 by @pepness in https://github.com/apache/netbeans/pull/8182"
https://github.com/apache/netbeans/releases/tag/25
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] JPQL Query does not work for jakarta.persistence [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #8689:
URL: https://github.com/apache/netbeans/issues/8689#issuecomment-3165390068
This works as soon as you switch from hibernate-core-jakarta to hibernate-core and `jakarta.persistence.*` to `javax.persistence`. The JPQL runner fails to load the entity manager as it does not expect the jakarta classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists