mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
Change @ParamDef#type
associated with a @FilterDef
from String
to Class
in keeping with the general move away from String-based type usage in annotations
This commit is contained in:
parent
7f2194e068
commit
510ce500f6
@ -102,7 +102,7 @@ void testForIssue(SessionFactoryScope scope) {
|
||||
name = "aliveOnly",
|
||||
parameters = {
|
||||
@ParamDef(name = "aliveTimestamp", type = Timestamp.class),
|
||||
@ParamDef(name = "deleted", type = NumericBooleanConverter.class)
|
||||
@ParamDef(name = "deleted", type = Boolean.class)
|
||||
},
|
||||
defaultCondition = "DELETION_TIMESTAMP = :aliveTimestamp and DELETED = :deleted")
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user