Skip to content
Advertisement

Undefined filter parameter in Hibernate

I am trying to map a LocalDate to a SQL Date, but am receiving this error:

java.lang.IllegalArgumentException: Undefined filter parameter [afterDateLocal]

I can’t provide a reproducible example, but here’s the code of the ListingRepositoryImpl:

And the filters defined on the entity listing:

I am using Hibernate 5.5.7 so I expect LocalDate to work.

Advertisement

Answer

date was not defined in the database, which is why I received the error.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement