reveng.xml changes/addition

Description

<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

Environment

None

Activity

Show:

Jerry Shea March 10, 2010 at 6:38 AM

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)

Max Rydahl Andersen April 24, 2006 at 12:51 PM

done

Max Rydahl Andersen April 7, 2006 at 2:25 PM

note to previous:

<many-to-one exclude="true"/> will currently result in a basic property to be created instead.

Max Rydahl Andersen April 7, 2006 at 2:24 PM

explicit control over many-to-one and set

<set> and <many-to-one> now has exclude attribute to control if they are created or not.

Max Rydahl Andersen April 6, 2006 at 2:57 PM

disable attributes on column to control single column foreign keys.

<!-- too much flexibility to maintain; just use a foreign-key definition
<!ATTLIST column foreign-catalog CDATA #IMPLIED >
<!ATTLIST column foreign-schema CDATA #IMPLIED >
<!ATTLIST column foreign-table CDATA #IMPLIED >
<!ATTLIST column foreign-column CDATA #IMPLIED > -->

Fixed

Details

Assignee

Reporter

Participants

Jerry Shea
Max Rydahl Andersen

Fix versions

Affects versions

Priority

Created March 5, 2006 at 9:06 AM
Updated March 10, 2010 at 6:38 AM
Resolved April 24, 2006 at 12:51 PM