disable a test on Oracle, because it fails on new JDBC drivers

cc @beikov
This commit is contained in:
Gavin 2023-05-22 11:56:39 +02:00 committed by Sanne Grinovero
parent 201c08a8b7
commit e79cbe8669
1 changed files with 4 additions and 1 deletions

View File

@ -12,12 +12,14 @@ import java.time.Instant;
import java.time.OffsetDateTime;
import java.util.TimeZone;
import org.hibernate.dialect.OracleDialect;
import org.hibernate.testing.jdbc.SharedDriverManagerConnectionProviderImpl;
import org.hibernate.testing.orm.junit.DomainModel;
import org.hibernate.testing.orm.junit.JiraKey;
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.Disabled;
import org.junit.jupiter.api.Test;
@ -85,7 +87,8 @@ public class InstantTimestampWithoutTimezoneTest {
}
}
@Test
@Test @SkipForDialect(dialectClass = OracleDialect.class,
reason = "on latest oracle JDBC drivers this fails (doesn't like us reading a timestamp to an OffsetDateTime)")
public void testNativeQuery(SessionFactoryScope scope) {
TimeZone timeZone = TimeZone.getDefault();
try {