[hibernate-issues] [Hibernate-JIRA] Updated: (HBX-1063) Any mapping not working for Eclipse Hibernate Plugin

Marcus Ilgner (JIRA) noreply at atlassian.com
Tue Jun 3 10:09:33 EDT 2008


     [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Ilgner updated HBX-1063:
-------------------------------

    Attachment: anyannotation.tbz

This file contains a small sample project which reproduces the problem.
Steps to import: 
- create new project
- extract the src folder from the attached file into the project folder
- add Hibernate to the classpath of the new project
- open Hibernate console and create a new JPA based configuration for the project
- try to open the Session Factory

> 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
>         Attachments: anyannotation.tbz
>
>
> 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