File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
hibernate-core/src/test/java/org/hibernate/orm/test/constraint Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public class ConstraintInterpretationTest {
56
56
}
57
57
catch (ConstraintViolationException cve ) {
58
58
assertEquals ( ConstraintViolationException .ConstraintKind .NOT_NULL , cve .getKind () );
59
- if ( !(scope .getDialect () instanceof DB2Dialect ) ) {
59
+ if ( !(scope .getDialect () instanceof DB2Dialect ) && !( scope . getDialect () instanceof InformixDialect ) ) {
60
60
assertTrue ( cve .getConstraintName ().toLowerCase ().endsWith ( "id" ) );
61
61
}
62
62
}
@@ -111,7 +111,9 @@ public class ConstraintInterpretationTest {
111
111
}
112
112
catch (ConstraintViolationException cve ) {
113
113
assertEquals ( ConstraintViolationException .ConstraintKind .CHECK , cve .getKind () );
114
- assertTrue ( cve .getConstraintName ().toLowerCase ().endsWith ( "namecheck" ) );
114
+ if ( !(scope .getDialect () instanceof InformixDialect ) ) {
115
+ assertTrue ( cve .getConstraintName ().toLowerCase ().endsWith ( "namecheck" ) );
116
+ }
115
117
}
116
118
} );
117
119
}
You can’t perform that action at this time.
0 commit comments