I need to do a massive insert using EJB 3, Hibernate, Spring Data and Oracle. Originally, I am using Spring Data and code is below:
talaoAITDAO.save(taloes);
The solution posted by M. Deinum worked great for me, provided I set the following Hibernate properties in my JPA persistence.xml file:
persistence.xml
I am using an Oracle database, so I also have this one defined: