You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "cpramirez (via GitHub)" <gi...@apache.org> on 2023/03/06 13:26:53 UTC
[GitHub] [netbeans] cpramirez opened a new issue, #5616: Add support to Jakarta Persistence
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.

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: 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
[GitHub] [netbeans] cpramirez commented on issue #5616: Add support for Jakarta Persistence
Posted by "cpramirez (via GitHub)" <gi...@apache.org>.
cpramirez commented on issue #5616:
URL: https://github.com/apache/netbeans/issues/5616#issuecomment-1478397269
Hello @pepness!
I am downloading PR-4687 as I currently only have projects with Jakarta 3.0 to test. I will let you know how it goes. Regards,
--
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
[GitHub] [netbeans] pepness commented on issue #5616: Add support for Jakarta Persistence
Posted by "pepness (via GitHub)" <gi...@apache.org>.
pepness commented on issue #5616:
URL: https://github.com/apache/netbeans/issues/5616#issuecomment-1475442792
JPA 2.2 support and the schemas were added in [PR-5582](https://github.com/apache/netbeans/pull/5582), the current master branch already have the persistence schemas:

JPA 3.0 and JPA 3.1 support are in [PR-4687](https://github.com/apache/netbeans/pull/4687) which is pending approval to be merged. @cpramirez, could you test again with master or with [PR-4687](https://github.com/apache/netbeans/pull/4687)?
--
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