Skip to content

Commit

Permalink
Enable logging
Browse files Browse the repository at this point in the history
  • Loading branch information
IOhacker committed Mar 3, 2025
1 parent e1165e8 commit d4f319e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public String dateDiff(String date1, String date2) {

public String castChar(String sql) {
if (databaseTypeResolver.isMySQL()) {
return format("CAST(%s AS CHAR)", sql);
return format("CAST(%s AS CHAR) COLLATE utf8mb4_unicode_ci", sql);
} else if (databaseTypeResolver.isPostgreSQL()) {
return format("%s::CHAR", sql);
} else {
Expand Down

0 comments on commit d4f319e

Please sign in to comment.