[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-615) reveng.xml changes/addition

Jerry Shea (JIRA) noreply at atlassian.com
Tue Mar 9 23:39:47 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35771#action_35771 ] 

Jerry Shea commented on HBX-615:
--------------------------------

Hi Max, this issue says it is fixed in 3.1 and yet I cannot use the "<from-sql-type native-type ..." stanza you suggest above in my reveng.xml file. Hibernate tools complains about the from-sql-type "... Element type "from-sql-type" must be declared." when reverse engineering run in eclipse.

I am using 3.2.4GA (3.2.4.v200910211631N-H194-GA)

> reveng.xml changes/addition
> ---------------------------
>
>                 Key: HBX-615
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-615
>             Project: Hibernate Tools
>          Issue Type: Improvement
>    Affects Versions: 3.1beta4
>            Reporter: Max Rydahl Andersen
>             Fix For: 3.1.beta5
>
>
> <key-column> instead of <column> in primary key (difference, key-column cannot be excluded)
> <column foreign-x> not allowed, use foreign-key def instead:
>                    <primary-key>
> 			<column name="CUSTID" foreign-table="CUSTOMER" foreign-column="CUSTID" />			
> 		</primary-key>
> becomes
>                   <primary-key>
>  			<key-column name="CUSTID"/>			
> 		</primary-key>
> 		<foreign-key foreign-table="CUSTOMER">
> 			<column-ref local-column="CUSTID" foreign-column="CUSTID"/>
> 		</foreign-key>
> adding others as comments

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

        


More information about the hibernate-issues mailing list