Closed laubrino closed 8 months ago
I believe the problem is with the cast
from nvarchar
to varchar
which will cause "ř" becoming "r" and therefore will not match to N'řehoř'
. Is it a bug in here or do I have e.g. collation wrong? Currently it's SQL_Latin1_General_CP1_CI_AS
I've noticed in debug mode that org.springframework.data.jpa.datatables.GlobalFilter.createPredicate(From<?, ?> from, CriteriaBuilder criteriaBuilder, String attributeName)
is being called
Hi! I could indeed reproduce the issue, let me dig into this.
This should be fixed by https://github.com/darrachequesne/spring-data-jpa-datatables/commit/f1e0ecdcc73c3983683d4ddbcfe62fdc7862a70b, included in release 6.0.3. Could you please check?
Yes, your fix works. Thank you for such quick fix! 👍
Steps to reproduce:
users
or view in SQL Server DB with columnname
of typenvarchar
Řehoř
as a nameŘehoř
with datatablesThis is how Hibernate debug log looks like: