Skip to content

kh77/springboot-jooq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot JOOQ example

What is JOOQ

jOOQ has gained popularity among Java developers, especially those who work with databases, due to its ease of use, type safety, and powerful query capabilities. Some of the advantages of using jOOQ include:

Type safety: jOOQ uses Java's strong typing system to ensure that queries are type-safe and free of syntax errors.

Familiar syntax: jOOQ uses a familiar syntax that is similar to SQL, making it easy for developers to learn and use.

Code generation: jOOQ can generate Java classes and interfaces that represent database tables, columns, and records, making it easy to write code that interacts with the database.

Query building: jOOQ provides a fluent API for building complex queries that can be easily customized and modified.

Multiple database support: jOOQ supports multiple databases, including Oracle, MySQL, PostgreSQL, and SQL Server, among others.

My Image

  • Java 1.8 & Spring Boot 2.7

  • Run schema.sql script in my sql

  • mvn clean compile

  • jooq-codegen will generate dao for crud, pojos and table. But you must have schema and table are present in MySql

  • Later will add this feature

    • Eager & Lazy loading example

Curl Endpoint:

Releases

No releases published

Packages

No packages published

Languages