[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1768) hbm2java: error generating collection of components

Carsten Hoehne (JIRA) jira-events at lists.jboss.org
Mon Feb 25 04:34:42 EST 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1768?page=comments#action_12400441 ] 
            
Carsten Hoehne commented on JBIDE-1768:
---------------------------------------

The generated code in demo.zip looks not correct for me. Also it is not deployable, at least for me. I will look up the exception i had gotten.
According to "Java persistence with Hibernate", a org.hibernateannotations.CollectionOfElements has to be used in this case (page 256 chapter 6.3) But i may wrong.

> hbm2java: error generating collection of components
> ---------------------------------------------------
>
>                 Key: JBIDE-1768
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1768
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate
>    Affects Versions: 2.0.0.GA
>            Reporter: Carsten Hoehne
>         Assigned To: Vitali Yemialyanchyk
>         Attachments: demo.zip, ex - cfg.jpg, ex - cogen - cfg 1.jpg, ex - cogen - cfg 2.jpg, ex - stack 1.1.jpg, ex - stack 1.2.jpg, ex - stack 2.1.jpg, ex - stack 2.2.jpg, exception 1.jpg, Sample.hbm.xml, Sample2Well.hbm.xml, test-case-1.jpg, test-case-1_add_2.jpg, test-case-2.jpg, ZZ_Sample.zip
>
>
> Java code with annotations should be generated from a mapping file. This file contains a collection of components. Then an exception is thrown. See forum reference.
> The files will be attached. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list