I'm facing problem on reading image data from sybase.
Error querying database. Cause: org.jboss.util.NestedSQLException: Error; - nested throwable: (java.lang.UnsupportedOperationException: The method com.sybase.jdbc3.jdbc.SybResultSet.getBlob(String) is not supported and should not be called.)
I'm using Mybatis mapper.xml to insert/select data with jdbcType="BLOB", in sybase it's image type. In the java file getting the binary data with response.getOutputStream().write(obj.getBinary()); however, it doesn't work and throws Unsupported exception. any idea is appreciated.