When using a basic user with only data query and update privileges I
cannot get column data from the DatabaseMetaData object returned from
getMetaData() (on a connection using the JDBC Oracle thin driver).
When I use the schema owner with full privileges, I get the column
data. What privilege is necessary to get column information from
getMetaData?
John Currier - 03 Jun 2005 19:36 GMT
I experienced the same problem with meta.getIndexInfo() (even with
approximate set to true) under Oracle, but never for meta.getColumns().
I had to do an ugly hack to work around the resulting ORA-01031
problems.
See if my SchemaSpy (http://schemaspy.sourceforge.net) experiences the
same problems.
John