[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
Wed May 6 08:34:46 EDT 2009


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

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

you dont use hibernate tools configurationf or this ? how come ? This will make it necessary to duplicate the logic...

You don't have to ask the user about any console configuration info, just use a default one - but if you want the generation to be correct in context of db and naming strategy using hibernate tools for the generation will be much simpler.

> 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