× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 4/20/2015 5:58 PM, James H. H. Lampert wrote:
I'm back on my project involving Scott Klement's JDBCR4. And I ran into
a problem.

I have a table, in a MySQL database, with a column of type "MEDIUMTEXT"
(which I understand to be some sort of CLOB). Squirrel (which is using
the exact same JDBC driver that JDBCR4 is using) sees it as a
MEDIUMTEXT, SequelPro (which is MySQL-centric) sees it as a MEDIUMTEXT.

But my JDBCR4 application sees it (calling the
ResultSetMetaData.getColumnTypeName method; I don't remember whether
Scott front-ended that method in the standard JDBCR4, or whether I had
to front-end it myself) as a VARCHAR, albeit with an impossibly huge
maximum size.

Can anybody offer me any insights?

I believe the documentation calls MEDIUMTEXT a TEXT type, not a xLOB
type. It specifically says this: 'Similarly, you can regard a TEXT
column as a VARCHAR column.'
http://dev.mysql.com/doc/refman/5.0/en/blob.html

Is there some specific issue treating MEDIUMTEXT as VARCHAR?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.