diff --git a/pom.xml b/pom.xml index c758531..46a5c15 100644 --- a/pom.xml +++ b/pom.xml @@ -2,109 +2,110 @@ - 4.0.0 + 4.0.0 - com.xkcoding - spring-boot-demo - 0.0.1-SNAPSHOT - - spring-boot-demo-helloworld - spring-boot-demo-properties - spring-boot-demo-actuator - spring-boot-demo-admin-client - spring-boot-demo-admin-server - spring-boot-demo-logback - spring-boot-demo-log-aop - spring-boot-demo-exception-handler - spring-boot-demo-template-freemarker - spring-boot-demo-template-thymeleaf - spring-boot-demo-template-beetl - spring-boot-demo-template-enjoy - - pom + com.xkcoding + spring-boot-demo + 0.0.1-SNAPSHOT + + spring-boot-demo-helloworld + spring-boot-demo-properties + spring-boot-demo-actuator + spring-boot-demo-admin-client + spring-boot-demo-admin-server + spring-boot-demo-logback + spring-boot-demo-log-aop + spring-boot-demo-exception-handler + spring-boot-demo-template-freemarker + spring-boot-demo-template-thymeleaf + spring-boot-demo-template-beetl + spring-boot-demo-template-enjoy + spring-boot-demo-orm-jdbctemplate + + pom - spring-boot-demo - http://xkcoding.com + spring-boot-demo + http://xkcoding.com - - UTF-8 - UTF-8 - 1.8 - 1.8 - 1.8 - 2.0.5.RELEASE - 4.1.17 - 1.20 - + + UTF-8 + UTF-8 + 1.8 + 1.8 + 1.8 + 2.0.5.RELEASE + 4.1.17 + 1.20 + - - - - org.springframework.boot - spring-boot-dependencies - ${spring.boot.version} - pom - import - - - - cn.hutool - hutool-all - ${hutool.version} - - - - eu.bitwalker - UserAgentUtils - ${user.agent.version} - - - + + + + org.springframework.boot + spring-boot-dependencies + ${spring.boot.version} + pom + import + + + + cn.hutool + hutool-all + ${hutool.version} + + + + eu.bitwalker + UserAgentUtils + ${user.agent.version} + + + - - - - - maven-clean-plugin - 3.0.0 - - - maven-resources-plugin - 3.0.2 - - - maven-compiler-plugin - 3.7.0 - - - maven-surefire-plugin - 2.20.1 - - - maven-jar-plugin - 3.0.2 - - - maven-install-plugin - 2.5.2 - - - maven-deploy-plugin - 2.8.2 - - - org.springframework.boot - spring-boot-maven-plugin - ${spring.boot.version} - - - - repackage - - - - - - - + + + + + maven-clean-plugin + 3.0.0 + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.7.0 + + + maven-surefire-plugin + 2.20.1 + + + maven-jar-plugin + 3.0.2 + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + org.springframework.boot + spring-boot-maven-plugin + ${spring.boot.version} + + + + repackage + + + + + + + \ No newline at end of file diff --git a/spring-boot-demo-orm-jdbctemplate/.gitignore b/spring-boot-demo-orm-jdbctemplate/.gitignore new file mode 100644 index 0000000..82eca33 --- /dev/null +++ b/spring-boot-demo-orm-jdbctemplate/.gitignore @@ -0,0 +1,25 @@ +/target/ +!.mvn/wrapper/maven-wrapper.jar + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/build/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ \ No newline at end of file diff --git a/spring-boot-demo-orm-jdbctemplate/pom.xml b/spring-boot-demo-orm-jdbctemplate/pom.xml new file mode 100644 index 0000000..a0df7e4 --- /dev/null +++ b/spring-boot-demo-orm-jdbctemplate/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + spring-boot-demo-orm-jdbctemplate + 0.0.1-SNAPSHOT + jar + + spring-boot-demo-orm-jdbctemplate + Demo project for Spring Boot + + + com.xkcoding + spring-boot-demo + 0.0.1-SNAPSHOT + + + + UTF-8 + UTF-8 + 1.8 + + + + + org.springframework.boot + spring-boot-starter-jdbc + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + spring-boot-demo-orm-jdbctemplate + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/spring-boot-demo-orm-jdbctemplate/src/main/java/com/xkcoding/orm/jdbctemplate/SpringBootDemoOrmJdbctemplateApplication.java b/spring-boot-demo-orm-jdbctemplate/src/main/java/com/xkcoding/orm/jdbctemplate/SpringBootDemoOrmJdbctemplateApplication.java new file mode 100644 index 0000000..1a2aa24 --- /dev/null +++ b/spring-boot-demo-orm-jdbctemplate/src/main/java/com/xkcoding/orm/jdbctemplate/SpringBootDemoOrmJdbctemplateApplication.java @@ -0,0 +1,12 @@ +package com.xkcoding.orm.jdbctemplate; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringBootDemoOrmJdbctemplateApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoOrmJdbctemplateApplication.class, args); + } +} diff --git a/spring-boot-demo-orm-jdbctemplate/src/main/resources/application.yml b/spring-boot-demo-orm-jdbctemplate/src/main/resources/application.yml new file mode 100644 index 0000000..e69de29 diff --git a/spring-boot-demo-orm-jdbctemplate/src/test/java/com/xkcoding/orm/jdbctemplate/SpringBootDemoOrmJdbctemplateApplicationTests.java b/spring-boot-demo-orm-jdbctemplate/src/test/java/com/xkcoding/orm/jdbctemplate/SpringBootDemoOrmJdbctemplateApplicationTests.java new file mode 100644 index 0000000..8c02eb8 --- /dev/null +++ b/spring-boot-demo-orm-jdbctemplate/src/test/java/com/xkcoding/orm/jdbctemplate/SpringBootDemoOrmJdbctemplateApplicationTests.java @@ -0,0 +1,16 @@ +package com.xkcoding.orm.jdbctemplate; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +@RunWith(SpringRunner.class) +@SpringBootTest +public class SpringBootDemoOrmJdbctemplateApplicationTests { + + @Test + public void contextLoads() { + } + +}