[
http://opensource.atlassian.com/projects/hibernate/browse/HBX-1063?page=c...
]
Marcus Ilgner commented on HBX-1063:
------------------------------------
I'm sorry. This is the stacktrace:
org.hibernate.MappingException: property mapping has wrong number of columns:
com.gerig.bo.base.PersonToObject.object type: object
at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:441)
at org.hibernate.mapping.RootClass.validate(RootClass.java:192)
at org.hibernate.cfg.Configuration.validate(Configuration.java:1102)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1287)
at
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
at org.hibernate.console.ConsoleConfiguration$3.execute(ConsoleConfiguration.java:361)
at
org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:65)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:88)
at
org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:356)
at
org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:41)
at
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:97)
at
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:103)
at
org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
The project is somewhat large, but I'll try to set up a sample project later.
Any mapping not working for Eclipse Hibernate Plugin
----------------------------------------------------
Key: HBX-1063
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-1063
Project: Hibernate Tools
Issue Type: Bug
Components: eclipse
Affects Versions: 3.2.2
Reporter: Marcus Ilgner
My project uses JPA with Hibernate and I have created a Hibernate Console configuration
accordingly.
One of my entity classes uses the @Any annotation on one of its properties. If I try to
open the SessionFactory, I receive the message:
org.hibernate.MappingException: property mapping has wrong number of columns
However, the object works fine in the software/unit tests.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira