HHH-11335 : Fix due to backporting (@SkipForDialect is not repeatable)

This commit is contained in:
Gail Badner 2017-01-18 00:28:16 -05:00
parent 7abf4398ee
commit 9b52b4ed70
2 changed files with 11 additions and 4 deletions

View File

@ -32,8 +32,12 @@ import static org.junit.Assert.assertTrue;
* @author Piotr Krauzowicz <p.krauzowicz@visiona.pl> * @author Piotr Krauzowicz <p.krauzowicz@visiona.pl>
* @author Gail Badner * @author Gail Badner
*/ */
@SkipForDialect(value = MySQL5Dialect.class, comment = "BLOB/TEXT column 'id' used in key specification without a key length") @SkipForDialect(
@SkipForDialect(value = Oracle9iDialect.class, comment = "ORA-02329: column of datatype LOB cannot be unique or a primary key") value = { MySQL5Dialect.class, Oracle9iDialect.class },
comment =
"MySQL5Dialect:BLOB/TEXT column 'id' used in key specification without a key length (HHH-10904); " +
"Oracle9i: ORA-02329: column of datatype LOB cannot be unique or a primary key (HHH-11335)"
)
public class ByteArrayIdTest extends BaseCoreFunctionalTestCase { public class ByteArrayIdTest extends BaseCoreFunctionalTestCase {
@Override @Override

View File

@ -33,8 +33,11 @@ import static org.junit.Assert.assertTrue;
* @author Piotr Krauzowicz <p.krauzowicz@visiona.pl> * @author Piotr Krauzowicz <p.krauzowicz@visiona.pl>
* @author Gail Badner * @author Gail Badner
*/ */
@SkipForDialect(value = MySQL5Dialect.class, comment = "BLOB/TEXT column 'id' used in key specification without a key length") @SkipForDialect(
@SkipForDialect(value = Oracle9iDialect.class, comment = "ORA-02329: column of datatype LOB cannot be unique or a primary key") value = { MySQL5Dialect.class, Oracle9iDialect.class },
comment = "MySQL5Dialect:BLOB/TEXT column 'id' used in key specification without a key length (HHH-10904); " +
"Oracle9i: ORA-02329: column of datatype LOB cannot be unique or a primary key (HHH-11335)"
)
public class PrimitiveByteArrayIdTest extends BaseCoreFunctionalTestCase { public class PrimitiveByteArrayIdTest extends BaseCoreFunctionalTestCase {
@Override @Override