Setting up a Hibernate/JPA EntityManager

    Micronaut features built in support for configuring a Hibernate / JPA EntityManager that builds on the .

    For more information see the Configuring Hibernate section of the project.

    Using GORM for Hibernate

    Using the CLI

    If you are creating your project using the Micronaut CLI, supply the feature to include GORM, a basic connection pool configuration, and a default H2 database driver in your project: