import org.springframework.jdbc.core.JdbcTemplate;
@Autowired
private JdbcTemplate jdbcTemplate;
/**
* 执行存储过程
* (直接调用存储过程,采用springjdbc方式进行存储过程调用)
*/
public void doProcedure(){
jdbcTemplate.execute("call sp_insert_table('100001')");
}
import org.springframework.jdbc.core.JdbcTemplate;
@Autowired
private JdbcTemplate jdbcTemplate;
/**
* 执行存储过程
* (直接调用存储过程,采用springjdbc方式进行存储过程调用)
*/
public void doProcedure(){
jdbcTemplate.execute("call sp_insert_table('100001')");
}
01 背 景 播放鏈路是愛奇藝最重要的業務,鏈路穩定性極其重要,隨着愛奇藝用戶的不斷增長和熱播劇集的推廣,播放鏈路往往面臨着難以預估的用戶流量的突增,考