File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
hibernate-core/src/test/java/org/hibernate/orm/test Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1111import org .hibernate .ScrollableResults ;
1212import org .hibernate .Session ;
1313import org .hibernate .cfg .AvailableSettings ;
14+ import org .hibernate .community .dialect .InformixDialect ;
1415import org .hibernate .dialect .CockroachDialect ;
1516import org .hibernate .dialect .SQLServerDialect ;
1617import org .hibernate .engine .spi .SessionFactoryImplementor ;
@@ -279,7 +280,10 @@ public void testConcurrentCachedQueries(SessionFactoryScope scope) throws Except
279280 feature = DialectFeatureChecks .DoesReadCommittedCauseWritersToBlockReadersCheck .class , reverse = true ,
280281 comment = "write locks block readers"
281282 )
282- @ SkipForDialect (dialectClass = CockroachDialect .class , reason = "Cockroach uses SERIALIZABLE by default and seems to fail reading a row that is exclusively locked by a different TX" )
283+ @ SkipForDialect (dialectClass = CockroachDialect .class ,
284+ reason = "Cockroach uses SERIALIZABLE by default and seems to fail reading a row that is exclusively locked by a different TX" )
285+ @ SkipForDialect (dialectClass = InformixDialect .class ,
286+ reason = "Informix simply fails to obtain the lock with 'Could not do a physical-order read to fetch next row'" )
283287 public void testConcurrentCachedDirtyQueries (SessionFactoryScope scope ) throws Exception {
284288 final TransactionManager transactionManager = TestingJtaPlatformImpl .INSTANCE .getTransactionManager ();
285289 try {
Original file line number Diff line number Diff line change 2525import java .util .TimeZone ;
2626import java .util .UUID ;
2727
28+ import org .hibernate .community .dialect .InformixDialect ;
2829import org .hibernate .query .criteria .HibernateCriteriaBuilder ;
2930import org .hibernate .query .criteria .JpaCriteriaQuery ;
3031
3536import org .hibernate .testing .orm .junit .ServiceRegistry ;
3637import org .hibernate .testing .orm .junit .SessionFactory ;
3738import org .hibernate .testing .orm .junit .SessionFactoryScope ;
39+ import org .hibernate .testing .orm .junit .SkipForDialect ;
3840import org .junit .jupiter .params .ParameterizedTest ;
3941import org .junit .jupiter .params .provider .MethodSource ;
4042
4143@ ServiceRegistry
4244@ DomainModel ( standardModels = StandardDomainModel .GAMBIT )
4345@ SessionFactory
4446@ JiraKey (value = "HHH-15590" )
47+ @ SkipForDialect (dialectClass = InformixDialect .class ,
48+ reason = "Informix does not support binary literals" )
4549public class LiteralRenderingTest {
4650
4751 public static List <Object > literalValues () throws Exception {
You can’t perform that action at this time.
0 commit comments