Class TxBookService
java.lang.Object
io.micronaut.data.document.tck.services.AbstractBookService
io.micronaut.data.document.tck.services.TxBookService
-
Field Summary
Fields inherited from class io.micronaut.data.document.tck.services.AbstractBookService
BOOK_REPOSITORY_CLASS_PROPERTY, bookRepository -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddBook()protected voidprotected voidvoidbookAddedInInnerNeverPropagation(Runnable noTxCheck) voidbookAddedInInnerNoSupportedPropagation(Runnable noTxCheck) voidvoidvoidbookAddedInNeverPropagation(Runnable noTxCheck) voidbookAddedInNoSupportedPropagation(Runnable noTxCheck) voidvoidvoidvoidvoidvoidvoidcheckInTransaction(Runnable runnable) voidvoidvoidvoidprotected voidprotected voidMethods inherited from class io.micronaut.data.document.tck.services.AbstractBookService
cleanup, countBooks, countBooksTransactional, newBook
-
Constructor Details
-
TxBookService
public TxBookService(io.micronaut.context.ApplicationContext beanContext)
-
-
Method Details
-
bookAddedInReadOnlyTransaction
public void bookAddedInReadOnlyTransaction() -
readOnlyTxCallingAddingBookInAnotherTransaction
public void readOnlyTxCallingAddingBookInAnotherTransaction() -
addBook
protected void addBook() -
bookAddedInMandatoryTransaction
public void bookAddedInMandatoryTransaction() -
bookAddedInNoSupportedPropagation
-
bookAddedInNeverPropagation
-
bookAddedInInnerNeverPropagation
-
bookAddedInNoSupportedPropagationAndFailed
-
bookAddedInInnerNoSupportedPropagation
-
bookAddedInInnerNoSupportedPropagationFailedAndExceptionSuppressed
-
mandatoryTransaction
public void mandatoryTransaction() -
checkInTransaction
-
bookIsAddedInTxMethod
public void bookIsAddedInTxMethod() -
bookIsAddedInAnotherRequiresNewTx
public void bookIsAddedInAnotherRequiresNewTx() -
bookIsAddedInAnotherRequiresNewTxWhichIsFailing
public void bookIsAddedInAnotherRequiresNewTxWhichIsFailing() -
bookIsAddedAndAnotherRequiresNewTxIsFailing
public void bookIsAddedAndAnotherRequiresNewTxIsFailing() -
innerTransactionHasSuppressedException
public void innerTransactionHasSuppressedException() -
innerRequiresNewTransactionHasSuppressedException
public void innerRequiresNewTransactionHasSuppressedException() -
addBookRequiresNew
protected void addBookRequiresNew() -
addBookRequiresNewFailing
protected void addBookRequiresNewFailing() -
transactionRequiresNewFailing
protected void transactionRequiresNewFailing() -
transactionFailing
protected void transactionFailing()
-