INSERT not setting value for one column
843859Apr 3 2008 — edited Apr 3 2008I am facing very strange problem while using spring jdbc framework.
One SQL INSERT query is built dynamically and is inserting one row in one table. ...pretty straight. But then one specific column (datatype is int) is never getting updated. Its always null even if I am passing the value.
I printed the query on console and executed it on mySQL prompt which works just fine. No issues. But when I issue the same query from jdbcTemplate.execute(), that specific column is not reflecting any changes.
Anybody faced such issue? Any comments, pointers are welcome.