adixchen / demo-restWS-spring-jersey-jpa2-hibernate

Visit my post for the explanation of the code

Home Page:http://www.codingpedia.org/ama/java-persistence-example-with-spring-jpa2-and-hibernate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

demo-restWS-spring-jersey-jpa2-hibernate

Prerequisites:

  • MySQL 5.5 or 5.6
  • Eclipse
  • JDK 1.7 (if you want to use Jetty 9 with the jetty-maven-plugin from project)

Install

Create db schema by executing https://github.com/amacoder/demo-restWS-spring-jersey-jpa2-hibernate/blob/master/src/main/resources/input_data/DumpRESTdemoDB.sql against the MySQL database

Run the example

  • Download/clone the project
  • Import in Eclipse
  • Run Configuration -> Goals "clean install jetty:run"

Go to blog post

Visit http://www.codingpedia.org/ama/java-persistence-example-with-spring-jpa2-and-hibernate/ for the explanation of the code

About

Visit my post for the explanation of the code

http://www.codingpedia.org/ama/java-persistence-example-with-spring-jpa2-and-hibernate/

License:MIT License


Languages

Language:Java 100.0%