/generator-jhipster-jooq

JHipster blueprint for jOOQ support

Primary LanguageJavaScriptApache License 2.0Apache-2.0

generator-jhipster-jooq

JHipster blueprint, jOOQ blueprint for JHipster

NPM version Generator Integration Test

Introduction

This is a JHipster blueprint, that is meant to be used in a JHipster application.

Prerequisites

As this is a JHipster blueprint, we expect you have JHipster and its related tools already installed:

Installation

To install or update this blueprint:

npm install -g generator-jhipster-jooq

Usage

To use this blueprint, run the below command

jhipster --blueprints jooq

You can look for updated jooq blueprint specific options by running

jhipster app --blueprints jooq --help

And looking for (blueprint option: jooq) like

  --jooq-version <value>                Use jOOQ version (blueprint option: jooq)
  --jooq-gradle-plugin-version <value>  Gradle plugin version to use (blueprint option: jooq)
  --jooq-optional                       Make jOOQ repositories optional (blueprint option: jooq)

Pre-release

To use an unreleased version, install it using git.

npm install -g jhipster/generator-jhipster-jooq#main
jhipster --blueprints jooq --skip-jhipster-dependencies

Features

  • Dependencies are added automatically.

Dependencies are added to your favorite build tool (maven or gradle).

  • Repository interface.

A jOOQ repository interface is created for every (or opt-in/opt-out) entity.

  • Repository implementation.

A jOOQ repository implementation with DSLContext (jOOQ) is created for every (or opt-in/opt-out) entity.