Batoo seems to rollback the transaction when calling EntityManager.clear(), while Hibernate and EclipseLink do not (the transaction will stay open until explicitly committed or rolledback).
I noticed this when attempting to optimise the import speed. When calling ((EntityManagerImpl)em).getSession().clear(); instead, the performance import between all 3 JPA implementations seems to be in the same ballpark. When not calling clear() to perform bulk imports, Batoo is much quicker
Batoo seems to rollback the transaction when calling EntityManager.clear(), while Hibernate and EclipseLink do not (the transaction will stay open until explicitly committed or rolledback).
I noticed this when attempting to optimise the import speed. When calling
((EntityManagerImpl)em).getSession().clear();instead, the performance import between all 3 JPA implementations seems to be in the same ballpark. When not calling clear() to perform bulk imports, Batoo is much quicker