Skip to content

Web App Example Using Spring MVC & Spring Data JPA spring-3.2.4.RELEASE hibernate-4.2.6.Final jpa2 spring-data 1.4.1.RELEASE lazyluke:sql execute log.

Notifications You must be signed in to change notification settings

asdtiang/springMvc-jpa-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web App Example Using Spring MVC & Spring Data JPA
spring-3.2.4.RELEASE   hibernate-4.2.6.Final  jpa2  spring-data 1.4.1.RELEASE
lazyluke:sql execute log.
see:https://github.com/making/springmvc-jpa-blank.git

for MySQL(default)

$ mvn clean test -P mysql
$ mvn clean eclipse:clean eclipse:eclipse -P mysql

for PostgreSQL

$ mvn clean test -P postgresql
$ mvn clean eclipse:clean eclipse:eclipse -P postgresql

for H2

$ mvn clean test -P h2
$ mvn clean eclipse:clean eclipse:eclipse -P h2

for HSQLDB

$ mvn clean test -P hsqldb
$ mvn clean eclipse:clean eclipse:eclipse -P hsqldb

tested only on Tomcat7 (not use JTA)

$ mvn clean tomcat7:run -P h2
access http://localhost:8080/springmvc-jpa

please alert src\main\databases\$DATABASE\META-INF\spring\database.properties
then run test 

About

Web App Example Using Spring MVC & Spring Data JPA spring-3.2.4.RELEASE hibernate-4.2.6.Final jpa2 spring-data 1.4.1.RELEASE lazyluke:sql execute log.

Resources

Stars

Watchers

Forks

Packages

No packages published