I am trying to load a table using a parameter to specify the table name:
<select id="selectAllFromTable" parameterType="String"
resultType="hashmap">
select * from #{id}
</select>
But it seems iBatis does not like this. Any suggestions on what I am doing
wrong? Is there a better way to load a table when I want to specify the
table name at runtime?
Thanks in advance,
Tom
--
View this message in context:
http://old.nabble.com/table-name-as-parameter-tp27505213p27505213.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]