Symptom
- During the import of data, the job fails after approximately 2 hours.
- The error messages displayed are "org.hibernate.HibernateException: Transaction was rolled back in a different thread!" and "javax.persistence.PersistenceException: org.hibernate.HibernateException: Transaction was rolled back in a different thread!".
Environment
- SAP SuccessFactors Time Tracking
Reproducing the Issue
- Navigate to Import and Export Data.
- Select the option to import data.
- Choose the Employee Time object for import.
- Add the file for import.
- Either validate or import the file.
Resolution
- Navigate to Import and Export Data.
- Select Import Config.
- Input Batch Size field, enter 50.
- Save the changes.
- Test the import again with the adjusted batch size.
- If the error persists, consider reducing the number of records per import file to a maximum of 500 as per best practices.
Keywords
SAP SuccessFactors, Time Tracking, Data Import, Job Failure, org.hibernate, Transaction was rolled back, javax.persistence, Import and Export Data, Batch Size. , KBA , LOD-SF-EC-TIM-ABS , Absence error's - Calculations, Deductions, TT&ET , Problem
Product
SAP SuccessFactors Time Tracking all versions
SAP Knowledge Base Article - Public