I was following a hibernate jpa tutorial, and I needed to use the entitymanager. But when I checked the mvnrepository, it said "deprecated - use hibernate-core instead". And apparently, my application would not work without hibernate-entitymanager as a dependency (and it would not work with both hibernate-core and hibernate-entitymanager as dependencies).
Can someone help explain why it's "deprecated"? https://mvnrepository.com/artifact/org.hibernate/hibernate-entitymanager