[hibernate-dev] Suggestions for fixing HHH-13570?
gbadner at redhat.com
Tue Aug 13 21:45:07 EDT 2019
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 <gbadner at redhat.com> wrote:
> 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 some equivalent to WITH(NOWAIT) for Sybase.
> Does anyone know if there is one?
> Should I just skip this test for Sybase?
More information about the hibernate-dev