Symptom
The error displays after completing the data in the Rehire Inactive Employee process and getting error as "Error: java.lang.IllegalStateException: com.successfactors.db.dao.DAOException: HibernateException thrown could not prepare Statement."
Environment
SAP SuccessFactors Employee Central: Rehire Inactive Employee
Reproducing the Issue
- Start the Rehire Inactive Employee process for an inactive user.
- Choose Rehire Employee option.
- Complete all required rehire data and attempt to submit.
- Observe the error preventing continuation: "Error: java.lang.IllegalStateException: com.successfactors.db.dao.DAOException: HibernateException thrown could not prep."
Resolution
- The defect will be fixed via patch PTCH-50296 (1H2026P8) which is scheduled on 8th June in Preview and 10th June in Production environments.
- Please fix the data issue via the check tool, afterwhich the rehire will work correctly
- Check Tool -> User Management -> The primary assignment is correct for each person. (IncorrectPrimaryAssignmentCheckExecutor) . Please run and click on quick fix.
- Click on star to bookmark this article to receive updates about this issue. For more information about updates from subscribed KBAs, you can refer to the KB Article 2171560 - How to be notified of new or updated SAP Notes or KBAs.
See Also
KB Article 2171560 - How to be notified of new or updated SAP Notes or KBAs
Keywords
rehire inactive employee, accept match, same employment, rehire error, illegalstateexception, daoexception, hibernateexception, could not prep, could not prepare statement, genericjdbcexception, userbean null, assignmentidexternal null, employee central, job history import, time records deletion, 2605, KI1H2026, INC27555411, ECT-273100, PTCH-50296 , KBA , LOD-SF-EC-HIR-RIE , Rehire Inactive Employee , LOD-SF-EC-HIR , Hire & Rehire Wizards , Known Error
SAP Knowledge Base Article - Public