Bug 11253

Summary: Call to getString on a LONGVARCHAR does not return
Product: Taglibs Reporter: Hans <h.aaldijk>
Component: DBTags TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description Hans 2002-07-29 13:33:30 UTC
I am using the ODBC driver of TestTrack Pro (TTP) to access their proprietary 
database. Using MS Access and the TTP driver it works fine. So they think that 
there is no problem in their ODBC driver.
However, when I use the jdbc-odbc bridge and call the getString function on a 
column which should be a memo field (in MS Access terminology) then that call 
does not return and the JVM starts to use all CPU time. The metadata of the 
ResultSet indicates that it is a LONGVARCHAR field.
If the field is read using an ascii stream in a while loop then it results in 
the same behaviour. If the stream is used to read equal or less characters then 
there are characters in the field then all is well. However, the program has no 
way of determining the number of charaters that are present in the field.
Why is the bridge not able to determine the size of the field and shouldn't it 
indicate that it is a CLOB?
Comment 1 Felipe Leme 2004-03-15 04:51:37 UTC
DBTags is officially a legacy/deprecated taglib, so we won't fix this bug.