Awesome
Simple Examples
Simple examples for Doma.
This repository includes the following examples:
- dao-style-basic - Shows basic DAO style.
- dao-style-file - Uses files to store SQL templates.
- dao-style-text - Uses Text Blocks to store SQL templates.
- dsl-style-java - Uses the Criteria API.
- jpms-java - Uses the Java Platform Module System (JPMS).
Clone this repository
$ git clone https://github.com/domaframework/simple-examples.git
$ cd simple-examples
Java version
You need Java 17.
Build
$ ./gradlew build
Import the project into your IDE
IDEA
Import the project as a Gradle project.
Eclipse
Import the project as a Eclipse project.