java.lang.ClassCastException: java.lang.Short

Hibernate JIRA | Patrik Meisinger | 1 decade ago
  1. 0

    i receive the following error when i try to do the automatic artifact generation with the hibernate tools in eclipse: "error under artifact generation reason: java.lang.ClassCastException: java.lang.Short" the error message appears in a modal dialog. the error is reproduceable and appears in eclipse 3.1rc2 using hibernate tools3.0 alpha4a too. here's the stack trace: java.lang.ClassCastException: java.lang.Short at ca.edbc.jdbc.EdbcRslt.getInt(EdbcRslt.java:2013) at ca.edbc.jdbc.EdbcRslt.getInt(EdbcRslt.java:4187) at org.hibernate.cfg.JDBCBinder.processBasicColumns(JDBCBinder.java:733) at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:106) at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:40) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$3.execute(ArtifactGeneratorWizard.java:213) at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:77) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.buildConfiguration(ArtifactGeneratorWizard.java:210) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:147) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:127) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:95) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:111)

    Hibernate JIRA | 1 decade ago | Patrik Meisinger
    java.lang.ClassCastException: java.lang.Short
  2. 0

    i receive the following error when i try to do the automatic artifact generation with the hibernate tools in eclipse: "error under artifact generation reason: java.lang.ClassCastException: java.lang.Short" the error message appears in a modal dialog. the error is reproduceable and appears in eclipse 3.1rc2 using hibernate tools3.0 alpha4a too. here's the stack trace: java.lang.ClassCastException: java.lang.Short at ca.edbc.jdbc.EdbcRslt.getInt(EdbcRslt.java:2013) at ca.edbc.jdbc.EdbcRslt.getInt(EdbcRslt.java:4187) at org.hibernate.cfg.JDBCBinder.processBasicColumns(JDBCBinder.java:733) at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:106) at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:40) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$3.execute(ArtifactGeneratorWizard.java:213) at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:77) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.buildConfiguration(ArtifactGeneratorWizard.java:210) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:147) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:127) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:95) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:111)

    Hibernate JIRA | 1 decade ago | Patrik Meisinger
    java.lang.ClassCastException: java.lang.Short
  3. 0

    custom Finder error for primitive boolean

    Coderanch | 1 decade ago | Arvindu
    java.lang.ClassCastException: java.lang.Short
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Could not read the data

    Coderanch | 8 years ago | Gundeti Reddy
    java.lang.ClassCastException: java.lang.Long incompatible with java.lang.Short
  6. 0

    IospHelper cast error, Integer to Short

    GitHub | 4 months ago | msdsoftware
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Short

    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.lang.ClassCastException

      java.lang.Short

      at ca.edbc.jdbc.EdbcRslt.getInt()
    2. ca.edbc.jdbc
      EdbcRslt.getInt
      1. ca.edbc.jdbc.EdbcRslt.getInt(EdbcRslt.java:2013)
      2. ca.edbc.jdbc.EdbcRslt.getInt(EdbcRslt.java:4187)
      2 frames
    3. Hibernate
      JDBCMetaDataConfiguration.readFromJDBC
      1. org.hibernate.cfg.JDBCBinder.processBasicColumns(JDBCBinder.java:733)
      2. org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:106)
      3. org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:40)
      3 frames
    4. org.hibernate.eclipse
      ArtifactGeneratorWizard$3.execute
      1. org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$3.execute(ArtifactGeneratorWizard.java:213)
      1 frame
    5. org.hibernate.console
      ConsoleConfiguration.execute
      1. org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:77)
      1 frame
    6. org.hibernate.eclipse
      ArtifactGeneratorWizard$1.run
      1. org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.buildConfiguration(ArtifactGeneratorWizard.java:210)
      2. org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:147)
      3. org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:127)
      4. org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:95)
      4 frames
    7. JFace
      ModalContext$ModalContextThread.run
      1. org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:111)
      1 frame