ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nate Weiss <n...@twintechs.com>
Subject Re: Ibatis Mysql Sql error but sql runs fine
Date Mon, 12 Apr 2010 22:32:33 GMT
> I am creating a table dynamically.
>
> <statement id="createIndexTable" parameterClass="....IndexTableLoaderModel">
>           CREATE TABLE #tableName# (
>           id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,


Hi--

Try $tableName$ rather than #tableName#

See page 32 here for more:

http://svn.apache.org/repos/asf/ibatis/java/ibatis-2/trunk/ibatis-2-docs/en/iBATIS-SqlMaps-2_en.pdf

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


Mime
View raw message