-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thierry Boucheny wrote:
> Hello, > > I am working on a web application using tomcat 4.1 & j2sdk 1.4.1 on Red > Hat 7.2. This app get the following error in a request to a database on > MySql server 4.1. > > java.lang.StringIndexOutOfBoundsException: String index out of range: -1 > at java.lang.String.substring(String.java:1474) > at > com.mysql.jdbc.DatabaseMetaData.getColumns(DatabaseMetaData.java:877) > > I use Jconnector 3.0.8 as the JDBC driver. > > I have seen that others had this problem but I could not see if it was > solved or not. > > Thanks for any help. > > Thierry Boucheny > > Hi! Do you have a repeatable test case I could use? The JDBC driver runs through the JDBC compliance test as well as some internal regression and unit tests which actually call this method in DatabaseMetadata, and it doesn't fail, so it is probably something specific to your particular usage. Thanks! -Mark - -- For technical support contracts, visit https://order.mysql.com/?ref=mmma __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mark Matthews <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, SW Dev. Manager - J2EE/Windows /_/ /_/\_, /___/\___\_\___/ Flossmoor (Chicago), IL USA <___/ www.mysql.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+4Ip0tvXNTca6JD8RAmKMAJ9Q4G06l6Gceb8MH0SzGuWTGickaACcDF+y kZ1PUo2U1FMqpjpBcfuVTos= =B48q -----END PGP SIGNATURE----- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]