I have one bug for the JdbcDriver. The method DatabaseMetaData#getIndexInfo should return in ResultSet.getString(6 ) the index name and it does not. Same for DatabaseMetaData#getPrimaryKeys(). Below is a link to the java documentation.
I would like also to ask about how may I get the execution plan for a statement via Java JDBC. Do you have a sample code for this ?
INDEX_NAME String => index name; null when TYPE is tableIndexStatistic