Skip to content

Commit 8edf2ee

Browse files
committed
disable test on Informix due id generation starting from 1
1 parent 04b08f0 commit 8edf2ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/bulkid/AbstractMutationStrategyGeneratedIdentityTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import jakarta.persistence.InheritanceType;
1313
import org.hibernate.cfg.AvailableSettings;
1414
import org.hibernate.cfg.Configuration;
15+
import org.hibernate.community.dialect.InformixDialect;
1516
import org.hibernate.dialect.AbstractTransactSQLDialect;
1617
import org.hibernate.dialect.MySQLDialect;
1718
import org.hibernate.dialect.OracleDialect;
@@ -71,6 +72,7 @@ public void setUp() {
7172
@Test
7273
@SkipForDialect(dialectClass = MySQLDialect.class, matchSubTypes = true, reason = "MySQL ignores a provided value for an auto_increment column if it's lower than the current sequence value")
7374
@SkipForDialect(dialectClass = AbstractTransactSQLDialect.class, matchSubTypes = true, reason = "T-SQL complains IDENTITY_INSERT is off when a value for an identity column is provided")
75+
@SkipForDialect(dialectClass = InformixDialect.class, reason = "Informix counts from 1 like a normal person")
7476
public void testInsertStatic() {
7577
doInHibernate( this::sessionFactory, session -> {
7678
session.createQuery( "insert into Engineer(id, name, employed, fellow) values (0, :name, :employed, false)" )

0 commit comments

Comments
 (0)