Fixed optimistic locking test case for Sybase ASE

This commit is contained in:
Lukas Eder 2012-07-31 22:07:53 +02:00
parent ddb5ee2f91
commit b07c403ea4

View File

@ -676,6 +676,11 @@ extends BaseTest<A, AP, B, S, B2S, BS, L, X, DATE, BOOL, D, T, U, I, IPK, T658,
public void testStoreWithOptimisticLock() throws Exception {
jOOQAbstractTest.reset = false;
// No ON DELETE CASCADE constraints for Sybase ASE
if (getDialect() == SQLDialect.ASE) {
create().truncate(table("t_book_to_book_store")).execute();
}
testStoreWithOptimisticLock0(TBook(), TBook_ID(), TBook_TITLE());
// Avoid referential integrity problems for subsequent test