<?XML version="1.0" encoding="utf-8" ?>
<statements>
<select id="SelectTest">
select * from bsi_test where 1=1
<dynamics>
<dynamic prepend="and" property="test_name" value="upper(test_name)=upper('$test_name$')" />
</dynamics>
order by test_id
</select>
</statements>