Installation¶
Core module¶
The core module works with any standard JPA provider (Hibernate, EclipseLink, etc.) and has no provider-specific dependencies.
Core and Hibernate extensions¶
Hibernate required
The hibernate module only works when Hibernate is your JPA provider. It will not work with EclipseLink or any other provider.
You must also declare the core module explicitly - the hibernate module does not pull it in transitively. Both dependencies are required.
<dependency>
<groupId>io.github.alfonsoristorato</groupId>
<artifactId>jpa-spec-kotlin-dsl</artifactId>
<version>1.4.0-RC3</version>
</dependency>
<dependency>
<groupId>io.github.alfonsoristorato</groupId>
<artifactId>jpa-spec-kotlin-dsl-hibernate</artifactId>
<version>1.4.0-RC3</version>
</dependency>