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

第 34 章 Spring Data with JdbcTemplate

目录

34.1. execute
34.2. queryForInt
34.3. queryForLong
34.4. queryForObject
34.4.1. 返回整形与字符型
34.4.2. 查询 Double 类型数据库
34.4.3. 返回日期
34.4.4. 返回结果集
34.4.5. 通过 "?" 向SQL传递参数
34.4.6. RowMapper 记录映射
34.5. queryForList
34.5.1. Iterator 用法
34.5.2. for 循环
34.5.3. forEach 用法
34.6. queryForMap
34.7. query
34.7.1. ResultSet
34.7.2. ResultSetExtractor
34.7.3. RowMapper
34.8. queryForRowSet
34.9. update
34.10. MapSqlParameterSource
34.11. 实例参考
34.11.1. 参数传递技巧

34.1. execute

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