Micronaut Hibernate Validator Configuration

Provides integration between Micronaut and Hibernate Validator

Version: 1.2.0

1 Introduction

The micronaut-hibernate-validator module includes support for validating Micronaut beans with Hibernate Validator.

A javax.validation.ValidatorFactory bean will be created using Hibernate Validator that is capable of validating javax.validation annotations on Micronaut beans.

See the section on Bean Validation in the documentation for how to declare bean validation rules.

2 Configuring Hibernate Validator

compile 'io.micronaut.configuration:micronaut-hibernate-validator:1.2.0'
<dependency>
    <groupId>io.micronaut.configuration</groupId>
    <artifactId>micronaut-hibernate-validator</artifactId>
    <version>1.2.0</version>
</dependency>