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

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Tue May 5 10:43:46 EDT 2009


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

Vitali Yemialyanchyk commented on JBIDE-3457:
---------------------------------------------

result hbm.xml file has all DB names in upper case:
>>>
<class name="org.jpa.Product" entity-name="Product" table="PRODUCT" proxy="Product">
...
<property name="name" type="java.lang.String">
<column name="NAME" />
</property>
<property name="description" type="java.lang.String">
<column name="DESCRIPTION" />
</property>
<property name="price" type="double">
<column name="PRICE" />
 </property>
...
>>>
why? Is this obligatory DB requirement? It seems this is MS DB naming convention.

> 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