[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-885) Hbm2java ignores nested-composite-element tag in mapping

Hannes Schmidt (JIRA) noreply at atlassian.com
Wed Feb 21 16:17:32 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-885?page=comments#action_26208 ] 

Hannes Schmidt commented on HBX-885:
------------------------------------

I not so sure about this one anymore. It might have to do with the fact that I used the generated-class meta attribute in my mapping for the containing entity without specifying inherit = false. It could be that HT generated the component class in the same file as the containing entity but then overwrite it with the actual entity class.

I can't verify my doubts ATM because it's crunch time over here. So it may be a bug or it may not. If it is it's probably just an omission. Feel free to reject this if you think it's caused by me forgetting to switch of inheritance for the generated-class meta attribute.

> Hbm2java ignores nested-composite-element tag in mapping
> --------------------------------------------------------
>
>          Key: HBX-885
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-885
>      Project: Hibernate Tools
>         Type: Bug

>   Components: hbm2java, eclipse
>     Versions: 3.2beta9
>  Environment: Eclipse 3.2.2, WIndows Vista
>     Reporter: Hannes Schmidt
>     Priority: Minor

>
>
> hbm2java seems to ignore the <nested-composite-element> tag. It should generate just another pojo class but it doesn't. The outer pojo is generated just fine but it references a non-existant inner pojo type which should have been generated as well.
> I'm using hibernate tools plugin for Eclipse. I haven't tried invoking hbm2java directly but I doubt it would make a difference.

-- 
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