/[volute]/trunk/projects/theory/snapdm/res/common-ddl.xsl
ViewVC logotype

Diff of /trunk/projects/theory/snapdm/res/common-ddl.xsl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 434 by gerard.lemson, Thu May 8 16:52:53 2008 UTC revision 435 by gerard.lemson, Fri May 9 16:17:58 2008 UTC
# Line 19  Line 19 
19    <xsl:variable name="discriminatorColumnType"> varchar(<xsl:value-of select="$discriminatorColumnLength"/>) </xsl:variable>      <xsl:variable name="discriminatorColumnType"> varchar(<xsl:value-of select="$discriminatorColumnLength"/>) </xsl:variable>  
20        
21    <xsl:variable name="primaryKeyColumnName" select="'ID'"/>    <xsl:variable name="primaryKeyColumnName" select="'ID'"/>
22      <xsl:variable name="IDDatatype" select="'NUMERIC(18)'"/>
23    
24    
25    
26    
27    <!-- for now no special camelcase 2 '_' transformation -->    <!-- for now no special camelcase 2 '_' transformation -->
28    <xsl:template match="objectType|dataType|enumeration" mode="tableName">    <xsl:template match="objectType" mode="tableName">
29      <xsl:value-of select="name"/>      <xsl:value-of select="concat('t_',name)"/>
30    </xsl:template>    </xsl:template>
31    
32    
33    
34    <!-- for now no special camelcase 2 '_' transformation -->    <!-- for now no special camelcase 2 '_' transformation -->
35    <xsl:template match="objectType" mode="viewName">    <xsl:template match="objectType" mode="viewName">
36      <xsl:value-of select="concat('v_',name)"/>      <xsl:value-of select="name"/>
37    </xsl:template>    </xsl:template>
38    
39    

Legend:
Removed from v.434  
changed lines
  Added in v.435

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26