How to read image data to jsp from sybase?
<p>I'm facing problem on reading image data from sybase. </p>

<h3>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.)</h3>

<p>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.</p>