Hi,
I am connecting to a mysql 4.1 db with mysql connectorJ 3.0.7 and when
I run a meta.getColumns(null, null, tableName, "%") on one particular
table the following exception is thrown.
Exception occurred during event dispatching:
java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
at java.lang.String.substring(String.java:1497)
at com.mysql.jdbc.DatabaseMetaData.getColumns(Databas eMetaData.java:877)
I can perform SELECT statements when connected (via connector J) the
only time an exception is thrown is when I call
DatabaseMetaData.getColumns.
To make matters stranger, if I set up an ODBC connection (on Windows
2000) to the same database the exception is not thrown and I can see
all columns.
The table is myIsam and I can send a copy of the frm MYD and MYI files
if required.
Thanks in advance
Paul.