velocity-scripting icon indicating copy to clipboard operation
velocity-scripting copied to clipboard

String substitution not working (${something})

Open adrianboimvaser opened this issue 4 years ago • 0 comments

Trying to use string substitution like described in https://mybatis.org/mybatis-3/sqlmap-xml.html#String_Substitution

UPDATE ${tableName} SET ...

I get the following error:

java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '{tableName}

Is it supported in mybatis-velocity?

adrianboimvaser avatar May 14 '21 22:05 adrianboimvaser