Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏

第 9 章 Spring Data with JdbcTemplate

目录

9.1. execute
9.2. queryForInt
9.3. queryForLong
9.4. queryForObject
9.4.1. 返回整形与字符型
9.4.2. 查询 Double 类型数据库
9.4.3. 返回日期
9.4.4. 返回结果集
9.4.5. 通过 "?" 向SQL传递参数
9.4.6. RowMapper 记录映射
9.5. queryForList
9.5.1. Iterator 用法
9.5.2. for 循环
9.5.3. forEach 用法
9.6. queryForMap
9.7. query
9.7.1. ResultSet
9.7.2. ResultSetExtractor
9.7.3. RowMapper
9.8. queryForRowSet
9.9. update
9.10. MapSqlParameterSource
9.11. 实例参考
9.11.1. 参数传递技巧

9.1. execute

		
jdbcTemplate.execute("CREATE TABLE USER (id integer, name varchar(100))");