java.sql.SQLException: 无效的列名

Hibernate JIRA | JetGeng | 1 decade ago
  1. 0

    can't load database schema. and throw a exception: java.sql.SQLException: 无效的列名 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273) at oracle.jdbc.driver.OracleStatement.get_column_index(OracleStatement.java:4383) at oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:667) at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:1374) at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect$1.convertRow(JDBCMetaDataDialect.java:79) at org.hibernate.cfg.reveng.dialect.ResultSetIterator.next(ResultSetIterator.java:47) at org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:382) at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:62) at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$1.execute(LazyDatabaseSchemaWorkbenchAdapter.java:79) at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35) at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:70) at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:39) at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:31) at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:70) at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

    Hibernate JIRA | 1 decade ago | JetGeng
    java.sql.SQLException: 无效的列名
  2. 0

    can't load database schema. and throw a exception: java.sql.SQLException: 无效的列名 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273) at oracle.jdbc.driver.OracleStatement.get_column_index(OracleStatement.java:4383) at oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:667) at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:1374) at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect$1.convertRow(JDBCMetaDataDialect.java:79) at org.hibernate.cfg.reveng.dialect.ResultSetIterator.next(ResultSetIterator.java:47) at org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:382) at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:62) at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$1.execute(LazyDatabaseSchemaWorkbenchAdapter.java:79) at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35) at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:70) at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:39) at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:31) at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:70) at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

    Hibernate JIRA | 1 decade ago | JetGeng
    java.sql.SQLException: 无效的列名
  3. 0

    query in ASWE XML code doesn't return data

    Oracle Community | 1 decade ago | 843854
    java.sql.SQLException: Invalid column name
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    query string in ASWE XML code doesn't return data.

    Oracle Community | 1 decade ago | 42261
    java.sql.SQLException: Invalid column name
  6. 0

    [HHH-4169] @SqlResultSetMapping gives Invalid Column for columns not in select clause - Hibernate JIRA

    atlassian.net | 1 year ago
    javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute query

    26 unregistered visitors
    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. java.sql.SQLException

      无效的列名

      at oracle.jdbc.dbaccess.DBError.throwSqlException()
    2. oracle.jdbc.dbaccess
      DBError.throwSqlException
      1. oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
      2. oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
      3. oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273)
      3 frames
    3. Oracle jdbc
      OracleResultSet.getString
      1. oracle.jdbc.driver.OracleStatement.get_column_index(OracleStatement.java:4383)
      2. oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:667)
      3. oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:1374)
      3 frames
    4. Hibernate Tools
      JDBCReader.readDatabaseSchema
      1. org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect$1.convertRow(JDBCMetaDataDialect.java:79)
      2. org.hibernate.cfg.reveng.dialect.ResultSetIterator.next(ResultSetIterator.java:47)
      3. org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:382)
      4. org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:62)
      4 frames
    5. org.hibernate.eclipse
      LazyDatabaseSchemaWorkbenchAdapter$1.execute
      1. org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$1.execute(LazyDatabaseSchemaWorkbenchAdapter.java:79)
      1 frame
    6. org.hibernate.console
      DefaultExecutionContext.execute
      1. org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35)
      1 frame
    7. org.hibernate.eclipse
      BasicWorkbenchAdapter.fetchDeferredChildren
      1. org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:70)
      2. org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:39)
      3. org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:31)
      4. org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:70)
      4 frames
    8. Workbench
      DeferredTreeContentManager$1.run
      1. org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192)
      1 frame
    9. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
      1 frame