HHH-11335 skip ByteArrayIdTest, PrimitiveByteArrayIdTest on Oracle

(cherry picked from commit e10d87085d)
This commit is contained in:
Jan Martiska 2016-12-12 16:43:36 +01:00 committed by Gail Badner
parent 3088e1f6bf
commit 7abf4398ee
2 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,7 @@ import javax.persistence.Table;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.dialect.MySQL5Dialect;
import org.hibernate.dialect.Oracle9iDialect;
import org.hibernate.testing.SkipForDialect;
import org.hibernate.testing.TestForIssue;
@ -32,6 +33,7 @@ import static org.junit.Assert.assertTrue;
* @author Gail Badner
*/
@SkipForDialect(value = MySQL5Dialect.class, comment = "BLOB/TEXT column 'id' used in key specification without a key length")
@SkipForDialect(value = Oracle9iDialect.class, comment = "ORA-02329: column of datatype LOB cannot be unique or a primary key")
public class ByteArrayIdTest extends BaseCoreFunctionalTestCase {
@Override

View File

@ -20,6 +20,7 @@ import org.junit.Test;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.dialect.MySQL5Dialect;
import org.hibernate.dialect.Oracle9iDialect;
import org.hibernate.testing.SkipForDialect;
import org.hibernate.testing.TestForIssue;
@ -33,6 +34,7 @@ import static org.junit.Assert.assertTrue;
* @author Gail Badner
*/
@SkipForDialect(value = MySQL5Dialect.class, comment = "BLOB/TEXT column 'id' used in key specification without a key length")
@SkipForDialect(value = Oracle9iDialect.class, comment = "ORA-02329: column of datatype LOB cannot be unique or a primary key")
public class PrimitiveByteArrayIdTest extends BaseCoreFunctionalTestCase {
@Override