Skip to content

Example of executing database operation without wiring SQL statements using our JK-Framework Data API, based on an JPA, Hibernate.

Notifications You must be signed in to change notification settings

kiswanij/jframework-data-jpa-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JFramework Data JPA Example

Last updated: Aug 20, 2025

This repository contains a JFramework-Data example which uses JPA Object Relational Mapping (ORM) to persist and retrieve data from locally created H2 database.

Prerequisites:

  • JDK 17+ Installed

Usage:

  1. Clone the repository
  2. Import as Java project into your favorite IDE (we use SpringToolSuite and Eclipse-JavaEE)
  3. Run App class.

Project Main Contents

The repository contains the following main contents:

  1. Maven project with pom.xml

📄Note: If you are using Eclipse, be sure to refresh your project (select your project→ right click→ Maven→ Update Project)

  1. Config file which contains the database config.

:page_facing: To change the database engine, enable the proper config in the config file.

  1. Model class which is the JPA entity that maps to a database table
  2. App class

About

Example of executing database operation without wiring SQL statements using our JK-Framework Data API, based on an JPA, Hibernate.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages