HHH-11072 : Skip CriteriaLiteralInSelectExpressionTest#testStringLiteral2 for Oracle, Db2, SQL Server, and Sybase dialects

(cherry picked from commit b28e0974df)
This commit is contained in:
Gail Badner 2016-08-30 23:10:00 -07:00
parent aa47860936
commit 97b5d7aa47
1 changed files with 11 additions and 0 deletions

View File

@ -20,11 +20,16 @@ import javax.persistence.criteria.Root;
import java.io.Serializable;
import java.util.List;
import org.hibernate.dialect.DB2Dialect;
import org.hibernate.dialect.Oracle8iDialect;
import org.hibernate.dialect.SQLServerDialect;
import org.hibernate.dialect.SybaseDialect;
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
import org.junit.Before;
import org.junit.Test;
import org.hibernate.testing.SkipForDialect;
import org.hibernate.testing.TestForIssue;
import static org.hamcrest.CoreMatchers.is;
@ -194,6 +199,12 @@ public class CriteriaLiteralInSelectExpressionTest extends BaseEntityManagerFunc
@Test
@TestForIssue(jiraKey = "HHH-9021")
@SkipForDialect( value= {
Oracle8iDialect.class,
DB2Dialect.class,
SQLServerDialect.class,
SybaseDialect.class
})
public void testStringLiteral2() {
final EntityManager entityManager = getOrCreateEntityManager();
try {