|
you get a warning like this: 2015/06/24 05:46:55,206 WARN [SERVER_MAIN] (ModelBinder.java:2231) - HHH90000004: embed-xml attributes were intended to be used for DOM4J entity mode. Since that entity mode has been removed, embed-xml attributes are no longer supported and should be removed from mappings. for every occurrence of a <many-to-one node in a hbm file that does not have embed-xml="false" attribute. While there are other (set, one-to-many,..) that default to embed-xml="true" if they are not there it is not easy to find the reason for this warning in big projects. It would be nice if there could be some more information in the warning where the trigger for this warning is located. Maybe it is possible to display the xml file or entity this warning is related to?
|