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

Generate Hibernate/JPA Annotation gives "Cannot generate annotations for an interface or enumeration" for several classes in java file

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Minor
    • 3.1.0.CR1
    • 3.1.0.M1
    • hibernate
    • None

    Description

      this is trivial test example:
      package org.small.jpa;
      class bbb {
      public double id2 = 2.0;
      public bbb() {}
      };
      class eee {
      public int id = 0;
      public eee() {}
      };
      at least we should discuss howto handle such situation. Generally I think it should annotate all classes.

      Attachments

        Activity

          People

            anis_jira Aliaksey Nis (Inactive)
            vyemialyanchyk_jira Vitali Yemialyanchyk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: