HHH-18176 enable an older test on Oracle

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-05-28 21:40:43 +02:00
parent 8c78c44bda
commit 4dad4746a8
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import jakarta.persistence.Entity;
import jakarta.persistence.Id; import jakarta.persistence.Id;
import jakarta.persistence.Version; import jakarta.persistence.Version;
import org.hibernate.dialect.H2Dialect; import org.hibernate.dialect.H2Dialect;
import org.hibernate.dialect.OracleDialect;
import org.hibernate.dialect.PostgreSQLDialect; import org.hibernate.dialect.PostgreSQLDialect;
import org.hibernate.dialect.SQLServerDialect; import org.hibernate.dialect.SQLServerDialect;
import org.hibernate.testing.orm.junit.DomainModel; import org.hibernate.testing.orm.junit.DomainModel;
@ -17,6 +18,7 @@ import static org.junit.Assert.assertEquals;
@SessionFactory @SessionFactory
@DomainModel(annotatedClasses = UpsertVersionedTest.Record.class) @DomainModel(annotatedClasses = UpsertVersionedTest.Record.class)
public class UpsertVersionedTest { public class UpsertVersionedTest {
@RequiresDialect(OracleDialect.class)
@RequiresDialect(H2Dialect.class) @RequiresDialect(H2Dialect.class)
@RequiresDialect(SQLServerDialect.class) @RequiresDialect(SQLServerDialect.class)
@RequiresDialect(value = PostgreSQLDialect.class, matchSubTypes = false) @RequiresDialect(value = PostgreSQLDialect.class, matchSubTypes = false)