We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d44ea commit a61da10Copy full SHA for a61da10
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MySQLLegacyDialect.java
@@ -240,6 +240,16 @@ protected String columnType(int sqlTypeCode) {
240
}
241
242
243
+ /**
244
+ * MySQL strips any trailing space character from a
245
+ * value stored in a column of type {@code char(n)}.
246
+ * @return {@code true}
247
+ */
248
+ @Override
249
+ public boolean stripsTrailingSpacesFromChar() {
250
+ return true;
251
+ }
252
+
253
@Override
254
public boolean useMaterializedLobWhenCapacityExceeded() {
255
// MySQL has no real concept of LOBs, so we can just use longtext/longblob with the materialized JDBC APIs
0 commit comments