Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-151447

HHH90000012: Recognized obsolete hibernate namespace

    Details

      Description

      Reproduction Step:
      1. Create portal-log4j-ext.xml to liferay_home\tomcat-9.0.56\webapps\ROOT\WEB-INF\classes\META-INF\, its content as the below.

      <?xml version="1.0"?>
      
      <Configuration strict="true">
      	<Loggers>
      		<Logger level="WARN" name="org.hibernate.orm.deprecation" />
      	</Loggers>
      </Configuration>
      

      2. Start portal.

      Actual behavior:
      The log is printed "2022-04-13 04:22:48.875 WARN [main][deprecation:77] HHH90000012: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/hibernate-mapping. Use namespace http://www.hibernate.org/dtd/hibernate-mapping instead. Support for obsolete DTD/XSD namespaces may be removed at any time."

      Expected behavior:
      No HHH90000012* related logs are printed.

        Attachments

          Activity

            People

            Assignee:
            victor.ware Victor Ware
            Reporter:
            hai.yu Hai Yu
            Participants of an Issue:
            Recent user:
            Enterprise Release HU
            Engineering Assignee:
            Hai Yu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              17 weeks, 1 day ago

                Packages

                Version Package
                7.0.X
                7.1.X
                7.2.10 DXP FP18
                7.2.X
                7.3.X
                7.4.3.22 CE GA22
                Master