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?


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2021 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.