ibatis Query xml to mybatis Query xml
@nullValue 추가
1 2 3 4 5 6 7 8 9 10 11 |
<xsl:if test="@nullValue"> <xsl:if test="@nullValue = ''"> <xsl:attribute name="typeHandler"><xsl:text>StringToNull</xsl:text></xsl:attribute> </xsl:if> <xsl:if test="@nullValue = '0'"> <xsl:attribute name="typeHandler"><xsl:text>NumberToZero</xsl:text></xsl:attribute> </xsl:if> <xsl:if test="@nullValue = 'N'"> <xsl:attribute name="typeHandler"><xsl:text>StringToN</xsl:text></xsl:attribute> </xsl:if> </xsl:if> |