ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto R <roberto.r...@gmail.com>
Subject Re: Dynamic Table in parameterClass?
Date Wed, 01 Jun 2005 13:45:44 GMT
Use $tableName$



On 6/1/05, Morten Schmidt <sch@knowledgelab.sdu.dk> wrote:
> 
>  Hi 
>  I need to do something like: 
>  public class myClass 
> { 
> string tableName; 
> string myText; 
> .... 
> ..... // Sets and Gets 
> } 
>   <statements> 
> <select id="coolSelect" parameterClass="myClass" resultClass="string"> 
> select * from #tableName# 
> </select> 
> </staements> 
>  (I hope this makes sense...) 
>  I get an error because the tableName is aprsed with ' around it (I 
> think...) 
> How can I do this? 
>  /morten 
>

Mime
View raw message