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

第 72 章 Spring Data with JdbcTemplate

目录

72.1. execute
72.2. queryForInt
72.3. queryForLong
72.4. queryForObject
72.4.1. 返回整形与字符型
72.4.2. 查询 Double 类型数据库
72.4.3. 返回日期
72.4.4. 返回结果集
72.4.5. 通过 "?" 向SQL传递参数
72.4.6. RowMapper 记录映射
72.5. queryForList
72.5.1. Iterator 用法
72.5.2. for 循环
72.5.3. forEach 用法
72.6. queryForMap
72.7. query
72.7.1. ResultSet
72.7.2. ResultSetExtractor
72.7.3. RowMapper
72.8. queryForRowSet
72.9. update
72.10. MapSqlParameterSource
72.11. 实例参考
72.11.1. 参数传递技巧

72.1. execute

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