Symptom
Getting the following exception while reading Blob from HANA DB, but same code is working fine for Oracle:
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception com.sap.db.jdbc.exceptions.StreamIOException: SAP DBTech JDBC: No message available for default locale for key error.databaseexception.woerrpos, arguments [1033, error while parsing protocol: invalid lob locator id (piecewise lob reading)]. at com.sap.db.jdbc.translators.AbstractGetval.nextChunk(AbstractGetval.java:142) ~[ngdbc-1.00.92.jar:na] at com.sap.db.jdbc.translators.GetvalLob$InputStream.read(GetvalLob.java:136) ~[ngdbc-1.00.92.jar:na] at java.io.InputStream.read(InputStream.java:101) ~[na:1.8.0_162]
Read more...
Environment
SAP HANA DB 1.0
SAP HANA DB 2.0
Product
Keywords
HANA DB, Oracle, Blob, exception, Servlet.service(), dispatcherServlet, com.sap.db.jdbc.exceptions.StreamIOException, SAP DBTech JDBC, error.databaseexception.woerrpos, parsing protocol, invalid lob locator id, piecewise lob reading, AbstractGetval.nextChunk, GetvalLob$InputStream.read, InputStream.read , KBA , HAN-DB-CLI , SAP HANA Clients (JDBC, ODBC) , 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.