hello!
you have the choice of using hibernate-core (without entitymanager) or the ejb3 implementation hibernate-entitymanager.
both have advantages and disadvantages, with hibernate-core you are using plain-hibernate (session-factory, hibernate-query-language) with all the features hibernate offer. a change to another persistence framework could be harder, because you have to migrate all the code. if you use hibernate-entitymanager, you are using only the ejb3 interfaces (ejb-query-language) and could easier migrate to annother framework which is ejb3 compliant.
i am using hibernate-entitymanager, and I switch to hibernate-core programatically, when I need more features.
regards
|