You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 quickerThe text was updated successfully, but these errors were encountered: