/BasicJPA

A basic and barebone Java example with JPA for database manipulation

Primary LanguageJava

Basic JPA

A basic and bare bone Java example with JPA for database manipulation.

Instructions

  • Open the project in IntelliJ IDEA as a gradle project.
  • Run the queries inside SQLQueries.sql to setup the database schema and table in your MySQL database.
  • Update persistence.xml with username and password to your database.
  • Run the ApplicationRoot as a Java application. You should have a new row inserted in your database.

Questions? Feel free to create an issue in this repo.