persistence

Most of the time when I want to talk to a database through JPA I use Spring and it is pretty simple to organise things like this: <bean id=”entityManagerFactory”  class=”org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean”> […]