Re: [hibernate-dev] Suggestions for fixing HHH-13570?

2019-08-13 Thread Gail Badner
I chatted with Andrea about this. I'll skip the test using @RequiresDialectFeature( value = DialectChecks.SupportsLockTimeouts.class ) On Tue, Aug 13, 2019 at 6:45 PM Gail Badner wrote: > An alternative is to mark the tests with: > > @RequiresDialectFeature( value = DialectChecks.SupportsLockT

Re: [hibernate-dev] Suggestions for fixing HHH-13570?

2019-08-13 Thread Gail Badner
An alternative is to mark the tests with: @RequiresDialectFeature( value = DialectChecks.SupportsLockTimeouts.class ) since SybaseASE15Dialect#supportsLockTimeouts returns false. On Tue, Aug 13, 2019 at 6:29 PM Gail Badner wrote: > LockModeTest executes the following SQL for Sybase and SQL Se

[hibernate-dev] Suggestions for fixing HHH-13570?

2019-08-13 Thread Gail Badner
LockModeTest executes the following SQL for Sybase and SQL Server: UPDATE T_LOCK_A WITH(NOWAIT) SET a_value = :value where id = :id"; This fails on Sybase, because it doesn't recognize WITH(NOWAIT). If I remove WITH(NOWAIT), the statement blocks until Junit times out. I'm having trouble finding