Last Version

jdbctemplatetool 1.0.4-RELEASE

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. But isn’t it could be more easier? Based on those questions I create JdbcTemplateTool which can provide these features.

License

License

GroupId

GroupId

org.crazycake
ArtifactId

ArtifactId

jdbctemplatetool
Version

Version

1.0.4-RELEASE
Type

Type

jar
Description

Description

jdbctemplatetool
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. But isn’t it could be more easier? Based on those questions I create JdbcTemplateTool which can provide these features.
Project URL

Project URL

https://github.com/alexxiyang/jdbctemplatetool
Source Code Management

Source Code Management

https://github.com/alexxiyang/jdbctemplatetool.git

Download jdbctemplatetool 1.0.4-RELEASE


<!-- https://jarcasting.com/artifacts/org.crazycake/jdbctemplatetool/ -->
<dependency>
    <groupId>org.crazycake</groupId>
    <artifactId>jdbctemplatetool</artifactId>
    <version>1.0.4-RELEASE</version>
</dependency>
// https://jarcasting.com/artifacts/org.crazycake/jdbctemplatetool/
implementation 'org.crazycake:jdbctemplatetool:1.0.4-RELEASE'
// https://jarcasting.com/artifacts/org.crazycake/jdbctemplatetool/
implementation ("org.crazycake:jdbctemplatetool:1.0.4-RELEASE")
'org.crazycake:jdbctemplatetool:jar:1.0.4-RELEASE'
<dependency org="org.crazycake" name="jdbctemplatetool" rev="1.0.4-RELEASE">
  <artifact name="jdbctemplatetool" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.crazycake', module='jdbctemplatetool', version='1.0.4-RELEASE')
)
libraryDependencies += "org.crazycake" % "jdbctemplatetool" % "1.0.4-RELEASE"
[org.crazycake/jdbctemplatetool "1.0.4-RELEASE"]

Dependencies

compile (6)

Group / Artifact Type Version
org.springframework : spring-orm jar 3.2.2.RELEASE
javax.persistence : persistence-api jar 1.0
org.slf4j : slf4j-api jar 1.7.2
org.slf4j : slf4j-log4j12 jar 1.7.2
org.springframework : spring-core jar 3.2.2.RELEASE
org.crazycake : camel-name-utils jar 1.0.0-RELEASE

test (6)

Group / Artifact Type Version
junit : junit jar 4.11
org.crazycake : ScaffoldUnit jar 1.0.0-RELEASE
org.springframework : spring-test jar 3.2.2.RELEASE
org.springframework : spring-context jar 3.2.2.RELEASE
com.mchange : c3p0 jar 0.9.2.1
mysql : mysql-connector-java jar 5.1.19

Project Modules

There are no modules declared in this project.