mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-11 21:54:50 +00:00
Skip intermittently failing test on Sybase due to the driver/db omitting trailing zero bytes in varbinary
This commit is contained in:
parent
eb82b2f390
commit
31b5902484
@ -8,6 +8,7 @@
|
||||
|
||||
import java.net.InetAddress;
|
||||
|
||||
import org.hibernate.dialect.SybaseASEDialect;
|
||||
import org.hibernate.metamodel.mapping.JdbcMapping;
|
||||
import org.hibernate.metamodel.mapping.internal.BasicAttributeMapping;
|
||||
import org.hibernate.metamodel.spi.MappingMetamodelImplementor;
|
||||
@ -20,6 +21,7 @@
|
||||
import org.hibernate.testing.orm.junit.DomainModel;
|
||||
import org.hibernate.testing.orm.junit.SessionFactory;
|
||||
import org.hibernate.testing.orm.junit.SessionFactoryScope;
|
||||
import org.hibernate.testing.orm.junit.SkipForDialect;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import jakarta.persistence.Entity;
|
||||
@ -35,6 +37,7 @@
|
||||
*/
|
||||
@DomainModel(annotatedClasses = InetAddressMappingTests.EntityWithInetAddress.class)
|
||||
@SessionFactory
|
||||
@SkipForDialect(dialectClass = SybaseASEDialect.class, reason = "Driver or DB omit trailing zero bytes of a varbinary, making this test fail intermittently")
|
||||
public class InetAddressMappingTests {
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user