Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-413

HHH-6271 Spurious ERROR message in log when deploying JPA 1.0 applications

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EAP 6.0.0 ER 3_Beta1
    • Fix Version/s: EAP 6.0.0 ER 4
    • Component/s: Hibernate
    • Labels:
      None

      Description

      When deploying a JPA 1.0 application with an orm.xml file, this message is logged in the console:

      00:25:55,990 ERROR [org.hibernate.internal.util.xml.ErrorLogger] (MSC service thread 1-3) HHH000196: Error parsing XML (5) : cvc-complex-type.3.1: Value '1.0' of attribute 'version' of element 'entity-mappings' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '2.0'
      

      This does not look correct and is confusing to the user. Moreover, the application deploys successfully.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                stliu Strong Liu
                Reporter:
                marius.bogoevici Marius Bogoevici
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: