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

第 75 章 Spring Data with JdbcTemplate

目录

75.1. execute
75.2. queryForInt
75.3. queryForLong
75.4. queryForObject
75.4.1. 返回整形与字符型
75.4.2. 查询 Double 类型数据库
75.4.3. 返回日期
75.4.4. 返回结果集
75.4.5. 通过 "?" 向SQL传递参数
75.4.6. RowMapper 记录映射
75.5. queryForList
75.5.1. Iterator 用法
75.5.2. for 循环
75.5.3. forEach 用法
75.6. queryForMap
75.7. query
75.7.1. ResultSet
75.7.2. ResultSetExtractor
75.7.3. RowMapper
75.8. queryForRowSet
75.9. update
75.10. MapSqlParameterSource
75.11. 实例参考
75.11.1. 参数传递技巧

75.1. execute

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