Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3110

Netbeans warns of missing persistance unit on a Spring project

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 11.1, 12.2
    • None
    • None
    • Java 11, Netbeans 11.1, Linux

    Description

      When working on a Spring or Spring Boot project, where the persistance unit is handled automatically by the framework (the default), every @Entity class in the project has the hint:

      "The project does not contain a persistance unit"

      and we are prompted to create one.

      The IDE should understand that this is not an error when using Spring.

      Attachments

        1. bug-3110.png
          22 kB
          Alessandro Polverini
        2. demo.zip
          56 kB
          Alessandro Polverini

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            dusty Alessandro Polverini

            Dates

              Created:
              Updated:

              Slack

                Issue deployment