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

第 47 章 Spring Data with JdbcTemplate

目录

47.1. execute
47.2. queryForInt
47.3. queryForLong
47.4. queryForObject
47.4.1. 返回整形与字符型
47.4.2. 查询 Double 类型数据库
47.4.3. 返回日期
47.4.4. 返回结果集
47.4.5. 通过 "?" 向SQL传递参数
47.4.6. RowMapper 记录映射
47.5. queryForList
47.5.1. Iterator 用法
47.5.2. for 循环
47.5.3. forEach 用法
47.6. queryForMap
47.7. query
47.7.1. ResultSet
47.7.2. ResultSetExtractor
47.7.3. RowMapper
47.8. queryForRowSet
47.9. update
47.10. MapSqlParameterSource
47.11. 实例参考
47.11.1. 参数传递技巧

47.1. execute

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