Skip to content

Commit 1f9420a

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

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
@@ -212,7 +212,7 @@ public static class ContainingEntity {
212212
extraction = @ContainerExtraction(BuiltinContainerExtractors.MAP_KEY),
213213
targetType = ContainedEntity.class
214214
)
215-
private Map<Object, String> containedIndexedEmbeddedWithCast = new LinkedHashMap<>();
215+
private Map<ContainedEntity, String> containedIndexedEmbeddedWithCast = new LinkedHashMap<>();
216216

217217
@IndexedEmbedded
218218
@Embedded
@@ -288,7 +288,7 @@ public Map<ContainedEntity, String> getContainedUsedInCrossEntityDerivedProperty
288288
return containedUsedInCrossEntityDerivedProperty;
289289
}
290290

291-
public Map<Object, String> getContainedIndexedEmbeddedWithCast() {
291+
public Map<ContainedEntity, String> getContainedIndexedEmbeddedWithCast() {
292292
return containedIndexedEmbeddedWithCast;
293293
}
294294

0 commit comments

Comments
 (0)