Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IBATIS QUERY

 
Pritha Kundu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i use two include tags using dynamic sql tag .. because according to my need if a particular type is CHK then i need to include two where clause written in sql block like this for eg
<sql id="whereBAI">
HCA_BAI_TRANS A, HCA_BAI_LOCKBOX_HDR B, HCA_BAI_ADDRHDR C,
HCA_TRANS_SET D, HCA_CLM_PYMNT E, HCA_EFT F, HCA_LOCKBOX_DTLS G,
HCA_PRVDR_PYR_TPR H, HCA_COMPANY I
</sql>
then included two of these sql blocks in it as above.. but it is giving missing expression error . kindly give my right syntax

<dynamic>
<isEqual property="remittance.financial.paymentMethodCode"
compareValue="CHK">
<include refid="whereOSU" />,
<include refid="whereBAI" />
</isEqual>
</dynamic>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic