java.sql.SQLException: user lacks privilege or object not found: TABLE\_CAT

hsqldb | tkellerer | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    1.9: getTablePrivileges() not working

    hsqldb | 8 years ago | tkellerer
    java.sql.SQLException: user lacks privilege or object not found: TABLE\_CAT

    Root Cause Analysis

    1. java.sql.SQLException

      user lacks privilege or object not found: TABLE\_CAT

      at org.hsqldb.jdbc.Util.sqlException()
    2. HSQLDB
      JDBCDatabaseMetaData.getTablePrivileges
      1. org.hsqldb.jdbc.Util.sqlException(Util.java:179)
      2. org.hsqldb.jdbc.JDBCStatement.fetchResult(JDBCStatement.java:1810)
      3. org.hsqldb.jdbc.JDBCStatement.executeQuery(JDBCStatement.java:179)
      4. org.hsqldb.jdbc.JDBCDatabaseMetaData.execute(JDBCDatabaseMetaData.java:6115)
      5. org.hsqldb.jdbc.JDBCDatabaseMetaData.getTablePrivileges(JDBCDatabaseMetaData.java:3615)
      5 frames
    3. workbench.db
      TableGrantReader.getTableGrants
      1. workbench.db.TableGrantReader.getTableGrants(TableGrantReader.java:47)
      1 frame