cpramirez opened a new issue, #5616:
URL: https://github.com/apache/netbeans/issues/5616

   ### Description
   
   Good day everyone,
   
   Currently Netbeans only has support for Javax based Persistence versions 
(1.0, 2.0 and 2.1), not the 
[Jakarta](https://jakarta.ee/specifications/persistence/) versions (2.2, 3.0 
and 3.1). That means that it does not recognise the persistence.xml files of 
those versions as good ones and does not identify Entity Classes declared with 
jakarta namespaces or the JPQL of the Named Queries as such. 
   
   That last one is specially bothersome as it does not detect errors in the 
queries and you only find them once the start-up of the persistence module at 
deployment fails. Then you have to search within all your queries manually 
using the information that the persistence provider logs. And let me tell you, 
when you have a silly kind of error like a moved coma, the logs are really 
unhelpful. 
   
   
![image](https://user-images.githubusercontent.com/16305562/223118561-1838d464-9f05-4d8a-b73b-39e944fb6bc4.png)
   
   Thanks for your help in this issue.
   
   ### Use case/motivation
   
   Have the same support for Jakarta Persistence as we currently have for Javax 
Persistence.
   
   ### Related issues
   
   I already notified this issue in the #3757 bug report. The part of the web 
services support was solved and that issue closed, but the part of the 
persistence was not.
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to