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

Netbeans warns of missing persistance unit on a Spring project

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.1, 12.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated: