0 Replies Latest reply on Dec 30, 2015 7:59 AM by Frank Langelage

    Warning Found usage of deprecated setting for specifying Scanner [hibernate.ejb.resource_scanner]; use [hibernate.archive.scanner] instead

    Frank Langelage Master

      Hello,

       

      when deploying my ear file, I see this INFO (Warning):

      30.12. 13:44:56,083 INFO  [org.hibernate.orm.deprecation#<init>] HHH90000001: Found usage of deprecated setting for specifying Scanner [hibernate.ejb.resource_scanner]; use [hibernate.archive.scanner] instead

       

      I do not use hibernate.ejb.resource_scanner and it seems WildFly does not set it also, I only found it in 2 persistence.xml files from test cases:

       

      
      
      
      jpa/hibernate4_3/src/test/bundles/explicitpar/META-INF/persistence.xml:
      <property name="hibernate.ejb.resource_scanner" value="org.hibernate.jpa.test.packaging.CustomScanner"/>
      
      
      jpa/hibernate5/src/test/bundles/explicitpar/META-INF/persistence.xml:
      <property name="hibernate.ejb.resource_scanner" value="org.hibernate.jpa.test.packaging.CustomScanner"/>
      
      
      
      
      
      

       

      Is anybody able to explain this?

       

      Regards, Frank