iundarigun / JpaAdvanced

This repo is to tessting advanced mapping entities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JPA Advanced

This repo is used for test some little advanced JPA features -

Embeddable

In this project (java), I test some embedded features, and Interface DTO object for return

Soft delete

In this project (Kotlin), I test some features about soft delete

Custom query

In this project (Kotlin), I explore some use case to do custom query, using JPA Criteria API.

Generic especification JPA

In this project (kotlin), I explore Specification to do a generic search

Attribute Converter

In this project (kotlin), I explore how to converter to/into database type into/to java/kotlin object.

Element collection

In this project (kotlin), I explore how to use @ElementCollection annotation to easy one to many relations.

Database lock

in this project(kotlin), I explore the pessimisic lock and job lock using Postgres features.

About

This repo is to tessting advanced mapping entities


Languages

Language:Kotlin 79.6%Language:Java 20.4%