This article is a mirror article of machine translation, please click here to jump to the original article.

View: 22059|Reply: 0

[Source] Could not compile the mapping document: xxx.hbm.xml

[Copy link]
Posted on 6/29/2016 11:56:55 AM | | |
Could not compile the mapping document: xxx.hbm.xml


Mapping files that cannot be compiled :xxx.hbm.xml

If you are not using assembly and namespace attributes, you have to specify fully-qualified class names, including
the name of the assembly that classes are declared in.

Translation:

If assembly and namespace are not set in the hibernate-mapping node properties in the map mapping file, then the qualifier must be used in the class node, and both the class name and assembly must be defined. And I got the error when the hibernate-mapping node did not set assembly and namespace, and the class node did not use the full name.



The reason for the error is that the values of the assembly and namespace nodes are not set,

Just set things up in the mapped xml file








Previous:An exception occurred during configuration of persistence layer.
Next:SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com