Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
12.4, 12.5, 12.6
-
None
-
None
-
Netbeans 12.4 both on Windows 10 and Ubuntu 20.04.
Netbeans 12.5 on Ubuntu 20.04.
API versions tested: Jakarta 2.2.3 and 3.0.0
Persistence providers: Eclipselink-3.0.2 and Hibernate-5.5.3
Description
Hello everyone,
First of all, thank you for your work on the IDE and your support on this concrete matter.
The problem I currently have is that I am trying to add a new persistence provider for the 3.0 Persistence API, but the IDE seems to be unable to recognise the libraries as valid. I have tried both with Eclipselink and with Hibernate. Attached is the image of one of the attempts with Eclipselink (I have done several changing the included jars trying to find the problem).
I am able to work with my projects despite of that, because I use Maven and the libraries are included anyway, but the IDE keeps telling me that my persistence.xml is wrong because it is declared as version 3.0 and giving me annoying warning and error messages right and left.
I suspect that the problem is because the wizard does not find the EntityManager under the Jakarta namespace, so it does not allow to carry on (it fails with other Jakarta jars, with lower versions too), but I have not way of verifying it.
Thank you again for your help. Regards,
NOTE: There seems to be also problems because I am using a 5.0 servlet version and it does not recognise it as you can see in the errors, but this one affects less to my work, so I have not opened an issue for it. Should I?
UPDATED today a 12.5 and still fails.