this still works in IB3.

Give us more of your code to figure out where the issue really is.
Show us the full sqlmap/annotation as well as the calling method.

N

On Wed, Apr 7, 2010 at 8:46 AM, Joram Barrez <joram.bar...@gmail.com> wrote:
> Hi All,
>
> I was wondering if this is possible with iBatis 3:
>
> <select id="selectTableCount" parameterType="string" resultType="long" >
>    select count(*) from ${tableName}
> </select>
>
> The problem is that the string ${tableName} is not replaced by the
> parameter, leadin to a 'select count(*) from null' at runtime.
> Am I doing something wrong here or is this feature not yet implemeted
> (as it worked on iBatis2 according to Google)?
>
>
> Regards,
>
> Joram
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
> For additional commands, e-mail: user-java-h...@ibatis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-java-h...@ibatis.apache.org

Reply via email to