Last Updated on
KB Article #KB0008914
Topic/Category: Batch Class Import
Batch classes not being imported with following error logs:
org.springframework.orm.hibernate3.HibernateObjectRetrievalFailureException: No row with the given identifier exists: [com.ephesoft.dcma.da.domain.DocumentType#502]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.ephesoft.dcma.da.domain.DocumentType#502]
Root Cause: It has been observed that when there is a fuzzy DB mapping for a document type, configured in a batch class that is imported, code searches for the document type ID that was being exported instead for generating new document type ID. If there is no document type with such ID in system, batch class import fails.
Optimizations have been made to generate new document type ID instead of searching for the one that was being exported.
- Stop Ephesoft server, if running.
- Delete following jar(s) from Ephesoft application lib directory at <Ephesoft-Installation-Directory>/Application/WEB-INF/lib/*:
- Extract the attached solution (Solution_BCImport.zip) and copy following jar(s) at <Ephesoft-Installation-Directory>/Application/WEB-INF/lib/*:
- Start the Ephesoft server.
Permanent Fix?: Permanent fix.