Can anybody explain what is the difference between the Spring Framework\'s LocalContainerEntityManagerFactoryBean and LocalEntityManagerFactoryBean?
LocalEntityManagerFactoryBean
is the simplest and the most limited. You cannot refer to an existing JDBC DataSource bean definition and no support for global transactions exists.
LocalContainerEntityManagerFactoryBean
is the most powerful JPA setup option, allowing for flexible local configuration within the application. It supports links to an existing JDBC DataSource, supports both local and global transactions
REF: spring-framework-reference.pdf "Spring 3"