Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9456

JPA: jpa validator creates error markers in persistence.xml instead of package-info

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.3.0.M3
    • 3.3.0.M3
    • hibernate
    • None
    • Hide

      1. Create package-info.java in pacakge x
      2. Add @GenericGenerator(name = "xx", strategy = "")
      3. Add <class>x</class> in persistence.xml
      4. Observe error marker with "Strategy could not be empty message appeared" in persistence.xml

      Show
      1. Create package-info.java in pacakge x 2. Add @GenericGenerator(name = "xx", strategy = "") 3. Add <class>x</class> in persistence.xml 4. Observe error marker with "Strategy could not be empty message appeared" in persistence.xml

    Description

      Due to some reason if jpa validator finds error in annotations from package-info.java it creates error marker in persistence.xml, but not in package-info.java

      Attachments

        Activity

          People

            jpeterka_jira Jiri Peterka (Inactive)
            dgeraskov Dmitry Geraskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: