We are using JDBCTemplate for
JDBC connectivity. Following is our insert query
insert into MyTable (Column2,Column4,Column4) values (?,?,?)
MyTable has primary key Column1 and it is a auto-generated. We need to fetch the value of Column1 after we insert record using above query.
How to achieve this?