[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4265) Table for collections(set, map...) shouldn't be required when hbm file is been exporting.

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Fri Oct 16 08:08:06 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12490158#action_12490158 ] 

Dmitry Geraskov commented on JBIDE-4265:
----------------------------------------

This need to be discussed because HbmBinder sets collection table the same as owner's entity table. So it is never null. I faced the problem when created configuration object from java classes to generate hbm.xml files for them.

> Table for collections(set, map...) shouldn't be required when hbm file is been exporting.
> -----------------------------------------------------------------------------------------
>
>                 Key: JBIDE-4265
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4265
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: Hibernate
>    Affects Versions: 3.1.0.M1
>            Reporter: Dmitry Geraskov
>            Assignee: Max Rydahl Andersen
>             Fix For: 3.1.0.CR1
>
>         Attachments: patch.txt
>
>
> We need to check that table was set for collections before export it. Now it is done in the following way:
> table="${value.collectionTable.name}"
> without any checks.

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

        


More information about the jbosstools-issues mailing list