Hello , can any body please describe in details the relation between EntityManager , PersistenceContext and Transactions on Application Managed EntityManager Env. , and why i can't have 2 different transactions created by the same entitymanager , and does each entitymanager uses only one connection to the DB , i can't find any documents regarding that , Thanks in advance
Well, it can be a long discussion, so why not just post a link to a Hibernate wiki page that explains Sessions and Transactions, since a Session is the same as an EntityManager the concepts are the same, at least (98.95% of it)
Thanks for reply , iam not Hibernate Expert but it seems that single hibernate session allows me to create more than one transaction , the thing that is not valid for JPA , why is this behaviour on JPA , any other hints or description !!!