如何在XML文件中编写查询并使用Java绑定值?
GetPerson.java:
String name='java';
String query=getQuery(name); // from XML
// query must be like this:
// select * from person where name='java'
// after getting the query execute it
Query.xml:
select * from person where name=:name