This repository is a fork of https://github.com/hibernate/hibernate-reactive.
The reason for the fork is that there is a bug in hibernate-core 6.2.x when used with hibernate-reactive, which is fixed in 6.3.x but the merge of hibernate-core 6.3.x in Micronaut 4 is blocked by hibernate-reactive 2.1.0. The bug originates from a change in hibernate-core 6.2, which changes Java enums to be stored as DB enums, instead of varchars.
This fork adds the least invasive workaround for the bug. This workaround happens to be in hibernate-reactive and not hibernate-core.
The forked hibernate-reactive artifacts are published by using Github Pages.
-
clone this repo
git clone [email protected]:DND-IT/hibernate-reactive.git
-
compile the project
./gradlew compileJava
-
Build a local directory structure for the maven repository that will be uploaded to Github Pages.
./gradlew -Dmaven.repo.local=`pwd`/build/mvn-repo publishToMavenLocal
-
Upload the maven repository to Github Pages.
./gradlew gitPublishPush
-
Configure the dependent projects/modules:
<repository> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> <id>dnd-it-hibernate-reactive</id> <url>https://dnd-it.github.io/hibernate-reactive/</url> </repository>
-
Add the dependency:
<dependencyManagement> <dependencies> <dependency> <groupId>org.hibernate.reactive</groupId> <artifactId>hibernate-reactive-core</artifactId> <version>CUSTOM_VERSION</version> </dependency> </dependencies> </dependencyManagement>
-