
If you were logged in you would be able to see more operations.
|
|
|
Hi Mark!
DatabaseMetaData .getTables/.getColumns/.getProcedures/.getProcedureColumns uses FBDatabaseMetaData.Clause but .getIndexInfo not. These calls should behave the same, so getIndexInfo also should use FBDatabaseMetaData.Clause.
Thank You!
|
Description
|
Hi Mark!
DatabaseMetaData .getTables/.getColumns/.getProcedures/.getProcedureColumns uses FBDatabaseMetaData.Clause but .getIndexInfo not. These calls should behave the same, so getIndexInfo also should use FBDatabaseMetaData.Clause.
Thank You! |
Show » |
|
Check the javadoc of java.sql.DatabaseMetaData for this difference, specifically:
getIndexInfo: "table - a table name; must match the table name as it is stored in this database"
vs
getTables: "tableNamePattern - a table name pattern; must match the table name as it is stored in the database"
combined with the description of patterns in the class documentation:
"Some DatabaseMetaData methods take arguments that are String patterns. These arguments all have names such as fooPattern. Within a pattern String, "%" means match any substring of 0 or more characters, and "_" means match any one character. Only metadata entries matching the search pattern are returned. If a search pattern argument is set to null, that argument's criterion will be dropped from the search."