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

Exception occures after add additional mapping file into Hibernate cofiguration that is already listed in cfg.file.

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Obsolete
    • Minor
    • LATER
    • 2.1.0.CR1
    • hibernate
    • None

    Description

      EXECUTE: Import attached project
      EXECUTE: Open Hibernate Configuration View
      EXECUTE: Select Add Configuration from context menu
      EXECUTE: Select project and select hibernate.cfg.xml
      EXECUTE: Switch to Mappings tab
      EXECUTE: Add mapping file (NewMapping.hbm.xml from src/demo/ )
      EXECUTE: Press Apply button and Ok button
      EXECUTE: Expand newly created configuration
      FAILURE: org.hibernate.InvalidMappingException: Could not parse mapping document from file TestHib\src\demo\NewMapping.hbm.xml
      ASSERT: Any warning message about duplicate using of the same mapping file or if additional file already presents in *cfg.xml may be need to exclude it from list of available files in wizard for adding Additional mappings. Or something else...

      Attachments

        1. exception.txt
          5 kB
        2. TestHib.zip
          4 kB

        Activity

          People

            Unassigned Unassigned
            aklimkovich Anton Klimkovich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: