java - Hibernate Entitymanager - what does it mean by "deprecated - use hibernate-core instead"? -


i following hibernate jpa tutorial, , needed use entitymanager. when checked mvnrepository, said "deprecated - use hibernate-core instead". , apparently, application not work without hibernate-entitymanager dependency (and not work both hibernate-core , hibernate-entitymanager dependencies).

can explain why it's "deprecated"? https://mvnrepository.com/artifact/org.hibernate/hibernate-entitymanager

it's mean in new version of hibernate hibernate-entitymanager component deprecated , functionality need, can hibernate-core component. link last version of hibernate-core component in maven central repository here. add dependency pom.xml file.


Comments