Skip to content

Commit 2a8793d

Browse files
committed
HSEARCH-5082 WIP-remove: Upgrade to Hibernate ORM 7.0 modify a test
see hibernate/hibernate-orm#8096
1 parent e8da78e commit 2a8793d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/bytype/manytomany/ownedbycontaining/AutomaticIndexingManyToManyOwnedByContainingMapKeysBaseIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public static class ContainingEntity {
214214
extraction = @ContainerExtraction(BuiltinContainerExtractors.MAP_KEY),
215215
targetType = ContainedEntity.class
216216
)
217-
private Map<Object, String> containedIndexedEmbeddedWithCast = new LinkedHashMap<>();
217+
private Map<ContainedEntity, String> containedIndexedEmbeddedWithCast = new LinkedHashMap<>();
218218

219219
@IndexedEmbedded
220220
@Embedded
@@ -290,7 +290,7 @@ public Map<ContainedEntity, String> getContainedUsedInCrossEntityDerivedProperty
290290
return containedUsedInCrossEntityDerivedProperty;
291291
}
292292

293-
public Map<Object, String> getContainedIndexedEmbeddedWithCast() {
293+
public Map<ContainedEntity, String> getContainedIndexedEmbeddedWithCast() {
294294
return containedIndexedEmbeddedWithCast;
295295
}
296296

0 commit comments

Comments
 (0)