Skip to content

Commit

Permalink
added information about the installation of jpa generator
Browse files Browse the repository at this point in the history
  • Loading branch information
musketyr committed Aug 3, 2021
1 parent 7641ec4 commit 205f160
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/guide/src/docs/asciidoc/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,16 @@ include::{root-dir}/examples/micronaut-grails-example/src/test/groovy/micronaut/

== GORM to Micronaut Data JPA Generator

=== Installation

[source,indent=0,role="primary",subs='verbatim,attributes']
.Gradle
----
testImplementation 'com.agorapulse:micronaut-grails-jpa-generator:{project-version}'
----

=== Usage

There is an experimental generator for the JPA entities from GORM domain classes. You can use either from integration test or using Grails Console plugin

TIP: You can use `MicronautJdbcGenrator` instead of `MicronautJpaGenerator` to generate JDBC repositories instead of generic ones.
Expand Down

0 comments on commit 205f160

Please sign in to comment.