title: Encountered a deprecated javax.persistence.spi.PersistenceProvider
body: <p>when you use spring &amp; Hibernate, have you ever met a log warning that says</p>
  
  <blockquote>
    <p>WARN  o.hibernate.ejb.HibernatePersistence - HHH015016: Encountered a
    deprecated javax.persistence.spi.PersistenceProvider
    [org.hibernate.ejb.HibernatePersistence]; use
    [org.hibernate.jpa.HibernatePersistenceProvider] instead.</p>
  </blockquote>
  
  <p>How to handle that? Thank you for any answer.</p>