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

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

      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.

        1. screenshot-1.jpg
          196 kB
          Vitali Yemialyanchyk

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

                Created:
                Updated:
                Resolved: