call procedure.


 <parameterMap id="single-rs" class="java.util.HashMap" >   
  <parameter property="out1"  jdbcType="VARCHAR"   mode="OUT" />   
 
    
</parameterMap> 


<procedure id="callSomeFunction" parameterMap="single-rs" resultClass='test.model.INDUSTRY' >     
{ call spgetindustry(?)}    
</procedure> 



 public List callSp( ) {        
    
  
    List myList2 = queryForList("callSomeFunction");

return myList2;
}

你可能感兴趣的:(java,xml)