HHH-11072 : Skip CriteriaLiteralInSelectExpressionTest#testStringLiteral2 for Oracle, Db2, SQL Server, and Sybase dialects
(cherry picked from commit b28e0974df
)
This commit is contained in:
parent
e25fcd2ed7
commit
5e42b04607
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue