stanislav bashkirtsev edited a comment on Improvement HHH-6080

Please, provide the sample and the way we need to configure Hibernate. Note, that using this snippet doesn't work, it throws exception:

<?xml version="1.0"?>
<hibernate-mapping xmlns="http://www.hibernate.org/xsd/hibernate-mapping"
                   xsi:schemaLocation="http://www.hibernate.org/xsd/hibernate-mapping hibernate-mapping-4.0.xsd"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   package="org.blah.blah">
<class name="Book" table="book">
    <id name="id">
      <generator class="native"/>
    </id>
    <property name="title"/>
  </class>
</hibernate-mapping>
Exception:

Caused by: org.xml.sax.SAXParseException; lineNumber: 5; columnNumber: 70; cvc-elt.1: Cannot find the declaration of element 'hibernate-mapping'.

Hibernate 4.1.7-Final.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira