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

Netbeans warns of missing persistance unit on a Spring project

    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

          People

            Unassigned Unassigned
            dusty Alessandro Polverini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: