Fix HANA failures

This commit is contained in:
Andrea Boriero 2024-08-06 11:39:44 +02:00 committed by Steve Ebersole
parent 7760d3f79e
commit 9e11c2e2c3
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,7 @@ import jakarta.persistence.Table;
import jakarta.persistence.Tuple;
import org.hibernate.ScrollMode;
import org.hibernate.dialect.HANADialect;
import org.hibernate.engine.spi.SessionImplementor;
import org.hibernate.query.IllegalSelectQueryException;
import org.hibernate.query.SelectionQuery;
@ -24,6 +25,7 @@ import org.hibernate.testing.orm.domain.contacts.Contact;
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.AfterEach;
import org.junit.jupiter.api.Test;
@ -38,6 +40,7 @@ import static org.junit.jupiter.api.Assertions.fail;
annotatedClasses = BasicSelectionQueryTests.DummyEntity.class
)
@SessionFactory
@SkipForDialect( dialectClass = HANADialect.class, reason = "HANA does not support scrollable results")
public class BasicSelectionQueryTests {
@Test
public void typedEntitySelectTest(SessionFactoryScope scope) {