[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-1063) Any mapping not working for Eclipse Hibernate Plugin
Marcus Ilgner (JIRA)
noreply at atlassian.com
Tue Jun 3 05:27:33 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30312 ]
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list