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

hsqldb | tkellerer | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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