ibatis 에서 저장 프로시저 호출

1075 단어 sqlxmlibatis

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE sqlMap 
  PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" 
  "http://www.ibatis.com/dtd/sql-map-2.dtd"> 
  
 <sqlMap namespace="DxIncomeMonth"> 
 <typeAlias alias="DX_Income" type="com.lp.webwork.domainDx.DX_Income" />
 <typeAlias alias="incomeMonthQuery" type="com.lp.webwork.domainDx.DX_IncomeMonthQuery" />



    <parameterMap id="queryMap" class="incomeMonthQuery">                                     
        <parameter property="year_month" jdbcType="VARCHAR" javaType="java.lang.String" />
    </parameterMap>

	<procedure id="queryDxIncomeMonth"  parameterMap="queryMap" resultClass="DX_Income">
	     <![CDATA[{call ht_income_LT_month(?)}]]>
	</procedure>		  		
 </sqlMap>

좋은 웹페이지 즐겨찾기