This was fixed in January for JDK 1.6 and later. The latest java6/jt400.jar file should have the fix.
Here is the comment for getSQLKeywords.
/**Returns the list of all of the database's SQL keywordsthat are not also SQL-XXXX keywords. For JDK 1.5 and earlier, SQL-XXXX refers to SQL-92 keywords.For JDK 1.6 and later, SQL-XXXX refers to SQL-2003 keywords.@return The list of SQL keywords, separated by commas.@exception SQLException This exception is never thrown.**/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've just had a look at source code of com/ibm/as400/access/AS400JDBCDatabaseMetaData.java, new code of 2014/01/24 with "EXCEPTION" keyword in getSQLKeywords() seems to be commented...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This was fixed in January for JDK 1.6 and later. The latest java6/jt400.jar file should have the fix.
Here is the comment for getSQLKeywords.
I've just had a look at source code of com/ibm/as400/access/AS400JDBCDatabaseMetaData.java, new code of 2014/01/24 with "EXCEPTION" keyword in getSQLKeywords() seems to be commented...
The code is built so that anything with a "/* ifdef JDBC40" comment is compiled for JDBC40 and put into java6/jt400.jar.
Here's how you can see the keywords for yourself with the java6/jt400.jar file.
Ok, I was using "standard" jt400.jar! I have tried again with java6/jt400.jar and java8/jt400.jar, it works well.
Thanks a lot.