[HHH-10587] skip NationalizedIgnoreCaseTest on db2 and postgresql(plus) as they don't support nString

This commit is contained in:
Martin Simka 2016-03-04 12:13:31 +01:00 committed by Vlad Mihalcea
parent 78685964ec
commit 18dd88c957
1 changed files with 8 additions and 1 deletions

View File

@ -17,18 +17,25 @@ import org.hibernate.Transaction;
import org.hibernate.annotations.Nationalized;
import org.hibernate.criterion.Restrictions;
import org.hibernate.dialect.DB2Dialect;
import org.hibernate.dialect.PostgreSQL81Dialect;
import org.hibernate.testing.SkipForDialect;
import org.hibernate.testing.SkipForDialects;
import org.junit.Test;
import org.hibernate.testing.TestForIssue;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
/**
* @author Chris Cranford (aka Naros)
*/
@TestForIssue( jiraKey = "HHH-8657" )
@SkipForDialects({
@SkipForDialect(value = DB2Dialect.class, comment = "DB2 jdbc driver doesn't support setNString"),
@SkipForDialect(value = PostgreSQL81Dialect.class, comment = "PostgreSQL jdbc driver doesn't support setNString"),
})
public class NationalizedIgnoreCaseTest extends BaseCoreFunctionalTestCase {
@Override