강의

멘토링

로드맵

BEST
Programming

/

Database

jOOQ in action! Type Safe SQL with Java

Experience the power of Type Safe SQL with jOOQ!

(4.9) 18 reviews

353 learners

  • sdm32851630
실습 중심
db설계
쿼리
Java
jooq
SQL
Spring Boot
dsl

Reviews from Early Learners

What you will learn!

  • You can learn jOOQ from the basics to practical use all at once.

  • You can write SQL only with Java code, no XML configuration, no strings.

  • All SQL functions that cannot be done with ORM can be used in Java code.

SQL is not inconvenient.

It's just that writing SQL as a string is inconvenient.


Practical jOOQ! Type-Safe SQL with Java


Mastering databases and SQL is essential for every backend developer. However, traditional string-based SQL writing is repetitive and error-prone.

jOOQ is a powerful tool that solves these problems, allowing you to write SQL in an intuitive way while ensuring type safety. This course will teach you step-by-step how to use jOOQ , from basic concepts to advanced applications. (jOOQ is pronounced "juke.")


This course covers only the open source version of jOOQ.

1706621217839

2024.01 Lazy Developer Conference - jOOQ, Another Way to Write SQL Speaker Participation

JPA doesn't solve everything.

To be truly skilled, you must understand and be able to use SQL.

Modern Java backends often use a combination of Spring Boot and JPA.
However, Hibernate , the implementation of JPA, only covers 95% of SQL.

For this reason, SQL is essential for developing stable services. jOOQ makes SQL type-safe and easy to use .

Gavin King, creator of Hibernate - "You don't have to Hibernate everything."

Writing SQL in Java code, not strings

jOOQ's dialect-based SQL generation

jOOQ generates SQL from Java code (not JPQL).

Complex and dynamic queries can be easily resolved, and once written, code can be used on other databases without modification. Furthermore, programmatic SQL control provides various features, such as preventing update and delete statements without where conditions and detecting slow queries.

Learn about these things

1⃣ Writing SQL using only Java, without XML or strings

Instead of writing SQL in error-prone XML or strings, we write it in Java code. This eliminates human error at its source. We've all experienced server failures due to SQL typos, right?

Goodbye complex XML~

2⃣ SQL Builder and more convenient features

jOOQ goes beyond just creating SQL from Java code with SQL Builder. It also includes various features like ActiveRecord and Generated DAO to simplify SQL creation.

jOOQ's ActiveRecord pattern

3⃣ Using jOOQ in a Spring Boot Environment

Let's learn how jOOQ works in the Spring Framework environment, which is frequently used in the field.

jOOQ in a Spring Boot environment

Things to note before taking the course

Practice environment

  • Operating System and Version (OS): All OS are supported, including Windows, MacOS, and Linux.

  • Tools used: Intellij, Docker for Desktop,


Learning Materials

  • Learning materials provided in PPT and GitHub source code formats

  • Amount and Capacity: Learning materials provided for each section

Player Knowledge and Precautions

  • This course covers how to use jOOQ in a Spring Boot environment.

  • Since this course uses MySQL and Docker, some understanding of both is required.


  • This lecture frequently mentions adjacent technologies like MyBatis, JPA, and QueryDSL. While this won't interfere with your understanding, it may feel unfamiliar, so we appreciate your understanding.


Recommended for
these people

Who is this course right for?

  • People who were worried about not being able to avoid native SQL while using JPA

  • For those who want to write SQL in a TypeSafe manner like QueryDSL

  • Anyone who wants to improve MyBatis' XML configuration and string-based query writing method

Need to know before starting?

  • Java

  • Spring Boot

  • Docker

  • RDBMS (MySQL)

Hello
This is

353

Learners

18

Reviews

28

Answers

4.9

Rating

1

Course

안녕하세요. 지식공유자 설동민입니다.

현재 카카오 백엔드 개발자로 근무하고 있으며, 복잡한 문제를 명쾌하게 풀어내는걸 좋아합니다.

경영학부 비전공자 출신으로, 다양한 OpenSource들에 대한 분석과 여러 기술적인 경험들을 통해
웹의 전반적인 기술을 학습하였습니다. OOP와 SQL, 이 어울리지 않는 두가지를 제일 좋아합니다.

Github: https://github.com/SightStudio


이력

  • 2021. 12 ~ 현재 : 카카오 백엔드 개발

  • 2020.12 ~ 2021.12: 전) 이스트소프트 백엔드 개발

 

Curriculum

All

30 lectures ∙ (4hr 53min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

18 reviews

4.9

18 reviews

  • 김우재님의 프로필 이미지
    김우재

    Reviews 6

    Average Rating 5.0

    5

    10% enrolled

    이전 회사에서 Jooq 를 사용했을 때의 경험은 매우 좋았습니다. JPA 는 매우 편리하고 강력하지만, 한편으로 지원하지 않는 기능들을 마주했을 때는 아쉬웠습니다. Jooq 의 경우 SQL 기능을 전부 지원하고 J클래스를 통해서 타입 세이프하게 만들 수 있다는 점이 매우 좋았습니다. 레퍼런스가 없어서 많이 아쉬웠는데 이렇게 세심하게 강의 만들어주셔서 개인적으로 너무 좋네요

    • 창랑님의 프로필 이미지
      창랑

      Reviews 7

      Average Rating 4.9

      5

      90% enrolled

      SQL를 다룰 때 MyBatis를 주력으로 사용하는 6년차 SI 개발자입니다. MyBatis를 오랫동안 사용하다 보니 필연적으로 발생하는 휴먼에러를 탈피해보고 싶어서, 처음에는 JPA 를 공부했었는데 DDL 을 직접 작성하지 않고 엔티티로 테이블을 관리하는 방식과 C,U,D 를 작성할 때는 JPA 의 멋짐을 느끼다가.. SELECT 문 작성할 때에 불리한 점과 묘하게 정이 안가는 JPQL(이거 쓰면 휴먼에러는 그대로 안고 가야하는 위험도...)떄문에 학습의욕이 조금 떨어지고 있는 와중에 이 강의를 알게 되었습니다. (QueryDSL도 찍먹해봤는데 오랫동안 관리안되고 있는거보고 이거 괜찮나... 싶었습니다 ㅠㅠ) jOOQ 수강평 작성하는데 서론이 길었습니다만, 결론적으로 이 강의는 아주 마음에 드는 강의였습니다. SQL작성을 좋아하는 저에게 휴먼에러는 줄이고 SQL과 유사한 방식으로 쿼리를 만들어주는 JOOQ는 저에게 딱 알맞은 기술이라고 생각했습니다. 좋은 강의 감사합니다.

      • cykkkk님의 프로필 이미지
        cykkkk

        Reviews 5

        Average Rating 5.0

        5

        100% enrolled

        잘 모르는 기술이었는데 생각보다 도입 고려를 해볼만한 기술 스택인거 같아서 놀랐고, 라이센스나 queryDsl, JPA 와도 비교해주는 부분이 있어서 개인적으로 재밌게 들었습니다.

        • 버터플라잉교육용님의 프로필 이미지
          버터플라잉교육용

          Reviews 1

          Average Rating 5.0

          5

          100% enrolled

          정말 좋은 강의입니다. jooq가 신기술인줄 알았는데 10년이 넘었군요. 이런 좋은 기술이 묻힐 뻔 했는데 한국에 소개해주셔서 감사합니다. 그 외 기타 기능들 너무 좋아요.

          • 이찬형님의 프로필 이미지
            이찬형

            Reviews 7

            Average Rating 5.0

            5

            100% enrolled

            R2DBC 사용하는 환경에서 jOOQ을 반영해보기 위해서 찾아보다가 이런 좋은 강의를 찾게 되어서 행운이었습니다. jOOQ에 대한 기초 지식을 다루기에 매우 좋은 내용들이 많아서 이해하는데 큰 도움을 받아서, 아직은 환경에 맞게 설정을 이것저것 만져보고, R2DBC에 맞게 코드를 작성하는 방법도 찾아보고 있지만, 강의에서 배운 내용을 뒷받침해서 생각보다 수월하게 한 계단씩 나아가고 있습니다. 이런 좋은 강의를 만들어주셔서 감사합니다.

            $42.90

            Similar courses

            Explore other courses in the same field!