[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3457) Generate hbm.xml file should generate default mapping for selected class(id, properties, etc)

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue May 5 13:21:46 EDT 2009


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

Max Rydahl Andersen commented on JBIDE-3457:
--------------------------------------------

ah, this is output from the generation. Well upper case is the typical way in databases so it is a good fall back default.

What should be done is that our generation does not put table/column attributes when it is redundant.
That can be checked by seeing what the NamingStrategy will generate, if it is the same then no need for us to put it there.

> Generate hbm.xml file should generate default mapping for selected class(id, properties, etc)
> ---------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-3457
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3457
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Hibernate
>    Affects Versions: 3.0.0.cr1
>            Reporter: Dmitry Geraskov
>            Assignee: Dmitry Geraskov
>             Fix For: 3.1.0.M1
>
>
> Now it generates only the following stub:
> <hibernate-mapping>
>   <class name="MyBean">
>   </class>
> </hibernate-mapping>

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