Skip to content

Commit

Permalink
HSEARCH-5260 Fix and re-enable DynamicMapBaseIT#toOne
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere authored and marko-bekhta committed Oct 21, 2024
1 parent c5696ef commit 004da1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
import org.hibernate.search.util.impl.integrationtest.mapper.orm.OrmSetupHelper;
import org.hibernate.search.util.impl.test.annotation.TestForIssue;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.junit.jupiter.params.ParameterizedTest;
Expand Down Expand Up @@ -656,7 +655,6 @@ void basic_list() {
}

@Test
@Disabled("toone associations are buggy in dynamic-map mode -- see https://hibernate.atlassian.net/browse/HHH-16100")
void toOne() {
String hbmPath = "/DynamicMapBaseIT/toone.hbm.xml";
String bookTypeName = "Book";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<id name="id" type="integer"/>
<property name="author" type="string"/>
<property name="content" type="string"/>
<one-to-one name="book" entity-name="Book" />
<!-- https://docs.jboss.org/hibernate/orm/4.3/manual/en-US/html_single/#assoc-bidirectional-121 -->
<many-to-one name="book" entity-name="Book" unique="true" />
</class>
</hibernate-mapping>

0 comments on commit 004da1c

Please sign in to comment.