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

Edit Configuration - if configuration file hibernate.cfg.xml contains <mapping class="..."> and config type is "Core" - will result exception

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Minor Minor
    • LATER
    • 3.0.0.CR2
    • hibernate
    • None

      Exception:
      org.hibernate.MappingException: An AnnotationConfiguration instance is required to use <mapping class="..."/>
      An AnnotationConfiguration instance is required to use <mapping class="..."/>

      this is expected behavior - the user should select "Annotations" or "JPA"
      but it will be a nice feature if in the case hibernate.cfg.xml contains <mapping class="...">
      "Core" will become disabled or warning (or error) mesage be display.

            kaers@redhat.com Koen Aers
            vyemialyanchyk_jira Vitali Yemialyanchyk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: