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

Wrong generation of Hibernate XML mapping file.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.1.0.CR1
    • 3.1.0.M4
    • hibernate
    • None

    Description

      EXECUTE: Create Seam 2FP EAR project.
      EXECUTE: New > Hibernate XML Mapping file.
      EXECUTE: Select authentificator class and add it.
      EXECUTE: Press Finish.
      FAILURE: Error appears in generated file.

      "The content of element type "class" must match "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id|composite-id),discriminator?,natural-id?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array),((join,subclass*)|joined-subclass*|union-subclass*),loader?,sql-insert?,sql-update?,sql-delete?,filter*,resultset*,(query|sql-query)*)"."

      On element: Authenticator.hbm.xml
      In folder: seamEar-ejb/ejbModule/org/domain/seamear/session
      Location: line 6

      Vitaly said that in this generated file class id is missed. So there is an mistake in generator.

      Attachments

        Activity

          People

            dgeraskov Dmitry Geraskov (Inactive)
            anis_jira Aliaksey Nis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: