Fix HANA failures
This commit is contained in:
parent
7760d3f79e
commit
9e11c2e2c3
|
@ -15,6 +15,7 @@ import jakarta.persistence.Table;
|
||||||
import jakarta.persistence.Tuple;
|
import jakarta.persistence.Tuple;
|
||||||
|
|
||||||
import org.hibernate.ScrollMode;
|
import org.hibernate.ScrollMode;
|
||||||
|
import org.hibernate.dialect.HANADialect;
|
||||||
import org.hibernate.engine.spi.SessionImplementor;
|
import org.hibernate.engine.spi.SessionImplementor;
|
||||||
import org.hibernate.query.IllegalSelectQueryException;
|
import org.hibernate.query.IllegalSelectQueryException;
|
||||||
import org.hibernate.query.SelectionQuery;
|
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.DomainModel;
|
||||||
import org.hibernate.testing.orm.junit.SessionFactory;
|
import org.hibernate.testing.orm.junit.SessionFactory;
|
||||||
import org.hibernate.testing.orm.junit.SessionFactoryScope;
|
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.AfterEach;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
@ -38,6 +40,7 @@ import static org.junit.jupiter.api.Assertions.fail;
|
||||||
annotatedClasses = BasicSelectionQueryTests.DummyEntity.class
|
annotatedClasses = BasicSelectionQueryTests.DummyEntity.class
|
||||||
)
|
)
|
||||||
@SessionFactory
|
@SessionFactory
|
||||||
|
@SkipForDialect( dialectClass = HANADialect.class, reason = "HANA does not support scrollable results")
|
||||||
public class BasicSelectionQueryTests {
|
public class BasicSelectionQueryTests {
|
||||||
@Test
|
@Test
|
||||||
public void typedEntitySelectTest(SessionFactoryScope scope) {
|
public void typedEntitySelectTest(SessionFactoryScope scope) {
|
||||||
|
|
Loading…
Reference in New Issue