public class ImpExEmptyUpdateTest extends ServicelayerBaseTest
defaultLanguage, jaloSession| Constructor and Description |
|---|
ImpExEmptyUpdateTest() |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void testEmptyUpdateMultiThreadedServiceLayer()
public void testEmptyUpdateMultiThreadedJalo()
public void testEmptyUpdateSingleThreadedServiceLayer()
public void testEmptyUpdateSingleThreadedJalo()
public void testOptimisticLockingStillWorks()
public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdate()
public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdateToSameValue()
public void testOptimisticLockingStillWorksTX()
throws Exception
Exceptionpublic void testOptimisticLockingStillWorksAndDetectsConcurrentUpdateTX()
public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdateToSameValueTX()
throws Exception
Exceptionprotected void withOptimisticLocking(Runnable r)
protected void inTransaction(Runnable r)
protected void inTransactionWhichFails(Runnable r)
protected CountryModel createModel()
protected void simulateConcurrentUpdateToSameValueMustFail(CountryModel model, Country jaloItem, boolean mustFailImmediately)
protected void simulateConcurrentUpdateMustFail(CountryModel model, Country jaloItem, boolean mustFailImmediately)
protected void simulateJaloWritesGetTrackedCorrectly(CountryModel model, Country jaloItem)
protected void testEmptyUpdateImpl(boolean legacyMode,
int threads)
Copyright © 2017 SAP SE. All Rights Reserved.