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

第 50 章 Spring Data with JdbcTemplate

目录

50.1. execute
50.2. queryForInt
50.3. queryForLong
50.4. queryForObject
50.4.1. 返回整形与字符型
50.4.2. 查询 Double 类型数据库
50.4.3. 返回日期
50.4.4. 返回结果集
50.4.5. 通过 "?" 向SQL传递参数
50.4.6. RowMapper 记录映射
50.5. queryForList
50.5.1. Iterator 用法
50.5.2. for 循环
50.5.3. forEach 用法
50.6. queryForMap
50.7. query
50.7.1. ResultSet
50.7.2. ResultSetExtractor
50.7.3. RowMapper
50.8. queryForRowSet
50.9. update
50.10. MapSqlParameterSource
50.11. 实例参考
50.11.1. 参数传递技巧

50.1. execute

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