[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 Dec 23 17:58:54 EST 2008


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

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

yes, could/should be done by simply scanning the JDT model of the Java classes and create a org.hibernate.Configuration object to pass into the existing hibernate tools generation to avoid repeating the code generation

> 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: Max Rydahl Andersen
>
> 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