Skip to content

JPQL Query does not work for jakarta.persistence #8689

@euasier

Description

@euasier

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:

Image

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugBug report or fix

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions