org.h2.jdbc.JdbcSQLException: Table "PG_CLASS" not found; SQL statement: select relname from pg_class where relkind='S' [42102-173]

Stack Overflow | Klimov Piter | 2 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

    jsf - JSF com Wildfly 8 404 - Not Found

    com.br | 1 year ago
    org.h2.jdbc.JdbcSQLException: Table "PG_CLASS" not found; SQL statement: select relname from pg_class where relkind='S' [42102-173]
  2. 0

    Could not complete schema update: org.h2.jdbc.JdbcSQLException: Table "PG_CLASS" not found; SQL statement

    Stack Overflow | 2 years ago | Klimov Piter
    org.h2.jdbc.JdbcSQLException: Table "PG_CLASS" not found; SQL statement: select relname from pg_class where relkind='S' [42102-173]
  3. 0

    Erru ao usar a propriedade update no persisntece.xml - Front-end - GUJ

    com.br | 1 year ago
    org.h2.jdbc.JdbcSQLException: Table "PG_CLASS" not found; SQL statement: select relname from pg_class where relkind='S' [42102-173]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to create Postgresql table using Hibernate on Wildfly

    Stack Overflow | 11 months ago | VHanded
    org.h2.jdbc.JdbcSQLException: Table "PG_CLASS" not found; SQL statement: select relname from pg_class where relkind='S' [42102-173]
  6. 0

    @Produces collection in JAXRS / RestEasy

    codegur.com | 11 months ago
    org.h2.jdbc.JdbcSQLException: Table "PG_CLASS" not found; SQL statement: select relname from pg_class where relkind='S' [42102-173]
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.h2.jdbc.JdbcSQLException

    Table "PG_CLASS" not found; SQL statement: select relname from pg_class where relkind='S' [42102-173]

    at org.h2.message.DbException.getJdbcSQLException()
  2. H2 Database Engine
    JdbcStatement.executeQuery
    1. org.h2.message.DbException.getJdbcSQLException(DbException.java:331)
    2. org.h2.message.DbException.get(DbException.java:171)
    3. org.h2.message.DbException.get(DbException.java:148)
    4. org.h2.command.Parser.readTableOrView(Parser.java:4864)
    5. org.h2.command.Parser.readTableFilter(Parser.java:1107)
    6. org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1713)
    7. org.h2.command.Parser.parseSelectSimple(Parser.java:1821)
    8. org.h2.command.Parser.parseSelectSub(Parser.java:1707)
    9. org.h2.command.Parser.parseSelectUnion(Parser.java:1550)
    10. org.h2.command.Parser.parseSelect(Parser.java:1538)
    11. org.h2.command.Parser.parsePrepared(Parser.java:405)
    12. org.h2.command.Parser.parse(Parser.java:279)
    13. org.h2.command.Parser.parse(Parser.java:251)
    14. org.h2.command.Parser.prepareCommand(Parser.java:218)
    15. org.h2.engine.Session.prepareLocal(Session.java:428)
    16. org.h2.engine.Session.prepareCommand(Session.java:377)
    17. org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1138)
    18. org.h2.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:72)
    18 frames
  3. IronJacamar
    WrappedStatement.executeQuery
    1. org.jboss.jca.adapters.jdbc.WrappedStatement.executeQuery(WrappedStatement.java:344)
    1 frame
  4. Hibernate
    Configuration.buildSessionFactory
    1. org.hibernate.tool.hbm2ddl.DatabaseMetadata.initSequences(DatabaseMetadata.java:178)[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
    2. org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:92)[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
    3. org.hibernate.tool.hbm2ddl.DatabaseMetadata.<init>(DatabaseMetadata.java:84)[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
    4. org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:196)[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
    5. org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:178)[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
    6. org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:522)[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
    7. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859)[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
    7 frames
  5. org.hibernate.jpa
    EntityManagerFactoryBuilderImpl$4.perform
    1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:852)[hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]
    2. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:845)[hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]
    2 frames
  6. org.hibernate.boot
    ClassLoaderServiceImpl.withTccl
    1. org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:398)[hibernate-core-4.3.7.Final.jar:4.3.7.Final]
    1 frame
  7. org.hibernate.jpa
    EntityManagerFactoryBuilderImpl.build
    1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:844)[hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]
    1 frame
  8. WildFly Hibernate
    TwoPhaseBootstrapImpl.build
    1. org.jboss.as.jpa.hibernate4.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)[jipijapa-hibernate4-3-1.0.1.Final.jar:]
    1 frame
  9. JPA
    PersistenceUnitServiceImpl$1$1.run
    1. org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:154)[wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]
    2. org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117)[wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]
    2 frames
  10. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)[rt.jar:1.8.0_05]
    1 frame
  11. WildFly Security Manager
    WildFlySecurityManager.doChecked
    1. org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474)[wildfly-security-manager-1.0.0.Final.jar:1.0.0.Final]
    1 frame
  12. JPA
    PersistenceUnitServiceImpl$1.run
    1. org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182)[wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]
    1 frame
  13. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[rt.jar:1.8.0_05]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[rt.jar:1.8.0_05]
    3. java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_05]
    3 frames
  14. JBoss Threads
    JBossThread.run
    1. org.jboss.threads.JBossThread.run(JBossThread.java:122)[jboss-threads-2.1.1.Final.jar:2.1.1.Final]
    1 frame