读书人

JdbcTemplate的各种批改方法

发布时间: 2012-06-26 10:04:13 作者: rapoo

JdbcTemplate的各种修改方法
this.jdbcTemplate.update( "insert into t_actor (first_name, last_name) values (?, ?)", "Leonor", "Watling");

this.jdbcTemplate.update(  "update t_actor set = ? where id = ?",  "Banjo", 5276L);
this.jdbcTemplate.update(  "delete from actor where id = ?",  Long.valueOf(actorId));
this.jdbcTemplate.execute("create table mytable (id integer, name varchar(100))");
this.jdbcTemplate.update(  "call SUPPORT.REFRESH_ACTORS_SUMMARY(?)",  Long.valueOf(unionId));

读书人网 >其他数据库

热点推荐