Fixed a minor bug in the generation of sets

This commit is contained in:
sb 2008-07-15 12:04:33 +00:00
parent 5118c8b76b
commit 822e1b7fb3

View file

@ -12,7 +12,7 @@
Transform ADL to Hibernate Transform ADL to Hibernate
$Author: sb $ $Author: sb $
$Revision: 1.4 $ $Revision: 1.5 $
--> -->
<xsl:param name="namespace"/> <xsl:param name="namespace"/>
@ -125,7 +125,7 @@
* *
* <xsl:value-of select="@revision"/> * <xsl:value-of select="@revision"/>
* *
* Generated using adl2hibernate.xslt revision <xsl:value-of select="substring('$Revision: 1.4 $', 12)"/> * Generated using adl2hibernate.xslt revision <xsl:value-of select="substring('$Revision: 1.5 $', 12)"/>
* *
*************************************************************************** ***************************************************************************
</xsl:comment> </xsl:comment>
@ -472,13 +472,13 @@
</xsl:variable> </xsl:variable>
<set> <set>
<xsl:apply-templates select="adl:documentation"/>
<xsl:attribute name="name"> <xsl:attribute name="name">
<xsl:value-of select="@name"/> <xsl:value-of select="@name"/>
</xsl:attribute> </xsl:attribute>
<xsl:attribute name="table"> <xsl:attribute name="table">
<xsl:value-of select="$tablename"/> <xsl:value-of select="$tablename"/>
</xsl:attribute> </xsl:attribute>
<xsl:apply-templates select="adl:documentation"/>
<key> <key>
<xsl:attribute name="column"> <xsl:attribute name="column">
<xsl:value-of select="concat( ../@name, 'Id')"/> <xsl:value-of select="concat( ../@name, 'Id')"/>