public class ImpExEmptyUpdateTest extends ServicelayerBaseTest
jaloSession| Constructor and Description |
|---|
ImpExEmptyUpdateTest() |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void testEmptyUpdateMultiThreadedServiceLayer()
public void testEmptyUpdateMultiThreadedJalo()
public void testEmptyUpdateSingleThreadedServiceLayer()
public void testEmptyUpdateSingleThreadedJalo()
public void testOptimisticLockingStillWorks()
public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdate()
public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdateToSameValue()
public void testOptimisticLockingStillWorksTX()
throws java.lang.Exception
java.lang.Exceptionpublic void testOptimisticLockingStillWorksAndDetectsConcurrentUpdateTX()
public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdateToSameValueTX()
throws java.lang.Exception
java.lang.Exceptionprotected void withOptimisticLocking(java.lang.Runnable r)
protected void inTransaction(java.lang.Runnable r)
protected void inTransactionWhichFails(java.lang.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 long changeInOtherThread(PK itemPK, java.lang.String property, java.lang.Object value)
protected void testEmptyUpdateImpl(boolean legacyMode,
int threads)
Copyright © 2018 SAP SE. All Rights Reserved.