Tags

links:
http://www.coderanch.com/t/218543/ORM/databases/difference-session-entitymanager (mark splitzer)
http://en.wikipedia.org/wiki/Hibernate_(Java)
http://piotrnowicki.com/2012/11/types-of-entitymanagers-application-managed-entitymanager/
http://docs.jboss.org/hibernate/entitymanager/3.6/reference/en/html/architecture.html

summary:
– 2010, hibe 3.5+ supports JPA 2.0 wrapping hibe core conforming JSR 317
– hibe session is wrapped inside entitymanager which is part of JPA std
– hibe session itself has more to offer than JPA std
– hibe 5 will support JPA 2.1
– “entity” = hibe annotated pojo
– entitymanagers can have different scopes, ie. container-managed (transparent to apps), application-managed (apps control EM lifecycle)
– J2SE, only extended context application-managed entity managers avail

Advertisements