@@ -0,0 +1,1660 @@
+package io.quarkus.hibernate.reactive;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Aimport java.util.List;%0A%0Aimport javax.inject.Inject;%0Aimport javax.persistence.Column;%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.Table;%0A%0Aimport org.hibernate.reactive.mutiny.Mutiny;%0Aimport org.junit.jupiter.api.Test;%0Aimport org.junit.jupiter.api.extension.RegisterExtension;%0A%0Aimport io.quarkus.test.QuarkusUnitTest;%0Aimport io.smallrye.mutiny.Uni;%0A%0Apublic class SchemaUpdateTest %7B%0A%0A    @RegisterExtension%0A    static QuarkusUnitTest runner = new QuarkusUnitTest()%0A            .withApplicationRoot((jar) -%3E jar%0A                    .addClass(Hero.class))%0A            .withConfigurationResource(%22application.properties%22)%0A            .overrideConfigKey(%22quarkus.hibernate-orm.database.generation%22, %22update%22);%0A%0A    @Inject%0A    Mutiny.SessionFactory sessionFactory;%0A%0A    @Test%0A    public void integerIdentifierWithStageAPI() %7B%0A        final Uni%3CList%3CObject%3E%3E result = sessionFactory.withSession(s -%3E s%0A                .createQuery(%22from Hero h where h.name = :name%22).setParameter(%22name%22, %22Galadriel%22).getResultList());%0A        final List%3CObject%3E list = result.await().indefinitely();%0A        assertThat(list).isEmpty();%0A    %7D%0A%0A    @Entity(name = %22Hero%22)%0A    @Table(name = %22hero%22)%0A    public static class Hero %7B%0A%0A        @javax.persistence.Id%0A        @javax.persistence.GeneratedValue%0A        public java.lang.Long id;%0A%0A        @Column(unique = true)%0A        public String name;%0A%0A        public String otherName;%0A%0A        public int level;%0A%0A        public String picture;%0A%0A        @Column(columnDefinition = %22TEXT%22)%0A        public String powers;%0A%0A    %7D%0A%0A%7D%0A

Test update for schema generation with Hibernate Reactive