insert into ${tableName} ( ${key} ) select #{value} from dual BEGIN update ${tableName} ${key} = #{value} where oid = #{columnMap.oid} ; END;