diff --git a/pom.xml b/pom.xml
index 52f4edcf2..1fa720973 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,116 +2,117 @@
- 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
- spring-boot-demo-orm-jdbctemplate
-
- 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
+ spring-boot-demo-orm-jpa
+
+ 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
- 8.0.12
- 4.1.17
- 1.20
-
+
+ UTF-8
+ UTF-8
+ 1.8
+ 1.8
+ 1.8
+ 2.0.5.RELEASE
+ 8.0.12
+ 4.1.17
+ 1.20
+
-
-
-
- org.springframework.boot
- spring-boot-dependencies
- ${spring.boot.version}
- pom
- import
-
-
- mysql
- mysql-connector-java
- ${mysql.version}
-
-
-
- cn.hutool
- hutool-all
- ${hutool.version}
-
-
-
- eu.bitwalker
- UserAgentUtils
- ${user.agent.version}
-
-
-
+
+
+
+ org.springframework.boot
+ spring-boot-dependencies
+ ${spring.boot.version}
+ pom
+ import
+
+
+ mysql
+ mysql-connector-java
+ ${mysql.version}
+
+
+
+ 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-jpa/.gitignore b/spring-boot-demo-orm-jpa/.gitignore
new file mode 100644
index 000000000..82eca336e
--- /dev/null
+++ b/spring-boot-demo-orm-jpa/.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-jpa/pom.xml b/spring-boot-demo-orm-jpa/pom.xml
new file mode 100644
index 000000000..6109a66b2
--- /dev/null
+++ b/spring-boot-demo-orm-jpa/pom.xml
@@ -0,0 +1,53 @@
+
+
+ 4.0.0
+
+ spring-boot-demo-orm-jpa
+ 0.0.1-SNAPSHOT
+ jar
+
+ spring-boot-demo-orm-jpa
+ 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-data-jpa
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+
+ spring-boot-demo-orm-jpa
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+
+
diff --git a/spring-boot-demo-orm-jpa/src/main/java/com/xkcoding/springbootdemoormjpa/SpringBootDemoOrmJpaApplication.java b/spring-boot-demo-orm-jpa/src/main/java/com/xkcoding/springbootdemoormjpa/SpringBootDemoOrmJpaApplication.java
new file mode 100644
index 000000000..19cefef5b
--- /dev/null
+++ b/spring-boot-demo-orm-jpa/src/main/java/com/xkcoding/springbootdemoormjpa/SpringBootDemoOrmJpaApplication.java
@@ -0,0 +1,12 @@
+package com.xkcoding.springbootdemoormjpa;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication
+public class SpringBootDemoOrmJpaApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(SpringBootDemoOrmJpaApplication.class, args);
+ }
+}
diff --git a/spring-boot-demo-orm-jpa/src/main/resources/application.yml b/spring-boot-demo-orm-jpa/src/main/resources/application.yml
new file mode 100644
index 000000000..e69de29bb
diff --git a/spring-boot-demo-orm-jpa/src/test/java/com/xkcoding/springbootdemoormjpa/SpringBootDemoOrmJpaApplicationTests.java b/spring-boot-demo-orm-jpa/src/test/java/com/xkcoding/springbootdemoormjpa/SpringBootDemoOrmJpaApplicationTests.java
new file mode 100644
index 000000000..ddd6e9506
--- /dev/null
+++ b/spring-boot-demo-orm-jpa/src/test/java/com/xkcoding/springbootdemoormjpa/SpringBootDemoOrmJpaApplicationTests.java
@@ -0,0 +1,16 @@
+package com.xkcoding.springbootdemoormjpa;
+
+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 SpringBootDemoOrmJpaApplicationTests {
+
+ @Test
+ public void contextLoads() {
+ }
+
+}