Problem reading CLOB column into RowSet with 18.104.22.168 JDBC thin driver
We're facing a strange and new problem.
Our use case is as follows:
we issue a SELECT statement on a table having a column of CLOB
type and we use the result set to populate a CachedResultSet
object of Sun's implementation.
We run a database of version 22.214.171.124.1 on linux, till yesterday
we used some older driver (probably the one for 8.1.6 with the
same database) and everything was fine. After having upgraded to
the latest available thin driver (126.96.36.199), we started to suffer
from a Java Exception generated by the ResultSetMetaData
implementation of the JDBC Driver.
Here's the stack trace:
Our idea is that the getPrecision method returns the maximum
length of for CLOB datatype that exceeds the maximum int value
in Java (Integer.MAX_VALUE is 2147483647).
If you shared any idea on what we could do to solve this with
minimum changes to the code, I'd highly appreciate it.
Thanks in advance,
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL