Skip to content

Commit

Permalink
Merge pull request #13674 from Sanne/ReactivePersisters
Browse files Browse the repository at this point in the history
Missing reflection registration for Hibernate Reactive: OneToMany persisters
  • Loading branch information
FroMage authored Dec 3, 2020
2 parents b092340 + a43a16d commit 4d3d2d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ void registerBeans(BuildProducer<AdditionalBeanBuildItem> additionalBeans, Combi
@BuildStep
void reflections(BuildProducer<ReflectiveClassBuildItem> reflectiveClass) {
String[] classes = {
"org.hibernate.reactive.persister.entity.impl.ReactiveSingleTableEntityPersister"
"org.hibernate.reactive.persister.entity.impl.ReactiveSingleTableEntityPersister",
"org.hibernate.reactive.persister.collection.impl.ReactiveOneToManyPersister"
};
reflectiveClass.produce(new ReflectiveClassBuildItem(false, false, classes));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ quarkus.datasource.password=hibernate_orm_test
quarkus.datasource.reactive.url=${postgres.reactive.url}

quarkus.hibernate-orm.database.generation=drop-and-create
quarkus.hibernate-orm.log.sql=true

0 comments on commit 4d3d2d3

Please sign in to comment.