SAP Knowledge Base Article - Preview

3236408 - org.hibernate.exception.GenericJDBCException: could not prepare statement. - For ODATA API upsert


When trying to create Employee Time or Employee Time sheet objects via ODATA API you face the following error: 

  • org.hibernate.exception.GenericJDBCException: could not prepare statement. 

Through splunk logs you can check the following error:

  • ERROR [UniqueKeyPopulator] [...] Found multiple internal codes for same external code :- {ObjectTypeAndExternalCode [objectType=DataReplicationProxy externalCode [...]



Implementing Time Management in SAP SuccessFactors


KBA , LOD-EC-GCP-TIM , Time Data Replication , LOD-SF-EC-TIM , Time Off , LOD-SF-INT-API , API & Adhoc API Framework , LOD-EC-INT-TIM , Time Management Integration EC to ERP On Premise , LOD-SF-EC-TMS , Time Sheet , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.