diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/filter/OneToManyWithDynamicFilterTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/filter/OneToManyWithDynamicFilterTest.java index c79269c4f0..fcfcf9f6e8 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/filter/OneToManyWithDynamicFilterTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/filter/OneToManyWithDynamicFilterTest.java @@ -27,7 +27,7 @@ import org.hibernate.annotations.FilterDefs; import org.hibernate.annotations.Filters; import org.hibernate.annotations.ParamDef; import org.hibernate.query.Query; -import org.hibernate.type.YesNoConverter; +import org.hibernate.type.NumericBooleanConverter; import org.hibernate.testing.orm.junit.DomainModel; import org.hibernate.testing.orm.junit.SessionFactory; @@ -102,7 +102,7 @@ public class OneToManyWithDynamicFilterTest { name = "aliveOnly", parameters = { @ParamDef(name = "aliveTimestamp", type = Timestamp.class), - @ParamDef(name = "deleted", type = YesNoConverter.class) + @ParamDef(name = "deleted", type = NumericBooleanConverter.class) }, defaultCondition = "DELETION_TIMESTAMP = :aliveTimestamp and DELETED = :deleted") })