jdbctemplatetool jdbctemplatetool
Group | org.crazycake |
描述 | Spring JdbcTemplate did very convient and useful, but it also has some disadvantages or in another word âinconvenientâ. For example, you canât just pass an object and tell JdbcTemplate to turn it into a sql and save to database just like hibernate does. Alright, you may say âJdbcTemplate doesnât need you to write hbm.xml , so itâs understandableâ. But is it true that this thing is impossible to achieve? And also you know JdbcTemplate can auto turn the result of a query to a list of persistent object a.k.a PO, but when you want to do this you will meet a problem: âHow to ?â.Because you canât find any function of JdbcTemplate to pass a sql and a PO class as we expected. After you google for it, youâve been told you can create a BeanPropertyRowMapper to deal with this. |
Packaging | jar |
Size | 23.27 KB |
文件 | pom jar |
网址 | https://github.com/alexxiyang/jdbctemplatetool |
发布时间 | 2014-09-25 01:00 |
dependencies
developers
alexxiyang | Alex Yang |
licenses
The Apache Software License, Version 2.0 | http://www.apache.org/licenses/LICENSE-2.0.txt |
索引仓库
仓库 | 个数 |
Central | 592045 |