HHH-18317 disable two tests on Sybase

I get:

    Error converting characters into server's character set.
    Some character(s) could not be converted.

No matter what I do (at least with the jTDS driver).

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-06-29 15:44:44 +02:00 committed by Steve Ebersole
parent 4ce4ccb1bd
commit 944a3b9bd8
2 changed files with 8 additions and 0 deletions

View File

@ -10,8 +10,10 @@ import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import org.hibernate.annotations.Nationalized;
import org.hibernate.dialect.SybaseASEDialect;
import org.hibernate.orm.test.jpa.BaseEntityManagerFunctionalTestCase;
import org.hibernate.testing.orm.junit.SkipForDialect;
import org.junit.Test;
import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
@ -20,6 +22,8 @@ import static org.junit.Assert.assertEquals;
/**
* @author Vlad Mihalcea
*/
@SkipForDialect(dialectClass = SybaseASEDialect.class,
reason = "Error converting characters into server's character set")
public class NationalizedTest extends BaseEntityManagerFunctionalTestCase {
@Override

View File

@ -14,10 +14,12 @@ import jakarta.persistence.Table;
import org.hibernate.annotations.Nationalized;
import org.hibernate.dialect.Dialect;
import org.hibernate.dialect.NationalizationSupport;
import org.hibernate.dialect.SybaseASEDialect;
import org.hibernate.metamodel.mapping.JdbcMapping;
import org.hibernate.metamodel.mapping.internal.BasicAttributeMapping;
import org.hibernate.metamodel.spi.MappingMetamodelImplementor;
import org.hibernate.persister.entity.EntityPersister;
import org.hibernate.testing.orm.junit.SkipForDialect;
import org.hibernate.type.descriptor.jdbc.spi.JdbcTypeRegistry;
import org.hibernate.testing.orm.junit.DomainModel;
@ -37,6 +39,8 @@ import static org.hamcrest.Matchers.is;
*/
@DomainModel(annotatedClasses = StringNationalizedMappingTests.EntityOfStrings.class)
@SessionFactory
@SkipForDialect(dialectClass = SybaseASEDialect.class,
reason = "Error converting characters into server's character set")
public class StringNationalizedMappingTests {
@Test