org.hibernate.cfg.JDBCBinderException

The type java.lang.Object spans multiple columns. Only single column types allowed for single columns.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5

  • via Unknown by Calin Medianu,
  • via Unknown by Calin Medianu,
  • via Unknown by Anders Peterson,
  • Stack trace

    • org.hibernate.cfg.JDBCBinderException: The type java.lang.Object spans multiple columns. Only single column types allowed for single columns. at org.hibernate.cfg.JDBCBinder.guessAndAlignType(JDBCBinder.java:453) at org.hibernate.cfg.JDBCBinder.bindColumnToSimpleValue(JDBCBinder.java:403) at org.hibernate.cfg.JDBCBinder.bindBasicProperty(JDBCBinder.java:395) at org.hibernate.cfg.JDBCBinder.bindColumnsToProperties(JDBCBinder.java:380) at org.hibernate.cfg.JDBCBinder.createPersistentClasses(JDBCBinder.java:163) at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:91) at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:40) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$3.execute(ArtifactGeneratorWizard.java:249) at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35) at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:71) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.buildConfiguration(ArtifactGeneratorWizard.java:246) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:165) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:133) at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:99) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.