Skip to content

Commit ddc2b36

Browse files
committed
disable a test on MySQL
MySQL cast() doesn't do truncation, this never worked properly Signed-off-by: Gavin King <[email protected]>
1 parent 920d4bc commit ddc2b36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,7 @@ public void testCastFunctionHexToBinary(SessionFactoryScope scope) {
11311131

11321132
@Test
11331133
@SkipForDialect( dialectClass = AltibaseDialect.class, reason = "Altibase cast to char does not do truncatation")
1134+
@SkipForDialect( dialectClass = MySQLDialect.class, matchSubTypes = true, reason = "MySQL cast does not do truncatation")
11341135
public void testCastFunctionWithLength(SessionFactoryScope scope) {
11351136
scope.inTransaction(
11361137
session -> {

0 commit comments

Comments
 (0)