Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

INSERT not setting value for one column

843859Apr 3 2008 — edited Apr 3 2008
I 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 1 2008
Added on Apr 3 2008
2 comments
264 views