java.lang.ClassCastException: java.lang.Short

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by Patrik Meisinger,
  • 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)
    via by Patrik Meisinger,
    • 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)
    No Bugmate found.